OK, this board is too simple for me 😉 ...
From the coop buy, I built up three LED boards and a controller, changed the number of LEDs in the 20110813 ASM file to 21, built the code with MPLAB 8.46 and wrote the resulting HEX file to the 16f1688 with my trusty JDM programmer and PICPgm. Wrote the HEX a couple of times, verified it. All seemed fine.
Apply 5v DC to the controller and nada. When I check with the meter directly on top of Pins 1 and 14 of the 16f, I see only .95 volts. Did continuity checks from the power feed to the pins 1 and 14 on the 16f1688 and everything appears to be wired correctly.
Have checked the individual LEDs after they were soldered into the boards by applying 3v to the backside and they all appear to be working. (Interesting note: when the 3v is applied to some LEDs -- not all -- other LEDs in the segment will flash off-and-on.)
And now, I'm stumped.
Other places to check with the meter? Other things to try?
Thanks.
\dmc
Sounds like there is a short somewhere.. possibly and LED in wrong.. or a brigded solder joint. as this would short the outputs. Photos?
Just for grins, try the other firmware 20110804.asm and see if it works. I couldn't get the 20110813 firmware to work on mine last week either, but the 20110804 works great. I just haven't had a chance to get back to it to troubleshoot yet.
Ron
You could also try the HEX files that Cory provided in the FAST dev thread- I know they work!!
dmcole wrote:When I check with the meter directly on top of Pins 1 and 14 of the 16f, I see only .95 volts.
You need to figure this out. There’s nothing you could program into flash that’s going to give you one volt on the power supply.
Did you use a socket? If so, did you check the power pins on the bottom? How about without a micro?
I was tinkering with the FAST firmware last night to find that when I changed the number of LEDS to anything but 56 (21 and 7) it failed. I have the random firmware, and have not yet stepped through the code to find out why. This does not explain the power issue you noted above, but you could have 2 issues.
Hey DMC, this might be a dumb question but do you get 5V from your power supply when it is NOT attached, and have you verified the polarity of the power to the chip?
chelmuth wrote:Sounds like there is a short somewhere.. possibly and LED in wrong.. or a brigded solder joint. as this would short the outputs. Photos?
A double-check of the LED positions finds one oriented incorrectly. A few minutes of trying to desolder it left me with a burnt finger and a still-wrongly oriented LED. I need to go back to work, so probably won't finish this until tomorrow.
I will also seek out Cory's HEX files ...
\dmc
The best way to remove them is to cut the four leads off on the device side as close to the body of the LED as you can. Then remove one lead at a time from the pcb.
Cory posted in another thread that he found an error in the random firmware source with exactly the behavior you might have seen if not for the bad LED. Suggest you recheck the wiki or wherever he posted the files...
