Search Results - Proton BASIC community web site


Search:

Type: Posts; User: GAMBOA

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    14
    Views
    354

    Re: RTC accuracy and settings

    SimonJA,
    Abracom is a good brand and ± 20ppm is good data.
    I have used 22pF capacitors. You can try other capacitor values to see if the drift changes.
    The radio doesn't seem very likely to cause...
  2. Replies
    14
    Views
    354

    Re: RTC accuracy and settings

    SimonJA,

    I use the PIC24JF64GA306 with RTC and 32768 kHz external crystal(EPSON TOYOCOM, PN:MC306-32.768KHZ) and the experience I have is very good. One drift less than 10 seconds in 6 months with...
  3. Replies
    26
    Views
    614

    Re: Coronavirus Alert!!

    Charlie stay calm. The virus itself is not very deadly for healthy people, but it is more harmful for older people with other pathologies. My brother-in-law (55 years old) is infected and has had...
  4. Replies
    1
    Views
    78

    Re: Help for compile

    Thanks Joseph for your help

    Regards,
    Gamboa
  5. Replies
    26
    Views
    614

    Coronavirus Alert!!

    Friends of the forum enter their houses and do not leave. Just go out to buy groceries and nothing else. This pandemic is very serious. I have seen how some governments are reluctant to confine...
  6. Replies
    1
    Views
    78

    Help for compile

    Hi list,

    I need to compile a file to test the operation of a new board that I have designed for a client. My security key has stopped working and I cannot compile. It's been working since 2004. I...
  7. Replies
    11
    Views
    463

    Re: Merry Christmas everyone

    Merry Christmas from Spain. Today is a sunny day here in the center of the peninsula. I wish you a joyful day in the company of your families.

    Regards,
    Gamboa
  8. Replies
    19
    Views
    970

    Re: Microcap now free

    The Land Down Under, where women glow and men plunder.

    https://www.youtube.com/watch?v=IzsZ9KC8k4w
    Regards,
    Gamboa
  9. Replies
    16
    Views
    1,230

    Re: It's Christmas, how about a bit of giving?

    Hi list,

    Les is a great. Not only because of his work with the compiler, he is a great person.

    Gamboa
  10. Replies
    3
    Views
    667

    Re: PIC24FJ64GA306 Anomaly in USART 4

    Hi,

    Sorry for delay.

    @Les,
    Thank you for your time and interest.

    @Jimbird
    Thanks you for the example. I will study the code to see if I find the fault.
  11. Thread: RS 485 isolator

    by GAMBOA
    Replies
    8
    Views
    606

    Re: RS 485 isolator

    Hi Shantanu,
    The solution that I implemented for some of my devices.

    Regards,
    Gamboa
  12. Replies
    19
    Views
    1,759

    Re: PPS for 8bit Microchip Micocontrollers

    Hi,

    It would be a very useful tool. Thank you.

    Regards,
    Gamboa
  13. Replies
    3
    Views
    667

    PIC24FJ64GA306 Anomaly in USART 4

    Hi list,

    OS: W10 Pro
    Proton24: 1.0.6.4
    Micro: Pic24FJ64GA306

    I have a development with a PIC24FJ64GA306 microcontroller in which I have used 3 serial ports (USART1, USART2 and USART3). All...
  14. Thread: Variable

    by GAMBOA
    Replies
    5
    Views
    2,698

    Re: Variable

    Hi Twakkie,

    For example:

    Dim MyVar as Byte

    MyVar.0 = 0
    MyVar.1 = 1
    .......
  15. Re: P24 - Hbus2 command/equivalent? (for 2nd I2C module)

    Ian,

    I have been checking the datasheet and you are right the I2C devices are not addressed. I have also read the P24 manual and it does not refer to Hbusin2, etc. So at this time the only...
  16. Re: P24 - Hbus2 command/equivalent? (for 2nd I2C module)

    Hello Ian,

    I used a microcontroller similar to yours PIC24FJ64GA306. But I have never used I2C on it. Use SPI with the Les library for an SPI memory. In any case, make sure you have directed the...
  17. Replies
    9
    Views
    381

    Re: Reset from the software

    Hi,

    This is a piece of program where I use reset for an 18F25K22


    ELSEIF Dato1 = 48 THEN 'Si hay que hacer un reset, se añade para hacer funcionar el bootloader
    IF...
  18. Replies
    20
    Views
    1,324

    Re: Playing with Procedures

    Hi,
    Time is finite, work hours are finite, resources are finite. So it is necessary to prioritize what we want. I don't want to press Les in one way or another. I trust Les's good judgment and I...
  19. Re: Individual power supply smoothing or a dedicated board

    Hi Tim,

    I think a DCDC isolated converter can be useful for your application.

    It is usually more expensive but also more effective.
    Regards
    Gamboa
    3740
  20. Re: johngb has just uploaded Proton Studio Update 1.0.2.10!

    Frizie,
    I don't have the bug with Keyword AS:

    DIM Tempo AS BYTE 'Variable temporal


    Regards,
    Gamboa
  21. Replies
    7
    Views
    297

    Re: Using a PLC HMI to communicate with a pic

    Geoff_c,
    Other option: https://nextion.tech/

    Regards,
    Gamboa
  22. Replies
    21
    Views
    6,048

    Re: 3x4 alpha numeric keypad

    Hi Amod,

    Example in C:\Users\USUARIO\PDS\Samples
    Keypad.bas

    Regards,
    Gamboa
  23. Re: ASSEMBLER ERRORS. Symbol not previously defined (PP_EEPGD)

    Thank you Les.
    Regards,
    Gamboa
  24. ASSEMBLER ERRORS. Symbol not previously defined (PP_EEPGD)

    Hi list,

    SO: W10, 64 bits
    Proton: 3.7.2.3 (procedures activate)
    Microcontroller: PIC18F24J11

    I am compiling a program that works perfectly. The last time I compiled it was with version...
  25. Replies
    6
    Views
    188

    Re: Happy Birthday Rick

    Then they were times of a great North America.

    Today I see it in decline, also to Europe and not only for its politicians but for the people, for the values of the people. Drugs and money are...
  26. Replies
    9
    Views
    258

    Re: Using procedures, best practices

    Hi list,
    My problem has nothing to do with the operation of the procedures. I've really fixed the problem with a few more delays. I do not know why.
    The procedures work perfectly. I have used...
  27. Replies
    9
    Views
    258

    Re: Using procedures, best practices

    Thank you Tim.

    You're right about fail save. As for the EEPROM always has a 0. It does not vary but I will check this point just in case.
    I had forgotten but the device is a PIC18F25K22.

    With...
  28. Replies
    9
    Views
    258

    Using procedures, best practices

    Hi list,

    Yesterday I had a little fight with Proton. It had a program structure that from within a procedure called another procedure. And it did not work. I do not know if this is valid or not.
    ...
  29. Replies
    5
    Views
    162

    Re: Multiple serial communicators

    I use Terminal Hercules
    https://www.hw-group.com/software/hercules-setup-utility
    Only exe, without installation.
    Regards,
    Gamboa
  30. Replies
    18
    Views
    314

    Re: procedures How do we buy the upgrade?

    George,

    +1

    Regards,
    Gamboa
  31. Replies
    71
    Views
    10,354

    Re: Temperature Controller Problem

    Les,

    I think you should write the book (in PDF for example) and put it on sale. I'll buy you a copy. I would also translate the book into Spanish so that you have more potential clients.
    Regards,...
  32. Replies
    4
    Views
    127

    Re: Android file access from PC

    John,
    It works perfectly with wifi through the router.
    Regards,
    Gamboa
  33. Replies
    4
    Views
    144

    Re: Upgrade procedure validation installer

    Frizie,

    I have tried to compile with that version a program with the Pic18F24J11 and with procedures and everything works properly on my PC.

    Regards,
    Gamboa
  34. Replies
    5
    Views
    211

    Re: Include Files Not showing In Code Explorer

    Chris,

    For work around you can put the .INC file in the same directory as the .BAS
    3710

    Regards,
    Gamboa
  35. Re: Help with ppi and def files for 24FJ256GA704

    Hi,
    At this point I do not know what else can be done
    Regards,
    Gamboa
  36. Re: Help with ppi and def files for 24FJ256GA704

    Hi Simon,

    I have compiled your program and it gives me the same error. I have looked at the .ASM file and found that the following is defined:



    But then below something that is not defined...
  37. Re: Help with ppi and def files for 24FJ256GA704

    Hi,

    It's true Simon.


    Check the register value: I2CxCONL


    But this value does not think that it alters the result of the assembly process
  38. Re: Help with ppi and def files for 24FJ256GA704

    Hi,

    I think it would be necessary to connect the I2C device to the pins interspersed with something like:

    PPS_Input(cIn_Pin_RP8, cIn_Fn_SCK1IN)' SCK1 Clock Input (SCK1IN) Connected to RP8...
  39. Thread: While ... Wend

    by GAMBOA
    Replies
    6
    Views
    79

    Re: While ... Wend

    Hi,
    I'm not an expert in programming (or anything).

    But I see implicitly a problem in the expression WHILE byteVariable <signWordVariable. What is done in this expression is to compare two...
  40. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    I am 100% in agreement with Stephen.

    Regards,
    Gamboa
  41. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    SimonJA,
    It's good news.

    Ioannis,
    You can work with MPLAB IPE. It is only an application to program Microchip chips.
    Regards,
    Gamboa
  42. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    SimonJA,

    Attached DEF for PIC24FJ256GA705



    I am not an expert in programming so I do not know if there may be errors in this file. I have not physically tested the ports assigned as the...
  43. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    SimonJA,

    I have the board already and I have managed to start to handle the LEDs and switches S1 and S2 at 8MHz clock. I have not tried anything else.
    I have had problems with the configuration...
  44. Re: johngb has just uploaded Proton Studio 1.0.2.2!

    John,
    I have generated a new .DEF file but the PPS tool only shows up to RP18 in the PPS Pins column. Could you tell me where the tool reads the PPS pins to see if I find the fault?

    Regards,...
  45. Re: johngb has just uploaded Proton Studio 1.0.2.2!

    Thank you John,

    I see that the mapping is empty. Is there any place where I can extract that information or do I have to do this manually?

    Regards,
    Gamboa
  46. Re: johngb has just uploaded Proton Studio 1.0.2.2!

    John,

    Thank you John.

    I am testing a PIC24FJ256GA705 microcontroller and the Peripheral Pin Select tool from Proton Studio 1.0.2.2 does not work well with this micro. I attached a picture. I...
  47. Replies
    2
    Views
    119

    Re: Wifi proyect, better choice

    Thank you Les.

    I think it will be the best choice. I will choose a PIC under Proton connected to an ESP-WROOM-02U board. I need a UFL connector for an external antenna.

    ESP-WROOM-02U...
  48. Replies
    2
    Views
    119

    Wifi proyect, better choice

    Hi list,

    I have to make a new PCB with a WIFI application. The application is simple, you just have to do three things: activate a relay, read a switch and measure the voltage of the battery....
  49. Re: Writing parameters in the Flash memory of a PIC24

    Hi,
    Thank you Geoge. I found in the Wiki an example of Ken:

    http://www.protonbasic.co.uk/content.php/4631-PIC24-Flash-Memory-Write-Virtual-EEprom

    I have to study it carefully, because there...
  50. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    Hi,

    Before changing anything, the first thing I will do is buy a microchip evaluation board DM240016 (PIC24FJ256GA7 CURIOSITY) to test to see if I can tame the beast. Later we will see what...
  51. Writing parameters in the Flash memory of a PIC24

    Hi,
    I know that program flash memory can be used to store program parameters and can then be read during program execution. On Pic18 devices with EEPROM I use this memory for that purpose and I can...
  52. Re: PIC24FJ256GA705 Family Devices Are They Fully Supported in Proton 24 ?

    Craig,
    I'm considering using that chip in applications that I have with the chip PIC18F24J11 (1.85 € / 100pieces) and PIC18F25K22 (1.80 € / 100pieces). The chip PIC24FJ256GA705 (1.50 € / 100pieces)...
  53. Replies
    21
    Views
    263

    Re: 16 leds to drive, how?

    I have used this AS1110BSSU to excite led of a display.

    Regards,
    Gamboa
  54. Replies
    15
    Views
    270

    Re: Changing EDA software

    Hi Tim,

    I use Altium. It is an expensive tool, but it has a low cost called Circuit Studio.
    https://www.element14.com/community/docs/DOC-73745
    Regards,
    Gamboa
  55. View Post

    Les,

    If you are thinking about expanding proton to other microprocessors I would vote for ARM. AVR would be fine but I as a user if I have an 8 bit or 16 bit PIC in my designs I am not going to...
  56. Replies
    20
    Views
    364

    Re: Use of the Proton 3.7.0.3 version

    Hi,
    I have already updated to the new version with procedures 3.7.0.3. I like it. It reminds me of the SuperBasic of my Sinclair QL. I encourage you to update to this version.

    Regards,
    Gamboa
  57. Replies
    9
    Views
    168

    Re: PIC24FJ64GB004 To A 2x16 Alpha LCD ?

    Craig,3647
    This works for my PIC24FJ64GA306

    U12 is 74LVC4245AD
    Regards,
    Gamboa
  58. Replies
    20
    Views
    364

    Use of the Proton 3.7.0.3 version

    Les,

    You have already prepared the mechanism to use Proton version 3.7.0.3 with Procedures. Can we buy it now?
    I would like to start testing it now.

    Congratulations for the tool and thank you....
  59. Re: johngb has just uploaded Proton Studio Update 1.0.2.0!

    Thank you John.
    Regards,
    Gamboa
  60. Re: Tesla acquires Maxwell for dry electrode technology?

    Hi,
    I completely agree with you. In fact I just bought a diesel. I'm sorry for the gregarious people that Les talked about.

    Regards,
    Gamboa
  61. Re: johngb has just uploaded Proton Studio Update 1.0.1.11!

    Thank you John.

    Regards,
    Gamboa
  62. Replies
    11
    Views
    206

    Re: Ethernet to RS232 converter

    Hi,
    I use Xport from Lantronix. The product is very good, but the problem is the price (about € 40).

    Regards,
    Gamboa
  63. Re: Update on procedures in the Proton BASIC Compiler

    Les,

    I'm glad Proton is progressing properly. Many of us are anxious to be able to buy the new version.
    As for PIC32. I think that Microchip has lost the battle against the ARM and I think that...
  64. Replies
    1
    Views
    161

    Bug in PROC that begin with T

    John,

    Bug in procedures that begin with T or t. This bug was corrected in SUB in version 1.0.1.9

    Regards,
    Gamboa
  65. Re: Advice needed - multiplexing 7 segment displays.

    Bob,

    I have used the TOS-40101AMRL-B (Taiwan Oasis) and the technical data in the data sheet says:

    Peak Forward Current per segment: 80mA
    Continuous Forward Current per segment: 20mA
    ...
  66. Re: Advice needed - multiplexing 7 segment displays.

    Bob,

    you need to know the peak current that LED diodes can withstand. In a design I did a few years ago I used discrete diodes and the peak current that the diodes supported was 100mA. In my...
  67. Replies
    6
    Views
    131

    Re: A very Merry Christmas to you all

    Happy Christmas and happy New Year for the people in this forum.

    Regards,
    Gamboa
  68. Replies
    12
    Views
    348

    Re: Procedures in the 8-bit Proton Compiler

    Les,
    Congratulations, Les. I'm glad of this new line of work. The improvements are welcome. I will wait for your news to buy the new version.

    Thank you Les.

    Gamboa
  69. Replies
    41
    Views
    653

    Re: Advertisement on the forum

    Hi,
    I'm happy to donate and have adds

    Regards,
    Gamboa
  70. Replies
    17
    Views
    506

    Re: RS485 transmission

    Hi Joseph,

    Supply for MAX488 is 5V.
    MAX488 is full duplex, then you will need four wires for comms. The other four wires for supply.
    Regards,
    Gamboa
  71. Replies
    17
    Views
    506

    Re: RS485 transmission

    Joseph,
    I have not used power for the same communications wires. But you can use a wire for A, another wire for B.
    You still have 6 free wires. You can use three wires (wires) for positive and...
  72. Replies
    17
    Views
    506

    Re: RS485 transmission

    Joseph,
    I have used more than 300m of wire @ 9600 baud without problems. I have not used Les' routine, but I use a routine based on interruption to receive.
    I had some problems for the reception...
  73. Replies
    17
    Views
    506

    Re: RS485 transmission

    Sorry Joseph,

    In my browser has only appeared the first post of this thread and is what I was trying to answer. I do not know why



    regards,
    Gamboa
  74. Replies
    17
    Views
    506

    Re: RS485 transmission

    Joseph,

    I connect DE and RE together and control them with the same pin in the microcontroller. See attached picture. 3582
    In communications RS485 HALF DUPLEX enough with two wires. Personally, I...
  75. [SOLVED !] Re: Problem to enabling all PortB set as pull-ups on the 18F25k22

    Yves,

    Check
    ANSELB = %00000000 'Todos los canales analogicos se configuran como IO digitales

    Regards,
    Gamboa
  76. Replies
    2
    Views
    105

    Re: Odd USART behaviour

    Hi Truman,

    Can you try this routine before the main loop?


    '*************************************************************************
    '** SUBRUTINA: RecuperarBufer2
    '** Se inicializa un...
  77. Replies
    1
    Views
    168

    Faults in comment block

    Hi John,

    3.- Sometimes it happens to me that when I comment a block and I save it, the editor does not save it well. If you compile the program compiles without the commented block. If you close...
  78. Thread: FineLineIDE

    by GAMBOA
    Replies
    166
    Views
    35,561

    Re: FineLineIDE

    Norm,

    I was referring to a similar status Proc's in Explorer view.

    Regards,
    Gamboa
  79. Thread: FineLineIDE

    by GAMBOA
    Replies
    166
    Views
    35,561

    Re: FineLineIDE

    Hi Norm,

    Is it possible to detect the SUB..ENDSUB structure in the editor?

    Regards,
    Ricardo
  80. Replies
    10
    Views
    441

    Re: User Articles not accessible

    Lester,
    Now working well here.

    Regards,
    Gamboa
  81. Replies
    5
    Views
    122

    Re: Happy Birthday AlbertoFS

    Happy Birthday Alberto.

    Regards,
    Gamboa
  82. Replies
    9
    Views
    225

    Re: Unpacked BCD Maths

    Tim,

    The number 46 084 500 000 is 36 bits. A DWORD is 32 bits.

    Regards,
  83. Replies
    9
    Views
    225

    Re: Unpacked BCD Maths

    Hi Alberto,

    A PIC24 could do it faster.

    Regards,
  84. Replies
    18
    Views
    314

    Re: Inexplicable fault. Any tips?

    I do not know if it will be any consolation, but those things have happened to me and worse, like for example that a circuit does not work because I have not turned it on. Congratulations for the...
  85. Replies
    18
    Views
    314

    Re: Inexplicable fault. Any tips?

    Tim,
    I see the following possible failures:
    1.- Welding failure. Check that all pins are well welded.
    2.- Microcontroller failure. Check signals IN1 and IN2. Test these signals directly wired...
  86. Replies
    5
    Views
    132

    Re: Managing Anti Virus Software

    @Norm
    I have been searching the internet and I can not find the free version of Bitdefender Safepay. It still works for me but it can not be downloaded anymore for new computers.

    @All
    On the...
  87. Replies
    5
    Views
    132

    Re: Managing Anti Virus Software

    Hi Peter,

    I have never worked with Mcafee antivirus.

    I'll tell you my experience with antivirus and Windows. Many years ago, around 2000, I had Norton installed.
    It worked well for one year....
  88. Replies
    12
    Views
    2,000

    Re: 24EP256GP204 external interrupt problem

    I think the first thing to check is whether the problem is hardware or software.
    The first thing is to measure with an oscilloscope on the A4 pin. If there is a pullup resistor this voltage should...
  89. Thread: RC522 RFID Code

    by GAMBOA
    Replies
    16
    Views
    3,929

    Re: RC522 RFID Code

    Thanks for the code

    Regards,
    Gamboa
  90. Re: johngb has just uploaded Proton Studio Ver 1.0.1.6!

    I also have problems with the download. I've tried Firefox and Edge and they both give me the same problem:


    You are not permitted to view this download.

    Regards,
    Gamboa
  91. Thread: Proton Studio

    by GAMBOA
    Replies
    38
    Views
    608

    Re: Proton Studio

    John,

    The first of all is to thank John for his good work in the proton Studio. A program like this is not done in a few hours.
    So it is necessary to recognize the effort made by John and made...
  92. Replies
    10
    Views
    148

    Re: Hot mosfet Do I worry?

    Hi Tim,

    The VGS voltage is very important so that the RDS resistance is as low as possible. A VGS of -4V is not the same as a VGS of -10V for the purposes of the RDS value. What is the voltage at...
  93. Replies
    6
    Views
    170

    Re: Pic24 and LCD display question

    Hi list,

    I have made the checks of the pins and all the pins of the display work as digital.
    Then I have adjusted the LCD DECLARES as indicated by Les and everything is working correctly.
    So...
  94. Replies
    6
    Views
    170

    Pic24 and LCD display question

    Hi list,

    I have got a PCB with a PI24FJ64GA306 and a 16x2 alphanumeric LCD display (Hitachi HD44780). It has a problem because it shows nothing on the display....
  95. Replies
    11
    Views
    289

    [SOLVED !] Re: Timer1 overflows

    Hi Saluposas,

    I have not used that mic but I used the PIC18F65K22 at 16MHz with the Timer 1 to count 1 second.
    What I do is use an interruption for timer 1 and as it is not possible with only...
  96. Replies
    9
    Views
    433

    Re: SPI to MX25L4006E Flash PROM

    An other option is:

    http://www.pctestinstruments.com/index.htm
    386USD

    Regards,
    Gamboa
  97. Replies
    17
    Views
    368

    Re: Sub-EndSub and Gosub-Return

    Hi list,

    My experience with PIC24 (PIC24FJ64GA306) has been very positive. I have worked on two projects and everything has worked correctly. The projects have not been complex, only...
  98. Replies
    26
    Views
    462

    Re: Which IDE are you all using?

    Proton Studio is a nice name
  99. Replies
    26
    Views
    462

    Re: Which IDE are you all using?

    Hi,
    These features cover the needs of any user. I think it will be an excellent tool.

    What will the new creature be called? JB IDE for Protón?

    Regards,
    Gamboa
  100. Replies
    26
    Views
    462

    Re: Which IDE are you all using?

    Jhongb,

    I have used some of the plug-ins that you have developed as Fuse Configurator and they work very well. So I have no doubt that the "New Proton IDE" will be a good product.

    Regards,...
  101. Re: Test with Proton 3.6.1.0. The labels disappear

    Thank you Les.

    Regards,
    Gamboa
  102. Test with Proton 3.6.1.0. The labels disappear

    I am testing version 3.6.1.0 for the PIC18F25K22. Compile well and execute well. But in the IDE Labels disappear. Is there any way to make them appear?

    3483
  103. Replies
    26
    Views
    462

    Re: Which IDE are you all using?

    Hi list,

    I tried notepad ++ but I have not managed to make it work.
    I have also tried FineLine, but I do not get used to its use.
    My work tool is Proton IDE.

    Regards,
    Gamboa
  104. Replies
    25
    Views
    410

    Re: Just to let you know

    Thank you.

    "That's one small step for man, one giant leap for mankind." Neil Armtrong.

    Regards,
    Gamboa
  105. Replies
    15
    Views
    358

    Re: Re. latest vweaion 3.6.0.7

    Hi,

    Great job Les! You're the greatest! I hope you recover soon from your injury.

    Regards,
    Gamboa
  106. Thread: Nsoic-8

    by GAMBOA
    Replies
    7
    Views
    154

    Re: Nsoic-8

    3477
    Pad dimension: 2.2x06mm in IPC medium Density.
    Centerpad to center pad diferent lane: 4.826mm
    Pich: 1.27mm

    Regards,
    Gamboa
  107. Replies
    3
    Views
    249

    Re: Lithium battery woes

    Shantanu,

    I used the DS3231SN # chip (40 pieces) years ago. I have not had problems. My circuit was with CR2032 directly connected. In 2007, the purchase price was € 2.70. The current price can be...
  108. Replies
    8
    Views
    286

    Re: 3.3v circuit from a LiPo cell

    Hi,

    In this article you can see the idea that I told you. It describes the external control with a TI circuit but you can use the ADC of the PIC microcontroller to measure the battery voltage...
  109. Replies
    8
    Views
    286

    Re: 3.3v circuit from a LiPo cell

    hi,
    Another way would be to use an LDO with Power Good (LP5912-3.3DRVR), then do the bypass externally with a MOSFET through your PIC.
    Regards,
    Gamboa
  110. Replies
    8
    Views
    286

    Re: 3.3v circuit from a LiPo cell

    Hi,
    I think the best thing for this would be to put an LDO with bypass. When the voltage is higher than 3.6 the LDO works and when it is lower the voltage goes directly. I have not used this, but I...
  111. Replies
    8
    Views
    250

    Re: Which version P24 am I running?

    Hi Tim,
    You can open *.asm file generated and you can see:

    ;----------------------------------------------------------
    ; code produced by proton24 1.0.4.1
    ; written by les johnson. april 2017...
  112. Re: Getting old, need help on suitability ttl vers RS232

    Hi Tim,

    If the electric motors get to disturb the data line, a TTL based system with or without CRC will not work. You have two options: pray that there is no interference or put a more robust...
  113. Replies
    2
    Views
    198

    Re: infrared image of dsPIC

    Nice Ken.

    Model of IR camera?

    Regards,
    Gamboa
  114. Re: H bridge driver for 12v Motor recomendations

    Hi Tim,
    To avoid noise I always use galvanic isolation. See the attachment. The circuit is more expensive.3434
  115. Thread: Forum slow

    by GAMBOA
    Replies
    9
    Views
    228

    Re: Forum slow

    John,
    No problem with Firefox 57, 64bit.
    Regards,
    Gamboa
  116. Replies
    15
    Views
    322

    Re: Merry Christmas and Happy New Year Les!!!

    Hi,

    Somehow this post continues in this other:
    http://www.protonbasic.co.uk/showthread.php/77795-Support-for-Les...-a-change-of-heart

    Regards,
  117. Replies
    19
    Views
    650

    Re: Numeric conversion trouble

    Nex,

    Try with VAL command. Pag. 402 Manual.

    Example 2
    ' Convert a string of decimal characters to an integer
    Include "Proton_4.Inc" ' Use the Proton board for the demo
    DimString1[10] as...
  118. Replies
    15
    Views
    322

    Merry Christmas and Happy New Year Les!!!

    Dear Les,

    This text is an express acknowledgment of the great effort made by Les to develop Proton and Proton 24.
    Thank you Les.
    I have been working on a project for a few weeks in which I use...
  119. Replies
    21
    Views
    474

    [SOLVED !] Re: Ram Variable Bytes 18F86J55

    Hi list,

    Silicon Labs CP2102N 1.33€ (10 pieces Mouser)
    FTDI FT230XQ 1.73€ (1 piece Mouser)
    Microchip MCP2200 1.79€ (10 pieces Mouser)

    Regards,
    Gamboa
  120. [SOLVED !] Re: Taking advantage of the internal voltage references of the 18F25k22 chip on ADC c

    Hi Yves,

    I dont use Amicus18.
    I used Pic18F26K22 for a project adjusting FRV for the ADC. Basically what I do is adjust the FSR registers directly.

    Initialization of registers SFR:


    ...
  121. Thread: Tranceiver

    by GAMBOA
    Replies
    19
    Views
    364

    Re: Tranceiver

    Fanie,

    See in Microchip Lora
    http://www.microchip.com/design-centers/wireless-connectivity/embedded-wireless/lora-technology

    Regards,
    Gamboa
  122. Replies
    5
    Views
    1,168

    Re: Library manger missing file warning

    Hi Bob,
    In life, things are repeated, the prosperity of many is based on the sacrifice of a few. It is something I observe day by day, at work, with my children, etc.

    Regards,
    Gamboa
  123. Replies
    16
    Views
    545

    Re: Add compile data to hex file

    Hi Rick,

    You can add the version number to the name file.

    For example: Titanium_3_06.hex

    Regards,
    Gamboa
  124. Replies
    16
    Views
    545

    Re: Add compile data to hex file

    Hi Rick,

    In the ASM file you can see:

    ;----------------------------------------------------------
    ; Code Produced by the Proton Compiler. Ver 3.5.6.7
    ; Copyright Rosetta...
  125. Replies
    23
    Views
    296

    Re: Non-ASCII transmission through Hserout

    Exactly Tumbleweed.

    I use this type of drivers for low speed (9600) and long transmission lines and many nodes (up to 128 nodes in the same line).

    Regards,
    Gamboa
  126. Replies
    23
    Views
    296

    Re: Non-ASCII transmission through Hserout

    Hi Shantanu,

    There is important the timing of driver RS485, propagation timing input output, enable pin etc.

    Regards,
    Gamboa3304
  127. Replies
    23
    Views
    296

    Re: Non-ASCII transmission through Hserout

    Hi Shantanu,

    I use the following routine for RS485:



    For 9600 baud is OK and no problem.

    Regards,
    Gamboa
  128. Replies
    23
    Views
    296

    Re: Non-ASCII transmission through Hserout

    Hi Shantanu,

    I think you can send:

    HSerOut [ "%",status_reg,"," ]
    While TXSTA.1=0 :Clrwdt: Wend

    Regards,
    Gamboa
  129. Replies
    2
    Views
    105

    Re: Group of spanish speakers

    Hi,
    What makes a forum great is the people who compose it and my opinion is that the more people in the same site the better the forum. Those who do not know the English language must pay that...
  130. Replies
    5
    Views
    2,328

    Re: Declare Xtal Question

    Norm,

    From manual:


    Regards,
    Gamboa
  131. Re: Floating Point Arrays added to standard Proton

    Thank you Les. You are great!

    Regards,
    Gamboa
  132. Re: Strange variable behaviour with 18F devices

    Hi Alberto,

    When you say BankA do you mean Bank10 of RAM?

    Regards,
    Gamboa
  133. Replies
    15
    Views
    1,030

    Re: no input from 16F628A usart

    I have a firmware working @9600.



    and


    Regards,
    Gamboa
  134. Replies
    15
    Views
    1,030

    Re: no input from 16F628A usart

    Hi Commandeur,

    Try SPBRG = 103

    Regards
    Gamboa
  135. Replies
    8
    Views
    466

    Re: Variable naming best practice

    Hi Tim,

    For variables:
    DIM Comunicacion[100] AS BYTE 'Array que recibe los datos de un paquete de comunicaciones de Usart 1
    DIM SMensaje[3] AS BYTE
    DIM...
  136. Replies
    16
    Views
    1,074

    Re: Best programmer for new PICs

    I use Pickit 3.
    Is fully compatible with all PIC of Microchip.
    Only 40€ (more or less)
    Regards,
    Gamboa
  137. Replies
    8
    Views
    573

    Re: Power switching through p-channel MOSFET

    Hi Shantanu,
    I'm using IRLML6402TRPbF for low voltage and low courrent.
    You can make different power cuts according to the functional units you have and connect sequentially.

    You must first...
  138. Re: very slow compiling since Update for Windows 10 Version 1607 (KB3211320)

    Hi,
    My experience with W10 is very good. I use Defender as an antivirus. No problem since I installed it (when it was the first release). W10 works better than W8 and better than W7. I have gone...
  139. Replies
    17
    Views
    1,626

    [SOLVED !] Re: How to program a 18F45K40 with a PICKIT3?

    Hi Normnet,
    IPE detects when a .HEX file has changed and requests to load it again. This procedure for development is good. The ideal would be to integrate it with PDS. I do not know if this can be...
  140. Replies
    17
    Views
    1,626

    [SOLVED !] Re: How to program a 18F45K40 with a PICKIT3?

    Wirecut,

    IPE (Integrated Programming Environment) is an application that comes within the MPLAB X package. You do not need to run MPLAB X to program a microcontroller, just run IPE.
    There is also...
  141. Replies
    8
    Views
    766

    Re: explaining Hser operation

    Hi,

    LTC485 is half duplex. No transmision in two ways at the same time is permited.

    The procedure is:
    1.- Master transmit then slave receive info
    2.- The slave processes information and wait...
  142. Replies
    8
    Views
    766

    Re: explaining Hser operation

    Hi Mr Anderson,

    I use this and it works well at 9600

    '*************************************************************************
    '** SUBRUTINA: TransmitirTramaU1
    '** Transmite una trama de...
  143. Replies
    3
    Views
    570

    Re: Read half of an 8 bit Reg

    Hi Mr Anderson,

    Tempo = PORTB
    MyLowNible = Tempo and $0F
    MyHiNible = Tempo AND $F0
    MyHiNible = MyHiNible >> 4

    Regards,
    Gamboa
  144. Replies
    3
    Views
    828

    Re: Why LM1085 VReg Overheating ?

    19.5-5=14.5V
    Power in heat = 14.5 x 0.5=7.25W
    Power for your circuit = 5x0.5 =2.5W
    Total Power = 7.25 + 2.5= 9.75W
    LM1085 can't support that power.
    you need power supply of 6V.
    Regards,
    ...
  145. Replies
    15
    Views
    1,705

    [SOLVED !] Re: I need help setting up the 18F13K22

    Hi,

    @Charlie, OSCCON2.7 is not defined.

    Regards,
    Gamboa
  146. Replies
    17
    Views
    1,379

    Re: Dropping 24v AC to 12v

    Hi Tim,

    The best technical solution is to use switching circuits versus linear circuits.

    LM43602 SIMPLE SWITCHER® 3.5 V to 36 V 2-A Synchronous Step-Down Voltage Converter. More or less 4USD....
  147. Replies
    1
    Views
    479

    Support for PIC24FJ64GA204

    Could the following Device be added to the supported list for proton development suite Please?

    PIC24FJ64GA204

    Four serial ports, RTC and Vbat.

    Thank you Les
    Gamboa
  148. Replies
    16
    Views
    2,000

    Re: A new Plugin PDS Device Selector

    John,

    Thank you for plugin's.

    The new MK2 fuse configurator show now ver: 1.1.0 build 1.
    The version I had installed was 3_2_0_6.
    I dont know if this is OK

    Regards,
  149. Replies
    5
    Views
    1,170

    Re: Unable to ICSP dsPIC33

    Hi SCV,

    In all my designs I put a Schottky diode to isolate power programmer.3094

    Regards,
    Gamboa
  150. Replies
    5
    Views
    1,170

    Re: Unable to ICSP dsPIC33

    Hi SCV,

    Can you check Power Target circuit from tool?

    3090
  151. Replies
    14
    Views
    2,364

    Re: one off simple double sided proto needed

    Hi Tim,

    4 working days --> 1 PCB.

    Price 55€+ 13€ (shipping) +21%VAT = 82.28€

    Regards
    Gamboa
  152. Replies
    14
    Views
    2,364

    Re: one off simple double sided proto needed

    Hi Tim,

    http://www.wedirekt.es/en/pcb

    Regards,
    Gamboa
  153. Replies
    8
    Views
    1,323

    Re: Power supply dsPic

    R-78E3.3-0.5 Recom

    Regards,
    Gamboa
  154. Re: Sales and Manufacturing process software (recommendations?)

    Hi Tim,





    I'm working with Dolibarr. This is a free easy to handle ERP. Dolibarr is very powerful yet easy to handle. Dolibarr can not manage manufacturing. It is a pity! You can manage...
  155. Thread: Analog reading

    by GAMBOA
    Replies
    21
    Views
    2,564

    Re: Analog reading

    Hi Joseph,

    The PIC18F1xK22 has a programmable internal reference generator (FVR).




    You do not need to add external hardware, only a resistive divider.
    See data sheet 239 page.
  156. Replies
    54
    Views
    10,391

    Re: Buffered_Hserin and CDC USB

    Hi list,

    I think the only option is a forum in English. I am Spanish, I do not speak English, but Google translator helps me understand the post. We think that there are people from many different...
  157. Replies
    5
    Views
    2,060

    Re: Using the RTC on a 18F65K22

    Thank you Joseph
  158. Replies
    5
    Views
    2,060

    Re: Using the RTC on a 18F65K22

    Hi Simon,

    I have a routine for RTC PIC18F24J11. I think the internal RTC is the same in 65K22.

    For Write RTC



    For read RTC:
  159. Replies
    4
    Views
    2,222

    [SOLVED !] Re: Connect USb Devices to Picmicro Question

    Yes.

    http://www.ftdichip.com/Products/ICs/VNC1L.htm.
    I dont used Vinculum.

    Regards,
    Gamboa
  160. Replies
    4
    Views
    2,222

    [SOLVED !] Re: Connect USb Devices to Picmicro Question

    Hi Cocoloco,

    No.
    Picmicro (10,12,16,18) is a USB device also. FTDI adaptor(FT230XQ, etc) is USB device.
    PC, ARM, Pic32 is USB host. FTDI adaptor Vinculum is USB host.

    Do you need to connect...
  161. Thread: RS485 to HRSin

    by GAMBOA
    Replies
    4
    Views
    1,813

    Re: RS485 to HRSin

    Hi Jhon,

    All "A" terminals are connected with "A" and all "B" terminals are connected with "B" and GND with GND in the net 485. First, it is best only work with 2 nodes, then you can add other...
  162. Replies
    10
    Views
    4,043

    Re: Async comms using internal oscillator

    George,

    There is no reason. Only the habit of doing so.

    Regards,
    Gamboa
  163. Replies
    10
    Views
    4,043

    Re: Async comms using internal oscillator

    Hi George,

    1.- uController 16F689, internal oscillator 8MHz, hardware USART at 34800. Working OK.
    2.- uController 16F628, internal osc 4MHz. hardware USART at 9600. Working OK.
    3.- uController...
  164. Replies
    0
    Views
    707

    Support for PIC24FJ64GA204

    Hi Les,
    It is possible support for PIC24FJ64GA204?

    I need four RS232, RTC and low pin count (44 pin).

    Regards,
    Gamboa
  165. Replies
    9
    Views
    1,570

    Re: Serial input/output for Win7

    Hi Charlie,

    I like Hercules Terminal (http://www.hw-group.com/products/hercules/index_en.html).

    Pros:
    1.- No need install
    2.- Serial Terminal (or USB with adaptor)
    3.- TCP client, TCP server...
  166. Replies
    14
    Views
    1,632

    Re: Networking advice please

    Hi Charlie,

    There is a software configuration from Lantronix: Device Installer.

    You connect your Xport to net and run Device Installer. Push the 'Search' button, and Deviceinstaller search...
  167. Replies
    1
    Views
    1,624

    Support for PIC18F65J94 family

    Hi,
    Are there any plans to add support for the PIC18F65J94 (and family) in the near future? I need work with 4 USART.

    Regards,
    Gamboa
  168. Re: hello I invite you to join a group on facebook followers of Proton basic

    Hi list,

    I really do not like Facebook and of course I'm not a user.

    @Parmin,
    The Spanish language is as good as the English or any other language. Needless last part of your comment "... or...
  169. Thread: DATA Rate Issue

    by GAMBOA
    Replies
    6
    Views
    1,895

    [SOLVED !] Re: DATA Rate Issue

    Harrison,





    I used a 18F14K22 with FTDI usb adapter 115200 without encountering any problems using internal oscilator(64 Mhz with PLL).
    OSCTUNE @ 0.

    In the protocol packet length does...
  170. Replies
    6
    Views
    1,925

    Re: Resistor Bands - Confusion

    Hi Paul,

    See link for color bands: http://www.digikey.com/es/resources/conversion-calculators/conversion-calculator-resistor-color-code-4-band
    Regards,
    Gamboa
  171. Re: Error[108] C:\USERS\USUARIO\DESKTOP\TEMPO\A.S 4956 : Illegal character (,)

    Hi,

    The problem is in the sentence:

    SYMBOL CONFIG LATB.2 'Señal de configuración del módulo HM -TRP-868S

    I forgot Config..EndConfig is used to set the fuses.

    My new sentence: SYMBOL...
  172. Error[108] C:\USERS\USUARIO\DESKTOP\TEMPO\A.S 4956 : Illegal character (,)

    Hi list,

    When I compile I find the following error (22 times):

    Error[108] C:\USERS\USUARIO\DESKTOP\TEMPO\A.S 4956 : Illegal character (,)

    I have been searching the character "," but I find...
  173. Replies
    8
    Views
    2,621

    Re: Programmer upgrade

    Hi Gary,

    I'm using IPE (Integrated Programing Environment V2.20) + PICKIT3. It is a program that comes with MPLABX. The advantage is that it supports all PIC. PK3 should be improved, but in the...
  174. Replies
    1
    Views
    1,162

    Re: Good free Toolkit

    Hi Ken,

    It's very good tool. I use it frequently.

    Regards,
  175. Replies
    14
    Views
    8,664

    Re: Android to PIC18F4550 via usb

    Ray,

    This can help: http://www.ftdichip.com/Products/ICs/FT312D.html

    Regards,
    Gamboa
  176. Replies
    4
    Views
    1,472

    Re: Read Line Fequency

    Gogle zero crossing detector for hardware and then count time inter pulse.

    Regards,
  177. Thread: Mplab x ipe

    by GAMBOA
    Replies
    15
    Views
    8,802

    Re: Mplab x ipe

    Sorry,
    "You were right about food through PICkit3" should be You were right about power through PICkit3.
  178. Thread: Mplab x ipe

    by GAMBOA
    Replies
    15
    Views
    8,802

    Re: Mplab x ipe

    Hi Dennis,

    Working now.





    You were right about food through PICkit3. I added the-V3 (in my case the micro runs at 3V) at the command line.
    For 5V necessary add-V5.
  179. Thread: Mplab x ipe

    by GAMBOA
    Replies
    15
    Views
    8,802

    Re: Mplab x ipe

    Thank you Dennis,

    Proton is already setting at -P$target-device$ -F$hex-filename$ -E -M -B -L. But not working properly.

    OS: XP SP3.
    Proton: 3.5.6.7
    IDE: 2.0.3.3
    PicKit3: Firmware Suite...
  180. Thread: Mplab x ipe

    by GAMBOA
    Replies
    15
    Views
    8,802

    Re: Mplab x ipe

    Hi Jhon,





    I use IPE the programmer PICkit3.
    No problem. All OK.
    Following micros burning: PIC18F4520, PIC18F24J11, PIC18F25K22, PIC16LF1509, PIC18F85K22.
    -----------
  181. Replies
    9
    Views
    10,957

    Re: Writing Flash like EEPROM it is posible?

    Geoff_c,

    In 16LF1509 is an area of high endurance flash (1F80h-1FFFh, last 128 addresses). Endurance for these cells is 100K cicles of E/W, and data retention is 40 years.
    If you use this memory...
  182. Re: Quick tip for anyone wanting to design FIR and needs a first rate tool

    Filter for audio, for exemple.

    Regards
  183. Replies
    9
    Views
    10,957

    Re: Writing Flash like EEPROM it is posible?

    Thank you Ron,

    It is the first time I have to use this feature. I will study the datasheet and do some tests.

    Regards,
    Gamboa
  184. Replies
    9
    Views
    10,957

    Writing Flash like EEPROM it is posible?

    Hi List,

    I have a microcontroller 16LF1509. In the column the EEPROM, HEF legend appears. In the datasheet I see you have only Flash memory. Is it possible to write to the flash memory while the...
  185. Thread: MPLab sucks

    by GAMBOA
    Replies
    4
    Views
    2,330

    Re: MPLab sucks

    Hi Fanie,
    MPLABX have a application for programing.
    At the beginning of the installation asks you what you want to install and you can tell that you install MPLAB IPE. It is only an application...
  186. Thread: Ports Remap

    by GAMBOA
    Replies
    8
    Views
    4,530

    [SOLVED !] Re: Ports Remap

    Bad paste. Sorry.

    'DEFINICION DE LOS PINES DE ENTRADA/SALIDA.

    ANCON0 = %11111111 'Todos los canales analogicos se configuran como IO digitales
    ANCON1 = %00011111

    TRISA=%10100001 'Los...
  187. Thread: Ports Remap

    by GAMBOA
    Replies
    8
    Views
    4,530

    [SOLVED !] Re: Ports Remap

    Hi Denner,

    The same info that Shantanu but not in assembler:

    [QUOTE]'DEFINICION DE LOS PINES DE ENTRADA/SALIDA.

    ANCON0 = 111111 'Todos los canales analogicos se configuran como IO digitales...
  188. [SOLVED !] Re: Need pushing in the right direction re Ethernet / Tibbo?

    Hi Mike,

    I have not worked with TIBO devices, but I have worked with Lantronix XPort. The concept is the same. At the end you have a serial port that is converted to Ethernet. In the part of the...
  189. Replies
    5
    Views
    2,018

    Re: One for the experts!

    Hi,

    Alternative for isolation ISO7220 (Texas Instruments)

    Regards
  190. Replies
    2
    Views
    1,951

    Re: [USART] 2 usart at the same time.

    Thank you Les.

    Best regards
    Gamboa
  191. Replies
    2
    Views
    1,951

    [USART] 2 usart at the same time.

    I´ve been working in a project which uses USART1 and USART2 for communications. Both are RS485 ports and they communicate with several nodes. Communication has been quite orderly so far, because...
  192. Replies
    13
    Views
    3,036

    Re: 4014 Shift Register

    Hi Norm,

    D0 to D7 is only inputs. I think this piece is not reversible and it work parallel to serial converter only.

    In data sheet NXP say:

    "Operation is synchronous and the deviceis...
  193. Thread: Interrupts TMR1

    by GAMBOA
    Replies
    3
    Views
    2,384

    Re: Interrupts TMR1

    Hi Teo,

    1.- define config TMR1, best in initialize program stadium;
    'REGISTER 10-1: T1CON: TIMER1 CONTROL REGISTER
    TMR1CS1 = 0 ' Timer1/3/5 Clock Source SELECT bits. 11 = Reserved. Do NOT...
  194. Replies
    69
    Views
    36,798

    Re: Dual EUSART in 18F25K22

    Hi,

    I use a routine like this:



    Regards
  195. Replies
    5
    Views
    4,142

    Re: ALAFAT USB Board - I need some help :-(

    Hi Truman,

    I can not help regarding Alfat device and its operation. I have not used the 18F2525.
    I used a communications 115200 in 18F14K22 with internal 32MHz oscillator and works very well. 0...
  196. Thread: Pwrt = on

    by GAMBOA
    Replies
    2
    Views
    2,846

    Re: Pwrt = on

    You need to read the data sheet of your micro.

    2.8 Power-up Delays
    Power-up delays are controlled by two timers, so that
    no external Reset circuitry is required for most
    applications. The...
  197. Replies
    3
    Views
    4,389

    Re: How to calculate the pwm frequency?

    Hi,

    From data sheet:

    PWM period = ((PR2) + 1) x 4 x TMR2 prescaler value
    FrequencyPMW = 1/PWM period

    Regards,
    Gamboa
  198. Replies
    6
    Views
    1,075

    Re: Optocoupler supply

    Hi,

    Morsun
    Aimtec
    Traco Power
    YDS
    Recom
    Xpower.

    It is an expensive piece.
  199. Replies
    6
    Views
    1,075

    Re: Optocoupler supply

    Yo can download in the link: http://www.gamboafirmware.com/Download/Proton/sCHEMATIC.PNG

    Regards,
    Gamboa
  200. Replies
    6
    Views
    1,075

    Re: Optocoupler supply

    Sorry. Try #3.
Results 1 to 200 of 432
Page 1 of 3 1 2 3