danielsmusic
New Member
Is this a bad idea? I've noticed my PIC16F877A is pulling a lot of current, voltage regulator is struggling to say the least (It's a LM7805). The PIC is driving an 8 bit shift register which is connected to LEDs through a 100ohm resistor.
The output pin is right next to a power pin (Can't remember which one). Assuming the rails are acting as 2nF capacitor and my PIC is driving the shift register at 4Mhz would this mean the "resistance" between the output pin and the power pin to be 0.02Ohms?
Would this be why it is pulling so much current? I've checked for short circuits and found nothing.
(Xc = 1/(2*PI*F*C))
(0.02 = 1/(2*3.141*4000000*0.000002))
The output pin is right next to a power pin (Can't remember which one). Assuming the rails are acting as 2nF capacitor and my PIC is driving the shift register at 4Mhz would this mean the "resistance" between the output pin and the power pin to be 0.02Ohms?
Would this be why it is pulling so much current? I've checked for short circuits and found nothing.
(Xc = 1/(2*PI*F*C))
(0.02 = 1/(2*3.141*4000000*0.000002))