Search Results - Proton BASIC community web site


Search:

Type: Posts; User: rcurl

Page 1 of 5 1 2 3 4

Search: Search took 0.06 seconds.

  1. Thread: RS 485 isolator

    by rcurl
    Replies
    6
    Views
    115

    Re: RS 485 isolator

    Hi Shantanu-
    Do you need something that can be connected to the RS485 buss outside the units, or do you want something that you can add to a PCB you are designing? If you want an isolated...
  2. Replies
    72
    Views
    417

    [OFFER] Re: Proton MKII Development Board

    It was just 4 days ago that I sent payment for shipping, and my box of goodies has already arrived (I'm in the U.S.)! Thanks Lester, Beryl, (et al). This is a really nice selection of stuff. Well...
  3. Replies
    6
    Views
    48

    Re: Microcap now free

    Thanks, John!

    I just downloaded a copy before the owner comes to his senses. Great find!

    -Rick
  4. Thread: Comeback post

    by rcurl
    Replies
    3
    Views
    28

    Re: Comeback post

    Hi Shantanu-
    I don't think that was Lester's intent, or that you have anything to worry about.
    Look at post #7 here: http://www.protonbasic.co.uk/showthread.php/78559-Hi-All

    Good to hear from...
  5. Replies
    5
    Views
    411

    Re: Newbie to the forum!

    Well- I'm one American who will buy it. Sounds great!

    ...and welcome back Ivan!

    -Rick
  6. Replies
    9
    Views
    41

    Re: Pic to pic connections

    Hi Tim-
    Are you saying you will use parallel data transfer between the chips?
    If so, does communication need to be bi-directional? If not, there's no need to ever set Pic2's pins to output.
    Even...
  7. Replies
    23
    Views
    36

    Re: Pal signal sampling

    Hi Tim-
    When you brought this up a year or two ago I kept thinking a line scan sensor such as in a fax machine would be a great solution ,but I couldn't find them. I did just find this:...
  8. Thread: 18f4331 LCD Woes

    by rcurl
    Replies
    5
    Views
    22

    Re: 18f4331 LCD Woes

    Hi John-
    I'll bet one of the peripherals that share some of the LCD pins is unintentionally on.

    Even though the SSP is supposed to default to being off, you might declare SSPCON = 0 just to make...
  9. Replies
    6
    Views
    13

    Re: Happy Birthday Rick

    I remember it well. I was sitting in the den with my parents. It was my turn to fiddle with the vertical hold to keep the picture stable on the TV.
    The moon landing was an amazing event- and now...
  10. Replies
    6
    Views
    13

    Re: Happy Birthday Rick

    Thanks very much, Les. Won't be long before I have to give my age in scientific notation!

    -Rick
  11. Thread: Serial EEproms

    by rcurl
    Replies
    4
    Views
    20

    Re: Serial EEproms

    Thanks for the quick responses, Evan!
    Turns out that one end of the pullup resistor on SDA was not soldered well.

    All good now. Everything is working fine.

    -Rick
  12. Thread: Serial EEproms

    by rcurl
    Replies
    4
    Views
    20

    Re: Serial EEproms

    Hi Evan-
    Sorry- I should have included that info. The application is 4.61.0.40 and the device file is 2.63.197.
    I also tried Microchip's Pickit 2 software 2.61.00 and device file 1.63.146 and it...
  13. Thread: Serial EEproms

    by rcurl
    Replies
    4
    Views
    20

    Serial EEproms

    I tried making an adapter for programming 24xx series EEproms according to the information in HELP.README but it keeps failing with the error "Programming failed at address 0x000000". I've tried both...
  14. Replies
    6
    Views
    15

    Re: Floating point strangeness

    Les just uploaded 3.7.1.9 which fixed the problem. Thanks for the AMAZING support, Les!

    -Rick
  15. Replies
    6
    Views
    15

    Re: Floating point strangeness

    Yes - I think so. I'm always hesitant to post an anomaly report because it's usually just me doing something stupid.

    Thanks, guys.

    -Rick
  16. Replies
    6
    Views
    15

    Re: Floating point strangeness

    Yes, it was.

    Yep! I agree.

    Changing it to a Dword puts a band-aid on the problem, so it's at least working now.

    Thanks, Bob!

    -Rick
  17. Replies
    6
    Views
    15

    Floating point strangeness

    I just recompiled code that was previously compiled about a year ago, and now I'm getting some very strange results from a simple formula that involves both words and floats. Here is the shortest...
  18. Thread: Code error

    by rcurl
    Replies
    2
    Views
    14

    Re: Code error

    Yep- The MIN function went away a while back. Here's the way I re-did my bar graph code:


    Dim A2D_VAL As Word ' The value from the A/D converter
    Dim BAR_VAL As Word ' Value to be graphed....
  19. Replies
    19
    Views
    25

    Re: PicKit4, cosa ne pensate?

    From their website:
    * Three software elements - the software in your package is specific to you and the donation.
    1. PICkit 3 Graphical user interface application. Specific solution for...
  20. Replies
    19
    Views
    25

    Re: PicKit4, cosa ne pensate? PicKit4 What do you think?

    If you go with a Pickit 2 or Pickit 3, make sure to check out Pickit Plus software: http://www.protonbasic.co.uk/forumdisplay.php/376-PICKit-Plus
    It's an enhanced version of Microchip's software...
  21. Replies
    4
    Views
    12

    Re: High impedence opamp quesion

    Hi Yves-
    Here's some information that may be helpful: https://www.ti.com/lit/an/snoa529a/snoa529a.pdf

    -Rick
  22. Replies
    4
    Views
    12

    Re: High impedence opamp quesion

    It just so happens that I designed an amplifier for a pH probe a few months ago. A couple of things you should be aware of:
    (1) Board cleanliness is crucial. Make sure to remove any solder flux....
  23. Replies
    42
    Views
    92

    Re: Web site advertising

    They're not in every post- maybe one out of every five.

    -Rick
  24. Replies
    42
    Views
    92

    Re: Web site advertising

    Here's an example:3672
    I'm not against advertising at all, and I CERTAINLY want Crownhill and Les to make a profit on this. I'm just suggesting a tweak, if possible.

    /rant.

    -Rick
  25. Replies
    42
    Views
    92

    Re: Web site advertising

    Thanks for the info regarding misleading advertising. FYI- the link in your post doesn't work, but I'll search for the way to report these adverts to Google.
  26. Replies
    21
    Views
    27

    Re: 16 leds to drive, how?

    Hi Tim-
    I wonder if it might be possible to use a single really bright LED and couple it to some side emitting light pipe like this:...
  27. Replies
    42
    Views
    92

    Re: Web site advertising

    Hi Lester-
    I don't object to ads AROUND the posts, but I find the ads that are being inserted in the middle of the posts to be very annoying. Are they absolutely necessary?

    Also- FYI- Some of the...
  28. Thread: Forum withdrawal

    by rcurl
    Replies
    4
    Views
    19

    Re: Forum withdrawal

    I am now, but yesterday was rough. Kept checking to see if the forum was back online.
    -Rick
  29. Thread: Forum withdrawal

    by rcurl
    Replies
    4
    Views
    19

    Forum withdrawal

    Whew! Glad the forum is back. Yesterday while it was down, I was suffering from "Forum Withdrawal Syndrome".
    You had me worried for a while there. Hope all is OK.

    -Rick
  30. Thread: Pickit2 firmware

    by rcurl
    Replies
    14
    Views
    27

    Re: Pickit2 firmware

    Hi Fanie-
    The Pickit 2 is still my programmer of choice. Rock stable. Never had a firmware issue with it. I did get some Chinese clones that were crap. Threw them out.
    I did find some Chinese...
  31. Thread: Pickit2 firmware

    by rcurl
    Replies
    14
    Views
    27

    Re: Pickit2 firmware

    You might give the new PicKit Plus software a try: http://www.protonbasic.co.uk/showthread.php/78241-PICKitPlus-Forum
    It works with both the Pickit 2 and the Pickit 3, and it adds a number of...
  32. Re: Half Hourly 3phase electricity meter ready

    Hi John-
    I don't think it will be possible to read the GSM signal, but many meters also have bluetooth or even a bidirectional infrared data port on them. Have you tried searching the model number...
  33. Replies
    9
    Views
    17

    Re: spi interface to HD44780 LCD display

    Hi Charlie-
    It's not from Les, but will this help? http://www.protonbasic.co.uk/showthread.php/62478-%93Print%94-command-for-SPI-Alfa-numeric-LCD

    -Rick
  34. Replies
    37
    Views
    45

    I dont belive it ! Re: Back in time looking good !

    807's look like big tubes until you see one of these:
    3635
    I was at a shortwave radio station over the past weekend helping fix one of their four 500,000 watt transmitters. The final tube is the...
  35. Replies
    19
    Views
    22

    Re: Diffuser IR Leds (how)

    Hi Tim-
    does the sensor only work in the IR range? I wonder if it may have sensitivity in the visible range. If it does, then you have a lot more options, like CCFL tubes, or the LED arrays used...
  36. Replies
    14
    Views
    19

    Re: Remote programming with Pickkit2

    ....and along the same lines, if you have the power jumpered internally like that, don't plug it into a circuit that requires 3.3 volts while the USB is plugged in.

    -Rick
  37. Replies
    11
    Views
    36

    Re: Ethernet to RS232 converter

    I have used some https://www.lantronix.com/products/xport/
    You can map them to each other, so it acts like a serial cable that works over Ethernet, or you can use their com port...
  38. Replies
    14
    Views
    19

    Re: Remote programming with Pickkit2

    I use the "programmer to go" mode all the time and it works great. I also added a jumper wire inside the Pickit 2's between Vcc on the ICSP connector back to +5 on the USB connector so the Pickit...
  39. Thread: PICKitPlus Forum

    by rcurl
    Replies
    38
    Views
    718

    Sticky: Re: PICKitPlus Forum

    Pickit Plus does work great with PDS, including from within the IDE.
    I set up two programmer entries; one for 5 volts and one for 3.3 volts. I used the string:

    -w -e -a5 -pPIC$target-device$...
  40. Replies
    41
    Views
    102

    Re: Advertisement on the forum

    Sounds good to me as long as I can use PayPal to pay for it.
    -Rick
  41. Thread: Library Loader

    by rcurl
    Replies
    2
    Views
    20

    Re: Library Loader

    Hi John-
    Good to hear from you again!
    I installed the Library Loader, and the good news is that it does work. I'm not terribly impressed, though.
    Samacsys does not have libraries for Diptrace. ...
  42. Replies
    42
    Views
    92

    Web site advertising

    FYI- At the top of each page I'm seeing this:

    --- This is a test - only visible to admins ---
    --- advertisement may go here ---

    ....but I'm not an Admin, so something my be set incorrectly.
    ...
  43. Replies
    14
    Views
    14

    Re: PIC18F1330 PLL problem

    Tumbleweed nailed it. Changing from "Internal Oscillator Block" to "Primary Oscillator" got it running at 32Mhz. Microchip seems to have gone out of their way to make this confusing.
    Thanks to...
  44. Replies
    14
    Views
    14

    Re: PIC18F1330 PLL problem

    Thanks for all the responses. Sorry to be slow responding. One of our goats broke a horn off last night (ouch!!) and we've been focused on getting her taken care of.
    I'll get back on this project...
  45. Replies
    14
    Views
    14

    Re: PIC18F1330 PLL problem

    Thanks, George. Testing the IOFS bit didn't help, and I'm not sure how to check FOSC3:FOSC0. The oscillator type is being set by Fuse Configurator.

    -Rick
  46. Replies
    14
    Views
    14

    Re: PIC18F1330 PLL problem

    Thanks, Charlie. Unfortunately that didn't do it.

    I haven't needed to write any code in several months, so it's likely I'm making a bonehead mistake somewhere. I've used the PLL many times on...
  47. Replies
    14
    Views
    14

    PIC18F1330 PLL problem

    I'm just starting out on a new project that uses a PIC18F1330. I haven't used this specific chip before, so I began by trying to blink an LED just to make sure I've got things working right. My LED...
  48. Replies
    10
    Views
    24

    Re: User Articles not accessible

    I'm sure that was tough to find. Thanks for fixing it. Lester!

    -Rick
  49. Replies
    10
    Views
    24

    Re: User Articles not accessible

    Sorry to be slow responding.

    All OK now. Thanks, Lester!

    -Rick
  50. Replies
    10
    Views
    24

    User Articles not accessible

    I just noticed that If I click on any of the "user articles" at the top right side of the forum top level menu page, such as:...
  51. Replies
    103
    Views
    147

    Re: Malware on this website?

    Thanks guys! ESPECIALLY LESTER!
    Sorry that ended up being so complicated and frustrating. All your hard work is really appreciated.

    -Rick
  52. Replies
    103
    Views
    147

    Re: Malware on this website?

    Strange- I'm not seeing any of these problems. I usually use Opera, but I just tried Chrome, Firefox, and IE, with no problems on any of them. Could it be that problem has been resolved?

    -Rick
  53. Re: Is it possible to add another sample like Ser_buffer.bas?

    I like what you've done with the robot!! Very nice.

    I'm sure you'll get some responses about the serial buffer soon.

    -Rick
  54. Replies
    16
    Views
    46

    Re: Driving SK9822 or APA102 RGB LED's

    Hi guys-
    I made a couple changes and it is working better. I added the declare "Shift_DelayUS 100" and changed the Shout command to MSBFirst_L so the clock will idle low.
    It seems to be stable...
  55. Replies
    16
    Views
    46

    Re: Driving SK9822 or APA102 RGB LED's

    Well- it seems to be working ....at least occasionally. I'm using this code:

    SPIloop:
    SHOut PORTC.2, PORTC.0, MsbFirst, [$00,$00,$00,$00] 'start frame
    ...
  56. Replies
    16
    Views
    46

    Re: Driving SK9822 or APA102 RGB LED's

    Thanks, Dave! Much appreciated. Looks like it uses a software SPI driver instead of the MSSP, but at this point I just want to see some LED's light up!

    I'll convert it to PDS when I get home...
  57. Replies
    16
    Views
    46

    Re: Driving SK9822 or APA102 RGB LED's

    Thanks for the info!
    I can't seem to get anything out of the SPI Master.

    I've got the MSSP set up like this:


    All_Digital = true
    Declare Xtal = 16

    '* Set I/O pin direction *
  58. Replies
    14
    Views
    1,701

    Re: 16f1503 AND PWM modules

    Yep- that fixed it. I thought I was on the latest version, but it turns out that on my laptop I was on 3.6.0.3. I did the update, went back to my original code, and everything is working perfectly....
  59. Replies
    16
    Views
    46

    Driving SK9822 or APA102 RGB LED's

    I've been trying to figure out how to drive SK9822 or APA102 RGB LED's using the MSSP module in a PIC16F1503 but I'm getting nowhere. Part of the problem is that I haven't used MSSP SPI mode with a...
  60. Replies
    14
    Views
    1,701

    Re: 16f1503 AND PWM modules

    Yep- Already checked it. In this case the Erratas didn't apply. In the past, I've been burned by their Erratas on more than one occasion. In one case, I implemented their workaround and when they...
  61. Replies
    14
    Views
    1,701

    Re: 16f1503 AND PWM modules

    Thanks, Les. You're the best!

    Giving you a LEGITIMATE thumbs up on your post.

    -Rick
  62. Replies
    4
    Views
    10

    Re: A question for Americans

    Thanks, George. I'll give it a look.

    -Rick
  63. Replies
    14
    Views
    1,701

    Re: 16f1503 AND PWM modules

    I was writing code for a 16F1503 and I could not get PWM2 to work. PWM's 1,3, and 4 were fine. The PPI file for the PIC looks fine.

    I downloaded Les' PWM library replacement routine and it fixed...
  64. Replies
    4
    Views
    10

    Re: A question for Americans

    Hi George-
    Are you going to make me watch the movie or are you going to tell us?

    I checked IMDB and didn't see the movie listed. What's the whole name? Is it any good?

    -Rick
  65. Replies
    26
    Views
    35

    Re: Dim xxx as code problem on P24

    You mean like cleaning the registry? :)
    -Rick
  66. Replies
    32
    Views
    162

    Re: New PICkit 4 available

    Hi John- I think we're in the same boat. My PSA results just came back as .05, so all is good.

    As for the Pickit 4- It's under a pile of stuff in a drawer somewhere. I'm not going to bother with...
  67. Replies
    14
    Views
    27

    Re: Ferrite transformer question

    eBay is a good source for Litz wire. I'm using some that has 53 strands of #33 wire Two 4-turn windings driven in push-pull by a resonant zero-voltage switch. It runs about 30Khz. I've got a 4 mil...
  68. Replies
    14
    Views
    27

    Re: Ferrite transformer question

    Hi Charlie-
    We use flyback-style ferrite transformers with a ferrite core that is in two C-shaped halves. Each time a wire passes through the "window" in the core that counts as a turn.
    If you're...
  69. Thread: Why the PIC26K42

    by rcurl
    Replies
    16
    Views
    16

    Re: Why the PIC26K42

    Hi Fanie-
    don't be a stranger. We miss you!

    -Rick
  70. Replies
    15
    Views
    2,717

    Re: LCD Chr Generator Plug-In

    Hi Dolci-
    Thanks for the information! That fixed it for me.

    -Rick
  71. Replies
    41
    Views
    3,821

    Re: 18F24k20 Handbrake Stuck

    Hi Charlie-
    It looks like OSCCON is missing from your code. Try OSCCON = %01110010. Also, I'm not seeing OSCFRQ as being a valid SFR.

    -Rick
  72. Replies
    40
    Views
    65

    Re: Programmable RF oscillators

    You're right, John- I was thinking mainly of checking timebase accuracy. Calibrating amplitude would be tricky.

    -Rick
  73. Replies
    40
    Views
    65

    Re: Programmable RF oscillators

    Hi Charlie-
    For calibration purposes, you could start with a stable crystal oscillator, maybe 10 to 50 Mhz, and feed the output into a snap diode. This can generate evenly-spaced harmonics (a "comb...
  74. Replies
    12
    Views
    36

    Re: Slightly surprised by 18F26K22

    ....but the 4.7K pulldown is only in the circuit while the Pickit is connected. As soon as you're done programming and unplug the Pickit, it's not an issue.

    -Rick
  75. Replies
    12
    Views
    36

    Re: Slightly surprised by 18F26K22

    Yes-exactly. You can probably go higher on the resistor to reduce the load on the programmer. Maybe even as much as 10K. Sounds like some experimentation is called for.

    -Rick
  76. Replies
    12
    Views
    36

    Re: Slightly surprised by 18F26K22

    Hi George-
    I think you got lucky on this one. Of course, when Vpp goes up to 10+ volts, both PGC and PGD become inputs, regardless of how TRIS is set, but the Pickit2 must have been able to...
  77. Re: Need someone smarter than me to write code for POV displays

    Thanks, Les-
    I didn't realize that the APA102's were that much faster. That's valuable info!

    -Rick
  78. Re: Need someone smarter than me to write code for POV displays

    Thank you!
    -Rick
  79. Re: Need someone smarter than me to write code for POV displays

    Thanks for the info, but this is a MUCH bigger project. The software that generates the animated graphics has to run on both PC and Mac, and the display part will be using a PIC. They will be...
  80. Re: Need someone smarter than me to write code for POV displays

    I just sent him a PM.

    Thanks.

    -Rick
  81. Re: Need someone smarter than me to write code for POV displays

    Thanks, guys, but I think I must not have explained clearly. POV means "Persistence of Vision". In this case there will be four arms with 128 RGB LED's on both sides of each one. These will be...
  82. Need someone smarter than me to write code for POV displays

    I've been contacted by a company that wants to develop some large full-color POV displays capable of showing animated graphics. I can handle the hardware aspect of this project, but the firmware that...
  83. Replies
    23
    Views
    50

    Re: Digital power mesurement

    Texas Instruments has some reference designs for 3-phase watt-hour meters that may be of interest: http://www.ti.com/solution/smart-e-meter-amr-ami

    Since these are used by the electric utilities...
  84. Replies
    32
    Views
    162

    Re: New PICkit 4 available

    If I squint at it just so I think I could convince myself that it's orange, but it looks pretty much red to me.
    What color is it supposed to be after successfully programming?
    The IPE says this:
    ...
  85. Replies
    32
    Views
    162

    Re: New PICkit 4 available

    Hi John-
    I'm only slightly red/green colorblind, but the big mystery for me is that there is an RGB LED in there, but I have never seen the green part illuminate.
    Call me crazy, but why not...
  86. Replies
    32
    Views
    162

    Re: New PICkit 4 available

    Just got my new Pickit 4. The initial evaluation is not good. I used Mplab X IPE (not IDE) for these tests.

    So far, I have only found one type of chip it will program- a PIC18F4685. The good...
  87. Replies
    1
    Views
    25

    Hosting datasheets

    Here's one out of left field- I just found about about a person who has scanned 300,000 pages of spec sheets for old IC's and other semiconductor devices in order to preserve the information...
  88. Replies
    30
    Views
    64

    Re: PicKit 2 stopped working

    [QUOTE=charliecoultas;512074]Rick: I input "sfc/scannow" under Run as admin, and I got a box reminding me that my PKZip trial had expired./QUOTE]
    Try uninstalling PKZIP (the trial has expired...
  89. Replies
    30
    Views
    64

    Re: PicKit 2 stopped working

    Hi Charlie-
    Try this: Open a command prompt as Administrator and type: sfc/scannow. That invokes the system file checker that should replace any missing or corrupted system files.

    Off topic:...
  90. Replies
    16
    Views
    40

    Re: Push or pull on fan

    Probably not appropriate for your project, but FWIW we use these: http://derale.com/products/fluid-coolers/engine/remote-mount on some of our products. I'm driving the motors with PWM and they...
  91. Replies
    6
    Views
    21

    Re: PIC16F1503 Fixed Voltage Reference

    Hi Barry-
    It looks to me like the wizards at Microchip have done something really strange here. The way I read the spec sheet for the 16F1503, the Fixed Voltage Reference cannot be used as the...
  92. Re: Best choice, 18F26K22 or 16F18857 for Mat/Calc. IOC Edge trigger?

    Hi Henk-
    Don't get too hung up on the Schmitt trigger inputs. If you've got a chip that does everything else you need, just hang a couple of 74LVC1G14SE-7 on two of the pins. Note that these single...
  93. Re: Getting old, need help on suitability ttl vers RS232

    I agree with all of the above, but let me add one comment. If running TTL, things go "poof" when the voltage exceeds about 5 volts. RS232 (and RS485) buffers are usually good to 30 volts or more,...
  94. Re: H bridge driver for 12v Motor recomendations

    Hi Tim-
    Try dropping the PWM frequency WAY down. Maybe as low as a few hundred hertz. This will help the motor get started at lower pulse widths. I discovered that when I was helping someone build...
  95. Re: DAC 18F25K22, How to acces, and is it for analog only, or even digital?

    Wow! That's not much of a DAC!. It looks like there are only 32 states, so to get 2.5 volts you'd need to send Dec. 16.


    Set the CHS bits of ADCON0 to 11110


    Yep- just a MUX with a resistor...
  96. Replies
    8
    Views
    16

    Re: 18F4580 LCD on PORTD Lower Nibble 4 Bit

    Yep. Time to break out the jumpers!

    -Rick
  97. Replies
    8
    Views
    16

    Re: 18F4580 LCD on PORTD Lower Nibble 4 Bit

    Hi John-
    I'll bet that the comparators haven't been disabled. They are multiplexed with the lower 4 bits.

    I presume that when you're trying the lower 4 bits you've reconnected LCD data bits 4-7...
  98. Replies
    51
    Views
    1,163

    Re: BME280 Humidity/Pressure/Temperature code

    I just re-tested all of my sensors after the "reconditioning procedure", and I'm sorry to report that there's no change.

    The search for a solution continues.............

    -Rick
  99. Replies
    51
    Views
    1,163

    Re: BME280 Humidity/Pressure/Temperature code

    I just discovered this in thew spec sheet:

    I'm working on setting this up now.

    -Rick
  100. Replies
    51
    Views
    1,163

    Re: BME280 Humidity/Pressure/Temperature code

    I'm seeing the same thing. I thought the humidity sensor was not working, but as you point out it is working, but the values it is reporting are off in the weeds. I think it's more than calibration...
  101. Replies
    13
    Views
    27

    Thanks for the Holiday Theme, Lester!

    Hi Lester-

    Thanks for putting the Christmas lights back up! I really missed them but I knew you are snowed under (no pun intended), so I didn't ask.

    Merry Christmas!

    -Rick
  102. Thread: Help Wanted !

    by rcurl
    Replies
    16
    Views
    46

    Re: Help Wanted !

    Hi Lester-
    I'm in the same boat as Ricardo, but count me in.

    -Rick
  103. Replies
    51
    Views
    1,163

    Re: BME280 Humidity/Pressure/Temperature code

    I do have a good microscope. The thing that worries me is that these parts just keep getting smaller.
    Maybe a scanning electron microscope is next?

    -Rick
  104. Replies
    6
    Views
    32

    Re: 18F4580 CAN Bus & HBUSOUT

    Hi Bob-
    I had a similar problem and it went away when I moved all of the subroutines to the top of the code and then jumped over them. I don't see the main loop in the snippet you posted so I can't...
  105. Replies
    51
    Views
    1,163

    Re: BME280 Humidity/Pressure/Temperature code

    Hi Bob-
    The BME280's have all three sensors (Temp, Barometer, Humidity), and the BMP280 only has Temp. and Barometer. The problem I am having is that the listing says BME280, and the chip has the...
  106. Replies
    51
    Views
    1,163

    Re: BME280 Humidity/Pressure/Temperature code

    Just a heads-up- We use a lot of BME280's in our products, and recently there has been a flood of BMP280's that are mis-marked as BME280's. If you get one of these, the temperature and pressure...
  107. Re: Understanding how to develop an lookup algorithm

    I'm certainly NOT suggesting using scrap parts in the product- just suggesting a way to quickly determine if this approach will work, and to discover what brands of line scan sensors are being used...
  108. Re: Understanding how to develop an lookup algorithm

    If I were doing this, Id start by buying some cheap hand-held document scanners on eBay or stopping at the Thrift Store to pick up some used fax machines to disassemble. That would be the quickest...
  109. Re: Understanding how to develop an lookup algorithm

    Hi Tim-
    Rather than a camera I wonder if it would be practical using a CCD line scan array like you would find in a fax machine or document scanner. These are essentially a long line of photodiodes...
  110. Replies
    18
    Views
    26

    Re: PicKit3 Programmer

    Hi Charlie-
    Look on eBay and get the ones in the white rectangular case. Those are put together very nicely.
    We tried a bunch of the knock-offs that look just like the original Microchip Pickit...
  111. Replies
    21
    Views
    21

    Re: Signal ground throuh output pin

    Wow! Sorry to hear the bad news. Look forward to the day that this all becomes a distant memory. Until then we'll keep you in our prayers.

    Meanwhile, it looks like you've got lots of hackable...
  112. Replies
    21
    Views
    21

    Re: Signal ground throuh output pin

    Hi Bob-
    You got quiet. Is the procedure done? All OK?

    -Rick
  113. Replies
    21
    Views
    21

    Re: Signal ground throuh output pin

    My thinking for having an LCD at the sending end is that you would be able to provide messages like "Voltage detected on core 5" or "Short detected between 3 and 5".
    The TVS diodes will be a...
  114. Replies
    21
    Views
    21

    Re: Signal ground throuh output pin

    The cable tester sounds interesting.

    If I'm understanding correctly:
    At the sending end there's a PICand LCD display to indicate voltage present or shorted cores. Each core of the cable being...
  115. Replies
    21
    Views
    21

    Re: Signal ground throuh output pin

    Hi Bob-
    Hope the procedure goes well today.

    When you said you were in hospital I of course assumed it was related to a two-wheeled vehicle and excessive speed.

    What kind of signalling are...
  116. Replies
    10
    Views
    860

    Re: GSM communication with SIM900

    Hi Steve-
    I don't want you to think I'm ignoring you. Les's comments are light years ahead of anything I've done with the SIM900 (Actually I'm using the SIM800 now).

    In my application most of...
  117. Replies
    16
    Views
    35

    Re: Add compile data to hex file

    Nice! Thanks, Harm!

    -Rick
  118. Replies
    16
    Views
    35

    Re: Add compile data to hex file

    Yes, but if you open one of the HEX files produced by the CCS compiler using Notepad, you can't edit it but it's very simple to scroll to the bottom of the file where you can clearly see the compile...
  119. Replies
    16
    Views
    35

    Re: Add compile data to hex file

    I use it too and it has saved my butt more times than I can count. Thanks, Dave!!
    Oh- you've been to my shop?
  120. Replies
    16
    Views
    35

    Re: Add compile data to hex file

    Interesting....I'm going to have to cogitate on this...........
  121. Replies
    16
    Views
    35

    Re: Add compile data to hex file

    True, but our guys in the field don't have access to that information. I need something that someone can see using Notepad.

    Thanks for the thoughts, though.

    -Rick
  122. Replies
    16
    Views
    35

    Re: Add compile data to hex file

    That's true, assuming that you have access to the ASM and BAS files, but the HEX files often get renamed and distributed to our field support personnel- often out of my control. I get frequent calls...
  123. Replies
    16
    Views
    35

    Add compile data to hex file

    One of the other compilers we use adds some useful information to the end of each hex file:


    ; REMOTE UPDATER/LOGGER
    ; FW VERSION: 6.33.1
    ; CCS C COMPILER PCH: "5.062"
    ; BUILD TIME:...
  124. [SOLVED !] Re: Modem interfered with Proton Basic download

    Strange- Out of all the troubles I had with Satellite Internet, I never had that one. I guess it's a moot point now that it's working, but if it happens again, I'd try running a continuous ping...
  125. [SOLVED !] Re: Modem interfered with Proton Basic download

    Hi Gary-
    What happened when you tried to download?
    Several years ago I was using HughesNet satellite service. Aside from being painfully slow at times and not working at all during heavy rains, I...
  126. Replies
    11
    Views
    533

    [SOLVED !] Re: How to prevent NE556 from overheating?

    Make sure R3 is not set to the miniumum value. If it is, the discharge transistor on pin 13 will be drawing a LOT of current. If this is the case then adding a small resistor in series with R3 will...
  127. Replies
    12
    Views
    14

    Re: New User In California

    I think you'll find that Proton is head and shoulders above the others- plus, we've got a vibrant support group (no, I don't work for Crownhill).
    Just to clarify something- you mention PicBasic Pro-...
  128. Re: Floating Point Arrays added to standard Proton

    Thanks, Les! Although the new mechanism for high endurance memory is sure to be useful, Dec0 is the one I've been waiting for.

    Your continual updates and imjprovements are always appreciated.
    ...
  129. Replies
    12
    Views
    14

    Re: New User In California

    Hi Bob-
    There are a bunch of us here in the 'States. I'm in Birmingham, Alabama and there are some users just North of me in Huntsville. I know there are many others too but I'm not sure where most...
  130. Replies
    53
    Views
    2,960

    Re: A new Stats collector plugin

    That's the first time I've opened Settings in Stats Collector. There's nothing checked.
    3257
  131. Replies
    53
    Views
    2,960

    Re: A new Stats collector plugin

    Hi John-
    Is there a way to temporarily disable Stats Reporter without uninstalling it? On the really big programs it is very useful, but when working on really short stuff that gets recompiled...
  132. Replies
    1
    Views
    113

    [SOLVED !] Re: PIC24F08KL200 at 32 Mhz

    Update: I just added a couple of lines of test code that would toggle an output pin at a 1mS rate, and it is toggling at the correct rate. Upon reading the spec sheet more closely I see that CLKO is...
  133. Replies
    1
    Views
    113

    [SOLVED !] PIC24F08KL200 at 32 Mhz

    Although I have worked with 8-bit PICs for a long time, there's a lot about the 16 bit devices that mystifies me.

    I'm trying to run a PIC24F08KL200 at 32 Mhz using its internal oscillator at 8 Mhz...
  134. Replies
    8
    Views
    317

    Re: Variable naming best practice

    I notice that most of the suggestions above use both upper and lower case characters. I always make sure to use mixed case when declaring variables, and then when I'm entering my code I always enter...
  135. Thread: Survey

    by rcurl
    Replies
    9
    Views
    270

    Re: Survey

    Hi Joseph-
    Tried again- Can't get past question 10. It still says "!This question requires an answer". The reason I can't answer is first, that I haven't had a leisure vacation that involved travel...
  136. Thread: Survey

    by rcurl
    Replies
    9
    Views
    270

    Re: Survey

    Hi Joseph-
    I tried to take the survey but could not complete it. There are several sections where an answer is required, but none of the available choices applied.
    Examples: Which of the following...
  137. Replies
    4
    Views
    383

    Re: NEW USB License Key - Shipping cost to U.S.

    Thanks, Lester! Flat rate shipping is very good news. Ordering now...........

    -Rick
  138. Replies
    4
    Views
    383

    NEW USB License Key - Shipping cost to U.S.

    Hi Lester-
    I started to order one of the new USB license keys as a backup, but the shipping cost to the United states is really high- more than the cost of the key itself. Are there any suppliers in...
  139. Replies
    5
    Views
    397

    Re: PDS ABOUT screen + display magnification

    Agree. I couldn't find it either. Decreasing the resolution seems to be working fine, though.

    -Rick
  140. Replies
    5
    Views
    397

    Re: PDS ABOUT screen + display magnification

    Hi George- That's true, but the reason I needed bigger fonts is for all of the stuff I do -not just PDS.
    Thanks for the suggestion, though.

    -Rick
  141. Replies
    5
    Views
    397

    Re: PDS ABOUT screen + display magnification

    **UPDATE**
    I just realized that if I put the magnification back to 100% and then decrease the screen resolution a bit I still get the larger text I needed **and** both PDS and MikroProg are behaving...
  142. Replies
    5
    Views
    397

    PDS ABOUT screen + display magnification

    As I get older my collection of magnifiers seems to be growing. A couple of weeks ago I gave in and increased my screen magnification to 125%, which helped a lot. Right away I discovered that...
  143. Replies
    3
    Views
    206

    Re: Blink and LED for the first time

    YES! I only wish it happened more often.
  144. Replies
    3
    Views
    206

    Re: Blink and LED for the first time

    ***UPDATE***
    Success!! Got it working. Looks like the code was OK, but I was using a Phyton universal programmer to program the PIC, and it must have been failing to program properly. I got the...
  145. Replies
    3
    Views
    206

    Blink and LED for the first time

    Even through I've been around for a long time, I almost think I should have made this post in the "Absolute beginners" section.

    I'm working with a 16-bit PIC for the first time (24F16KA102), and...
  146. Replies
    9
    Views
    246

    Re: COUNTER command on an SFR bit

    Thanks, Joseph-
    I got pulled off to work on another project this afternoon. Looks like it will be Monday before I can get back to this one.

    -Rick
  147. Replies
    9
    Views
    246

    Re: COUNTER command on an SFR bit

    Thanks, Joseph. but I don't have the output of the comparator available. I would love to get a look at the code, though.

    -Rick
  148. Replies
    9
    Views
    246

    Re: COUNTER command on an SFR bit

    I like the suggestions.
    This program doesn't have much else to do aside from making an output pin high if the input is greater than 5Khz and low if it's lower than 5 Khz. It will nominally be...
  149. Replies
    9
    Views
    246

    COUNTER command on an SFR bit

    Now that I've got the comparator working in my 16F88 (Thanks to Shantnau and Stephen Moss) I need to count how many times it tripped in a millisecond. It's going to be toggling at about a 10Khz rate...
  150. Replies
    3
    Views
    287

    Re: Analog comparator on 16F88

    Thanks, guys!

    I missed that about having to be in mode 101 to use the internal reference. I changed to 010 but it still didn't work.

    Turns out the problem was elsewhere (but you still pointed...
  151. Replies
    3
    Views
    287

    Analog comparator on 16F88

    I can't seem to get the analog comparator working on a 16F88.

    Here's my simple test code:

    Device = 16F88
    Declare Reminders off
    Config1 INTRC_IO, WDT_OFF, PWRTE_ON, MCLR_OFF, BODEN_ON,...
  152. Replies
    2
    Views
    239

    Oread on open drain pin

    Since using the Owrite and Oread commands require a 4.7K pullup resistor, does that mean that I can use them on an open drain pin? I'm working with a PIC18F1320 on an existing board and PortA.4 is...
  153. Replies
    3
    Views
    288

    Re: Multiple instances of PDS in registry

    Thanks, Harm-
    That's what I suspected, but this is running on a production computer, so I had to be extra careful.

    -Rick
  154. Thread: DC/DC Converters

    by rcurl
    Replies
    2
    Views
    233

    Re: DC/DC Converters

    Hi Shantanu-
    I haven't used any of the 3 watt modues. but I've been very pleased with some of the other DC/DC converters from Sunyuan: http://www.szsunyuan.com/y2i3m6/sy/pro_more.asp?Productid=463
    ...
  155. Replies
    3
    Views
    288

    Re: Multiple instances of PDS in registry

    UPDATE: I took a chance and uninstalled all but the most recent version by going to Control Panel and then "Programs and Features" I was afraid to use Revo Uninstaller for fear that it may be too...
  156. Replies
    2
    Views
    248

    [SOLVED !] Re: 18F4550 - Declare Adin_Res 8 or 10

    Hi Leo-
    You may have forgotten to right justify the A/D reading. By default the A/D value will be left-justified in a 16-bit space. On the 18F4550 you have to set ADCON2.7 (the ADFM bit) to 1.
    ...
  157. Replies
    3
    Views
    288

    Multiple instances of PDS in registry

    I was running Revo Uninstaller to remove a program unrelated to PDS, but while I had Revo running I noticed that it **looks** like I have 7 earlier copies of Proton Compiler Suite installed.
    Should...
  158. Replies
    4
    Views
    236

    Re: Interfacing smoke detector

    Hi Shantanu-
    I think your safest bet would be to use a System Sensor 2W-MOD2 interface, which will convert the 2-wire sensors to 24 volt operation with separate contact closures for fire and...
  159. View Post

    Hi Stephen-
    Going back and re-reading Mentcleer's post, I see that he is only using a single pot. I was thinking he was using the PS2 controller without modifying it, which would have had the...
  160. View Post

    Remember that there are two 10K pots with the elements in parallel. Look here: http://3.bp.blogspot.com/-LLRdfchIqJo/VJbiGzYwPPI/AAAAAAAABmc/RZzqkQVPt8U/s1600/JoystickWiring.png
    You should still...
  161. Thread: 0.1uF Required?

    by rcurl
    Replies
    11
    Views
    447

    Re: 0.1uF Required?

    Hi Bob-
    They are linked internally so separate caps are not required. I have always been in the habit of tying them together externally via a trace on the PCB, but that may not be necessary.
    Be...
  162. Thread: 0.1uF Required?

    by rcurl
    Replies
    11
    Views
    447

    Re: 0.1uF Required?

    A 1 uF ceramic capacitor by itself should do fine. I have begun using ceramics up to 22uF instead of electrolytics. Be aware that the ceramics reduce their capacitance as the applied voltage...
  163. Replies
    11
    Views
    516

    Re: Very high precision heater element control

    I don't think you will need to worry about the change of current thorugh a sine wave. Using a zero-crossing switch at 50Hz you could drive the heater full on until you get close to the desired...
  164. Replies
    11
    Views
    516

    Re: Very high precision heater element control

    Hi Tim-
    I agree with Les. Especially since you're not having to deal with an inductive load, it should be simple.
    Let me add to something Les said. Using an opto with null (zero cross)...
  165. Replies
    7
    Views
    704

    Re: Display no decimal point on a float.

    Thank you Les! Dec0 is a welcome addition. The HrsoutLn commands will allow me to simplify my code too.

    Your ongoing additions and improvements to PDS are very much appreciated.

    -Rick
  166. Re: Replace the PRINT command to use I2C backpack on 1602 LCD- change define.

    Thanks very much for contributing this, John-
    This will solve a problem on a project I've got scheduled for a couple months out, so your timing is perfect. It would be great if we could get both...
  167. Re: using PIC18F26J50 to read self battery voltage

    From your other posts it looks like you're not using the Proton compiler. Have you tried it yet?

    -Rick
  168. Replies
    2
    Views
    353

    Re: HPWM anomaly 16F1827?

    Hi Joseph-
    I can confirm that I am getting the same error as you. I haven't found the problem yet but I did notice something very curious about the datasheet. Look at table 12.1 where it shows...
  169. Replies
    2
    Views
    306

    [SOLVED !] Re: Font Creator for use with DOGM128x64

    Hi Harry-
    The last time I converted fonts for use with Barak's driver was several years ago, and I used "GLCD Font Creatorr", which was written by Octal (one of the members in the forum). He has...
  170. Replies
    53
    Views
    2,960

    Re: A new Stats collector plugin

    John found the problem. The parser is objecting to additional spaces between AS and the data type definition.
    I.E.:
    Dim MyString As String * 20
    Dim MyByte As Byte

    But only if they appear in...
  171. Replies
    53
    Views
    2,960

    Re: A new Stats collector plugin

    Sorry- still no joy.

    Uninstalled per post #36
    Made sure errors went away
    Deleted downloaded zip file
    Downloaded fresh copy
    Re-installed
    The only change is now as soon as I start PDS I get a...
  172. Replies
    53
    Views
    2,960

    Re: A new Stats collector plugin

    Hi John-
    I just downloaded the file from the Wiki and reinstalled but there's no change. I tried to uninstall until this gets resolved, but the uninstall is not working.
    I am still able to compile...
  173. Replies
    53
    Views
    2,960

    Re: A new Stats collector plugin

    Hi John-
    Thanks for sharing this. Unfortunately I can't get mine to run. I installed the Autostart version from the link in post #32 but every time i compile I get "Access control violation at...
  174. Thread: Can't buy PDS!

    by rcurl
    Replies
    3
    Views
    396

    Re: Can't buy PDS!

    --but if you order by 2pm you can have it the next day!
  175. Replies
    3
    Views
    344

    Glad to see the holiday lights!!

    Thanks to Lester for bringing back the Christmas lights!! I was just about to post a thread asking for them. I hate to admit it, but I accidentally broke a few of them last year. Good to know you...
  176. Replies
    7
    Views
    798

    [SOLVED !] Re: Windows 7 and 10 laptops

    I agree! I use it every day. It's nice that it can index network drives too.

    -Rick
  177. Replies
    17
    Views
    2,321

    Re: Using the Pickit 3 without Mplabs

    Hi George-

    Define "Enhanced"....... Aside from a nice box, a clean layout, and big bright LED's they seem to be pretty much the same as the original "Genuine" Microchip product.

    -Rick
  178. Replies
    17
    Views
    2,321

    Re: Using the Pickit 3 without Mplabs

    UPDATE: I finally found a good source for reliable Pickit2 clones.
    Rather than post a link that is likely to change in a day or two, get on eBay and look of one that looks like this:
    3174
    I...
  179. Replies
    17
    Views
    1,117

    Re: Dropping 24v AC to 12v

    Hi Tim-
    Try this: Go to TI.com and click on "Webench Designer"
    Enter 30V min 36V max, 5 volts Vout and 2 amps Iout. Click "Start design".

    Cool, huh!

    -Rick
  180. Replies
    5
    Views
    630

    Re: Water detection. As problem solved

    Nice solution. Thanks, Tim!

    -Rick
  181. Replies
    11
    Views
    893

    Re: Proton Facebook Group

    You know, it's funny- you'd think the members of a group like this one would be all over Social Media. But from the comments about Facebook (now and in the past) you'd think we were a bunch of...
  182. [SOLVED !] Re: Pconfig.inc problem when using "buffered rsin" on a 18F2431

    HI Peer-
    I just tried compiling "Buffered RSIN Demo.bas" from the samples folder. I added "Device = 18F2431" to the top and it compiled OK. Not sure where your error is coming from.

    -Rick
  183. [SOLVED !] Re: Pconfig.inc problem when using "buffered rsin" on a 18F2431

    If you want to either post your code or PM me a copy I'll try to compile it and have a closer look.

    -Rick
  184. Replies
    4
    Views
    472

    Re: Power Supply Design Questions and Ideas?

    Click on "Power Architect" on their site and you can do multiple output designs.

    -Rick
  185. [SOLVED !] Re: Pconfig.inc problem when using "buffered rsin" on a 18F2431

    Hi Peer-
    The picture's too small and I can't read the error message. What was it?

    -Rick
  186. Replies
    4
    Views
    472

    Re: Power Supply Design Questions and Ideas?

    Hi Craig-
    I'd suggest going to www.ti.com and run their "Power Designer" tool. After entering your requirements it will design the regulator for you.

    -Rick
  187. Thread: Alpha LCD

    by rcurl
    Replies
    3
    Views
    386

    Re: Alpha LCD

    Hi Craig-
    Can you narrow down whether the problem is with B.4 or B.5?
    If it's B.5 I'd suggest making sure that the low voltage programming fuse is turned off.
    If it's B4, make sure the pin is...
  188. Replies
    33
    Views
    3,054

    Re: Accelerometer erroneous results "Float"

    Great! Glad to hear it. Now I can go back and simplify my code that uses your driver.
    A big THANK YOU to Les and Barak!

    -Rick
  189. Replies
    33
    Views
    3,054

    Re: Accelerometer erroneous results "Float"

    Hi Mentcleer- I am certainly not suggesting that this is the solution to the problem- I'm just suggesting a way to find out what is causing the wrong values to be displayed. I did speak with Barak...
  190. Replies
    33
    Views
    3,054

    Re: Accelerometer erroneous results "Float"

    Here's the way I did it:



    Dim Dig0 as word
    Dim Dig1 as word
    Dim Dig2 as word
    Dim Dig3 as word
    Dim Bvar as Float
  191. Replies
    33
    Views
    3,054

    Re: Accelerometer erroneous results "Float"

    I had exactly the same problem you're having. I thought my math was in error when I was getting wrong digits displayed on the screen but it turned out to be a problem with the driver. I'll be happy...
  192. Replies
    33
    Views
    3,054

    Re: Accelerometer erroneous results "Float"

    Barak Dar posted a driver for LCD displays that use the ST7565 chipset. It's some very nicely written code that allows you to print large characters, but it has a problem that it may print...
  193. Replies
    33
    Views
    3,054

    Re: Accelerometer erroneous results "Float"

    Aha! Are you by any chance using Barak's 7565 code to drive the display? If so, printing a float value sometimes gives an incorrect display. Try sending one digit at a time from the result and see...
  194. Replies
    17
    Views
    2,321

    Re: Using the Pickit 3 without Mplabs

    Very sorry to be the bearer of bad news, but I just received an email from Sure electronics stating that they have discontinued their Pickit 2 & 3's.

    Does anyone know of a reliable source of good...
  195. Replies
    17
    Views
    2,321

    Re: Using the Pickit 3 without Mplabs

    Hi George- That's true, and I've tried a bunch of them.

    We use lots of clone Pickit 2's and 3's around the shop in "programmer to go" mode, Some observations about the pickit clones on eBay:...
  196. Replies
    10
    Views
    860

    Re: GSM communication with SIM900

    Hi Tincho- and welcome to the forum!
    If you can post a snippet of your code I'll try to help. By the way, I'm just starting on a project using a SIM800. Glad to know other PDS users are working...
  197. Replies
    5
    Views
    701

    Re: 48V/5V DC-DC converter

    Hi Shantanu-

    Microchip has an interesting device called the HV9922 that they just acquired from Supertex. It's intended to be an LED driver, but it also makes a very nice (and simple) 50-100mA...
  198. Replies
    3
    Views
    898

    Re: Delayed / Missing email notifications

    Update- Everything seems to be fine now. Must have been a transient hiccup in the fabric of time and space!

    -Rick
  199. Thread: strange picto

    by rcurl
    Replies
    2
    Views
    392

    [SOLVED !] Re: strange picto

    Hi Raf-

    Look in your PDS directory and notice the icon associated with PrPlus.exe That exe is the "Proton Frontend Loader", part of the Proton suite. I have no idea why your friend is seeing the...
  200. Replies
    8
    Views
    856

    Re: A word of Warning about Windows 10

    Trust me, Tim- You don't want Windows 10.
    I was hesitant to install it, but decided to try it on my Laptop. During the install process I chose "custom install", and for the next half hour very...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4