First, I must apologize. I assumed that you'd assume I wouldn't try to turn on 20 LEDs at one time with a 12F683. I'm only turning one at a time. The total current draw at any one time including LED and chip functions is around 25mA and that's well within the capacity of the voltage regulator.
Second, the computer I use for programming isn't hooked up to the internet so I had to recreate part of the programming here. Why I can't install Microcode studio on this computer is something the IT guys will have to fix.
Finally, schematics. We use a different program for schematics and all I had was LTSpice. The schematic shows U2 as being an LT1585-xxx. Well I couldn't find a 78L05ABZ in their symbols library so I used an LT1585 and hope you can make the necessary corrections.
So here are my issues. I get different results during program operation and ICSP. For instance, when I first wrote this all the LEDs were ghosting during the off time of the LEDs. Now the program is running correctly without the ghosting. I don't believe I am doing anything different form then to now in either programming or circuit construction. When I try to do ICSP with the power supply I have always had to disconnnect all but the programmer from pin 7 but the program will load. Yet, while under battery power and pin 7 disconnected from the circuit I can't get the program to transfer. I get an error something like error in instruction set 0028. If it matters all of this is on a proto board.
What can I do to first, make sure the program will run correctly without the ghosting? Second, why does ICSP act differently from the power supply to the battery?
As you can tell, I'm new to this. Some patience will be required no matter what my user name infers.
Bookmarks