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. Replies
    26
    Views
    671

    Re: Coronavirus Alert!!

    Hi folks-
    I seem to be affected less than most.
    1. I live and work in Alabama (USA), and we've got fewer cases than many states.
    2. I'm salaried, so if I get sent home I still get paid.
    3. My...
  2. Replies
    20
    Views
    418

    Re: Current transformer AC - DC

    Be aware that those circuits will give you a peak value. If the waveshape is not sinusoidal there will be errors.
    If you need really good accuracy, also if the input might not be a sine wave, try...
  3. Replies
    19
    Views
    859

    Re: error in lcd 16x2

    Hi Stephen- Are you sure low voltage programming is turned off in the fuse configuration? That will keep B.5 from becoming an output.

    -Rick
  4. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Hi Stephen-
    I know almost nothing about MPLAB, but I did load my hex file and I can see all of the configuration fuses are set correctly, but ALL of the SFR's are zero.
    I'm probably doing something...
  5. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Hi George-
    I'm persevering with it only because I kind of have to. There are hundreds of these boards already out in the field and I need to remain backward compatible. LVP is not an option because...
  6. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Thanks, John-
    In this case the Pickit 3 won't recognize the 16F88 at all, whether the board is externally powered or not.
    I've tried the Pickit 2 both powering the board and with external power to...
  7. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    I agree totally! PicKit Plus is great. I use it all the time. BTW- If you look on eBay, the Pickit 2 clones that come in beige-colored rectangular box are really good. My company uses a bunch of...
  8. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    I do have a Pickit 4 here but I've had nothing but trouble out of it and stopped using it about 6 months ago. Based on your suggestion I did get it back out to try it. I had to install a newer...
  9. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    I wish it was that simple. I did try slower programming on real Pickit 2's and 3's and on clone Pickit 2's and 3's. No joy.

    Thanks for the thought, though!

    -Rick
  10. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Thanks for the code, Les. It works as expected and the baud rate is correct. Microchip's spec sheet is definitely in error about the default states of the OSCCON bits.
    I agree with your thoughts...
  11. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Yep- got power & ground, and MCLR is pulled high via a 10K resistor. Same ICSP arrangement I've used on hundreds of other boards.

    I think it's time of me to pick a chip other than 16F88. ...
  12. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Thanks for all the replies. I'm out of the office until Monday morning but I'll jump back on it then.

    -Rick
  13. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Thanks for the suggestion.

    Tried Vpp first option but I'm getting "No device found". This is odd because my ICSP connection is very simple. 10K pullup on MCLR, PGC & PGD go straight to the ICSP...
  14. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Hi Flosi-
    Yes- that's a good suggestion- but the problem here is that the programmer is throwing an error message. The code runs fine (anyway).

    -Rick
  15. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    I can't reproduce that here. It fails either way.
  16. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    That's a relief. I was beginning to wonder if it was planetary alignment or something.

    Notice that if you turn MCLR back on the error goes away.
  17. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Don't know why the forum does that. The OSCCON was actually set to %01110010.

    Don't know why yours works and mine doesn't. Is your 16F88 in a DIP package?
  18. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Here's the most minimal code that will reproduce the problem. It looks like the "print at" statement aggravates it.

    Device = 16F88

    Xtal 8

    Declare Reminders off
    Config1 INTRC_IO,...
  19. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Thanks very much!
    I just tried compiling with just the fuses and OSCCON setting, and was surprised to see that the error goes away. I'll start working my way through the code and see what triggers...
  20. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Thanks Joseph-
    I had high hopes for a minute there. I remember a discussion about this from a long time ago.

    Unfortunately the problem remains.

    I went into the fuse configurator settings and...
  21. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    To add to the strangeness, I just discovered that changing MCLR_OFF to MCLR_ON in the fuse config makes it program normally- but I don't want MCLR to be on.
    I did find a mention of a similar...
  22. Replies
    41
    Views
    1,746

    Re: Something screwy about 16F88 OSCCON register

    Hi David- Here's a snippet from the 16F88 spec sheet:
    3882
    Above bits IRCF2, 1, and 0 it says "R/W-0", which means the bit is readable and writable and defaults to 0 if not set.

    Still stumped....
  23. Replies
    41
    Views
    1,746

    Something screwy about 16F88 OSCCON register

    This may be a 2-part problem.
    I was working on some code for a 16F88 and when I program it using my Pickit 2 I'm getting the error "Verification of configuration failed". To get to the cause of the...
  24. Replies
    11
    Views
    469

    Re: Merry Christmas everyone

    I hope all my friends here and all your families have a wonderful Christmas! We all have MUCH to be thankful for.

    Here in the deep south of the United States it's unseasonably warm. Today will be...
  25. Replies
    7
    Views
    728

    [SOLVED !] Re: Clean up old versions

    I think I've got it fixed now.
    I was afraid to use Revo Uninstaller because it may delete too much.
    I backed up my drive and used control panel to delete all but the most recent version. After...
  26. Replies
    7
    Views
    728

    [SOLVED !] Re: Clean up old versions

    I wish it was that simple. They actually do point to different locations. One points to C:\temp_PDS and the other points to C:\program files\(x86)\ProtonIDE. Both location contain version 3.7.3.3....
  27. Replies
    16
    Views
    3,965

    Re: Newbie to the forum

    You project sounds interesting (and challenging).
    Our resident CAN bus guru is Bob, RGV250. He's done a lot of work with it and has created a CAN library. Hopefully he will chime in on this.
    ...
  28. Replies
    7
    Views
    728

    [SOLVED !] Clean up old versions

    I just installed 3.7.3.3 and after the install was done I had two shortcuts on my desktop. It appears I have two working versions installed at the same time. I ran Revo Uninstaller to see if I...
  29. Replies
    16
    Views
    3,965

    Re: Newbie to the forum

    Hi Rob-
    Welcome! Glad you joined us. I've never used a high temperature PIC. Very curious what you're up to (if it's not a secret!).
    We've got a few users on the forum that have done a lot of work...
  30. Thread: Christmas Lights

    by rcurl
    Replies
    8
    Views
    667

    Re: Christmas Lights

    Why, yes Dr. Kirchoff, I am!
    ***groan***

    -Rick
  31. Thread: Christmas Lights

    by rcurl
    Replies
    8
    Views
    667

    Re: Christmas Lights

    WooHoo! Thanks Lester.
    Trouble is- when one goes out they all go out.

    -Rick
  32. Thread: Christmas Lights

    by rcurl
    Replies
    8
    Views
    667

    Re: Christmas Lights

    Yes!- or maybe this guy: https://www.flickr.com/photos/[email protected]/8544164899
    (From the Rocky and Bullwinkle show)

    -Rick
  33. Thread: Christmas Lights

    by rcurl
    Replies
    8
    Views
    667

    Christmas Lights

    Hi Lester-
    Can we have the Christmas lights on the forum this year? I guess I'm easily amused, but I really enjoyed them last time.

    Thanks.

    -Rick
  34. Replies
    5
    Views
    349

    Re: Ad blocker is off but forum thinks it's on

    Seems that a reboot fixed the problem. I should have tried that before posting. Sorry for the false alarm.

    -Rick
  35. Replies
    5
    Views
    349

    Re: Ad blocker is off but forum thinks it's on

    Thanks, Tim- I did a little more digging. This seems to happen on Opera (my preferred browser) and Chrome, but not on Firefox or IE. Strange. I'm running Windows 8.1.

    -Rick
  36. Replies
    5
    Views
    349

    Ad blocker is off but forum thinks it's on

    I have my ad blocker disabled on Crownhill's site, and I am seeing ads, but every time I open a thread in the forum I get the pop-up: "Attention. This valuable resource relies on the very small...
  37. Replies
    8
    Views
    524

    Re: Programming the FT232R

    Lester is right. FTDI's drivers bricked a bazillion Arduino boards and got them a lot of bad press. They realized the error of their ways and have since fixed it. Unfortunately there are a LOT of...
  38. Replies
    8
    Views
    524

    Re: Programming the FT232R

    Hi Bob-
    In most cases you only need to program them if you want to put your own Vendor ID (VID) and Product ID (PID) in them. You don't need a special programmer, just FTDI's programming software:...
  39. Thread: RS 485 isolator

    by rcurl
    Replies
    8
    Views
    610

    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...
  40. Replies
    73
    Views
    1,704

    [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...
  41. Replies
    19
    Views
    986

    Re: Microcap now free

    Thanks, John!

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

    -Rick
  42. Thread: Comeback post

    by rcurl
    Replies
    3
    Views
    199

    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...
  43. Replies
    5
    Views
    2,507

    Re: Newbie to the forum!

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

    ...and welcome back Ivan!

    -Rick
  44. Replies
    9
    Views
    261

    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...
  45. Replies
    23
    Views
    324

    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:...
  46. Thread: 18f4331 LCD Woes

    by rcurl
    Replies
    5
    Views
    166

    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...
  47. Replies
    6
    Views
    192

    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...
  48. Replies
    6
    Views
    192

    Re: Happy Birthday Rick

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

    -Rick
  49. Thread: Serial EEproms

    by rcurl
    Replies
    4
    Views
    292

    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
  50. Thread: Serial EEproms

    by rcurl
    Replies
    4
    Views
    292

    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...
  51. Thread: Serial EEproms

    by rcurl
    Replies
    4
    Views
    292

    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...
  52. Replies
    6
    Views
    185

    Re: Floating point strangeness

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

    -Rick
  53. Replies
    6
    Views
    185

    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
  54. Replies
    6
    Views
    185

    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
  55. Replies
    6
    Views
    185

    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...
  56. Thread: Code error

    by rcurl
    Replies
    2
    Views
    162

    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....
  57. Replies
    19
    Views
    417

    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...
  58. Replies
    19
    Views
    417

    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...
  59. Replies
    4
    Views
    118

    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
  60. Replies
    4
    Views
    118

    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....
  61. Replies
    42
    Views
    880

    Re: Web site advertising

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

    -Rick
  62. Replies
    42
    Views
    880

    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
  63. Replies
    42
    Views
    880

    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.
  64. Replies
    21
    Views
    288

    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:...
  65. Replies
    42
    Views
    880

    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...
  66. Thread: Forum withdrawal

    by rcurl
    Replies
    4
    Views
    275

    Re: Forum withdrawal

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

    by rcurl
    Replies
    4
    Views
    275

    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
  68. Thread: Pickit2 firmware

    by rcurl
    Replies
    14
    Views
    250

    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...
  69. Thread: Pickit2 firmware

    by rcurl
    Replies
    14
    Views
    250

    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...
  70. Replies
    6
    Views
    119

    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...
  71. Replies
    9
    Views
    237

    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
  72. Replies
    37
    Views
    354

    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...
  73. Replies
    19
    Views
    243

    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...
  74. Replies
    14
    Views
    283

    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
  75. Replies
    11
    Views
    207

    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...
  76. Replies
    14
    Views
    283

    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...
  77. Thread: PICKitPlus Forum

    by rcurl
    Replies
    38
    Views
    3,141

    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$...
  78. Replies
    41
    Views
    667

    Re: Advertisement on the forum

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

    by rcurl
    Replies
    2
    Views
    181

    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. ...
  80. Replies
    42
    Views
    880

    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.
    ...
  81. Replies
    14
    Views
    270

    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...
  82. Replies
    14
    Views
    270

    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...
  83. Replies
    14
    Views
    270

    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
  84. Replies
    14
    Views
    270

    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...
  85. Replies
    14
    Views
    270

    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...
  86. Replies
    10
    Views
    456

    Re: User Articles not accessible

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

    -Rick
  87. Replies
    10
    Views
    456

    Re: User Articles not accessible

    Sorry to be slow responding.

    All OK now. Thanks, Lester!

    -Rick
  88. Replies
    10
    Views
    456

    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:...
  89. Replies
    103
    Views
    1,011

    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
  90. Replies
    103
    Views
    1,011

    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
  91. [SOLVED !] 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
  92. Replies
    16
    Views
    456

    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...
  93. Replies
    16
    Views
    456

    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
    ...
  94. Replies
    16
    Views
    456

    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...
  95. Replies
    16
    Views
    456

    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 *
  96. Replies
    14
    Views
    2,168

    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....
  97. Replies
    16
    Views
    456

    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...
  98. Replies
    14
    Views
    2,168

    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...
  99. Replies
    14
    Views
    2,168

    Re: 16f1503 AND PWM modules

    Thanks, Les. You're the best!

    Giving you a LEGITIMATE thumbs up on your post.

    -Rick
  100. Replies
    4
    Views
    100

    Re: A question for Americans

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

    -Rick
  101. Replies
    14
    Views
    2,168

    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...
  102. Replies
    4
    Views
    100

    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
  103. Replies
    26
    Views
    525

    Re: Dim xxx as code problem on P24

    You mean like cleaning the registry? :)
    -Rick
  104. Replies
    32
    Views
    1,489

    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...
  105. Replies
    14
    Views
    270

    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...
  106. Replies
    14
    Views
    270

    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...
  107. Thread: Why the PIC26K42

    by rcurl
    Replies
    16
    Views
    358

    Re: Why the PIC26K42

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

    -Rick
  108. Replies
    15
    Views
    3,018

    Re: LCD Chr Generator Plug-In

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

    -Rick
  109. Replies
    41
    Views
    4,210

    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
  110. Replies
    40
    Views
    495

    Re: Programmable RF oscillators

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

    -Rick
  111. Replies
    40
    Views
    495

    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...
  112. Replies
    12
    Views
    476

    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
  113. Replies
    12
    Views
    476

    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
  114. Replies
    12
    Views
    476

    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...
  115. 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
  116. Re: Need someone smarter than me to write code for POV displays

    Thank you!
    -Rick
  117. 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...
  118. Re: Need someone smarter than me to write code for POV displays

    I just sent him a PM.

    Thanks.

    -Rick
  119. 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...
  120. 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...
  121. Replies
    23
    Views
    412

    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...
  122. Replies
    32
    Views
    1,489

    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:
    ...
  123. Replies
    32
    Views
    1,489

    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...
  124. Replies
    32
    Views
    1,489

    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...
  125. Replies
    1
    Views
    165

    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...
  126. Replies
    30
    Views
    802

    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...
  127. Replies
    30
    Views
    802

    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:...
  128. Replies
    16
    Views
    320

    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...
  129. Replies
    6
    Views
    368

    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...
  130. 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...
  131. 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,...
  132. Replies
    22
    Views
    601

    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...
  133. 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...
  134. Replies
    8
    Views
    251

    Re: 18F4580 LCD on PORTD Lower Nibble 4 Bit

    Yep. Time to break out the jumpers!

    -Rick
  135. Replies
    8
    Views
    251

    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...
  136. Replies
    51
    Views
    2,104

    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
  137. Replies
    51
    Views
    2,104

    Re: BME280 Humidity/Pressure/Temperature code

    I just discovered this in thew spec sheet:

    I'm working on setting this up now.

    -Rick
  138. Replies
    51
    Views
    2,104

    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...
  139. Replies
    13
    Views
    368

    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
  140. Thread: Help Wanted !

    by rcurl
    Replies
    16
    Views
    507

    Re: Help Wanted !

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

    -Rick
  141. Replies
    51
    Views
    2,104

    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
  142. Replies
    6
    Views
    366

    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...
  143. Replies
    51
    Views
    2,104

    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...
  144. Replies
    51
    Views
    2,104

    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...
  145. 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...
  146. 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...
  147. 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...
  148. Replies
    18
    Views
    413

    [SOLVED !] 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...
  149. Replies
    21
    Views
    358

    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...
  150. Replies
    21
    Views
    358

    Re: Signal ground throuh output pin

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

    -Rick
  151. Replies
    21
    Views
    358

    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...
  152. Replies
    21
    Views
    358

    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...
  153. Replies
    21
    Views
    358

    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...
  154. Replies
    10
    Views
    1,440

    [SOLVED !] 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...
  155. Replies
    16
    Views
    560

    Re: Add compile data to hex file

    Nice! Thanks, Harm!

    -Rick
  156. Replies
    16
    Views
    560

    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...
  157. Replies
    16
    Views
    560

    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?
  158. Replies
    16
    Views
    560

    Re: Add compile data to hex file

    Interesting....I'm going to have to cogitate on this...........
  159. Replies
    16
    Views
    560

    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
  160. Replies
    16
    Views
    560

    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...
  161. Replies
    16
    Views
    560

    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:...
  162. Replies
    3
    Views
    200

    [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...
  163. Replies
    3
    Views
    200

    [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...
  164. Replies
    11
    Views
    915

    [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...
  165. Replies
    12
    Views
    243

    [SOLVED !] 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-...
  166. 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.
    ...
  167. Replies
    12
    Views
    243

    [SOLVED !] 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...
  168. Replies
    53
    Views
    3,404

    Re: A new Stats collector plugin

    That's the first time I've opened Settings in Stats Collector. There's nothing checked.
    3257
  169. Replies
    53
    Views
    3,404

    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...
  170. Replies
    1
    Views
    269

    [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...
  171. Replies
    1
    Views
    269

    [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...
  172. Replies
    8
    Views
    473

    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...
  173. Thread: Survey

    by rcurl
    Replies
    9
    Views
    428

    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...
  174. Thread: Survey

    by rcurl
    Replies
    9
    Views
    428

    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...
  175. Replies
    4
    Views
    779

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

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

    -Rick
  176. Replies
    4
    Views
    779

    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...
  177. Replies
    5
    Views
    614

    Re: PDS ABOUT screen + display magnification

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

    -Rick
  178. Replies
    5
    Views
    614

    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
  179. Replies
    5
    Views
    614

    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...
  180. Replies
    5
    Views
    614

    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...
  181. Replies
    3
    Views
    396

    Re: Blink and LED for the first time

    YES! I only wish it happened more often.
  182. Replies
    3
    Views
    396

    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...
  183. Replies
    3
    Views
    396

    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...
  184. Replies
    9
    Views
    439

    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
  185. Replies
    9
    Views
    439

    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
  186. Replies
    9
    Views
    439

    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...
  187. Replies
    9
    Views
    439

    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...
  188. Replies
    3
    Views
    472

    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...
  189. Replies
    3
    Views
    472

    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,...
  190. Replies
    2
    Views
    384

    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...
  191. Replies
    3
    Views
    491

    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
  192. Thread: DC/DC Converters

    by rcurl
    Replies
    2
    Views
    347

    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
    ...
  193. Replies
    3
    Views
    491

    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...
  194. Replies
    2
    Views
    453

    [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.
    ...
  195. Replies
    3
    Views
    491

    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...
  196. Replies
    4
    Views
    324

    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...
  197. 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...
  198. 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...
  199. Thread: 0.1uF Required?

    by rcurl
    Replies
    11
    Views
    631

    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...
  200. Thread: 0.1uF Required?

    by rcurl
    Replies
    11
    Views
    631

    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...
Results 1 to 200 of 1000
Page 1 of 5 1 2 3 4