Background: I'm making a POV wand. (a row of leds that, when moved through the air quickly, seem to display a message) I have finished the code and have a 100% working prototype on breadboard. I soldered it up, and I've made sure all connections are in the correct place, and we'll connected. The project uses 7 leds, 1 2hc59581 shift register, and ATtiny85, a 7805 5 volt regulator, and a 9 volt battery.
Problem:
Everything works perfectly on the breadboard. However, on the perfboard version, the wand works incorrectly and inconsistently before not lighting at all. This is with power from the (new) 9 volt through a 7805 5v regulator. However, when I bypass the regulator and hook up my arduinos 5v and gnd to the correct points on the board, the wand works correctly. I hooked the ATtiny85 up to the working breadboard while still on the perfboard, and it malfunctioned the same way. All this means that, somehow, the power system of the battery though the regulator is causing the ATtiny85 to malfunction. Again, the same circuit with the same power supply (battery and regulator) works flawlessly on breadboard, but not the perfboard. I've octuple checked my connections (visually and electrically) and they seem perfect. So, why on earth would specifically a battery and regulator cause the microcontroller to malfunction in one case and not another? I'm so completely stumped.
Problem:
Everything works perfectly on the breadboard. However, on the perfboard version, the wand works incorrectly and inconsistently before not lighting at all. This is with power from the (new) 9 volt through a 7805 5v regulator. However, when I bypass the regulator and hook up my arduinos 5v and gnd to the correct points on the board, the wand works correctly. I hooked the ATtiny85 up to the working breadboard while still on the perfboard, and it malfunctioned the same way. All this means that, somehow, the power system of the battery though the regulator is causing the ATtiny85 to malfunction. Again, the same circuit with the same power supply (battery and regulator) works flawlessly on breadboard, but not the perfboard. I've octuple checked my connections (visually and electrically) and they seem perfect. So, why on earth would specifically a battery and regulator cause the microcontroller to malfunction in one case and not another? I'm so completely stumped.