Author Topic: Voltage Drop  (Read 2582 times)

0 Members and 1 Guest are viewing this topic.

Offline ribnarkTopic starter

  • Newbie
  • Posts: 4
  • Country: in
Voltage Drop
« on: June 17, 2016, 01:11:33 pm »
Hi,
I am making a water level controller using ultrasonic sensor HC-SR04 and PIC16F877A. There is a 25 m long cable between sensor and uC. I am using 8 LEDs connected to PORTB through 320 ohm resistances to display water level. The problem is that I am getting a dip in voltage of about 2 volts in Power supply whenever the LEDs are ON. for power supply I am using 12v adapter regulated by LM7805. The voltage dip is on the 5V side of 7805 . and one more thing the same problem is not there if I don't use long cable i.e. when sensor is directly connected using short leads. Please help ....Regards
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2892
  • Country: se
  • Country: Broken Britain
Re: Voltage Drop
« Reply #1 on: June 17, 2016, 01:28:10 pm »
LM7805 might be oscillating - when the long wire is connected, does it get too warm, proper/more decoupling?
.  That took much longer than I thought it would.
 
The following users thanked this post: ribnark

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: Voltage Drop
« Reply #2 on: June 17, 2016, 04:54:36 pm »
Hi,
I am making a water level controller using ultrasonic sensor HC-SR04 and PIC16F877A. There is a 25 m long cable between sensor and uC. I am using 8 LEDs connected to PORTB through 320 ohm resistances to display water level. The problem is that I am getting a dip in voltage of about 2 volts in Power supply whenever the LEDs are ON. for power supply I am using 12v adapter regulated by LM7805. The voltage dip is on the 5V side of 7805 . and one more thing the same problem is not there if I don't use long cable i.e. when sensor is directly connected using short leads. Please help ....Regards

Hi

With a 12V input, a 7805 is generating more heat than you are using in your circuit. Try at least going over to a 9V adapter. I would bet your 7805 is overheating.

Bob
 
The following users thanked this post: ribnark

Offline KL27x

  • Super Contributor
  • ***
  • Posts: 4108
  • Country: us
Re: Voltage Drop
« Reply #3 on: June 17, 2016, 06:26:58 pm »
+1 oscillating. Add some more caps to the 7805, input side, particularly.
 
The following users thanked this post: ribnark

Offline ribnarkTopic starter

  • Newbie
  • Posts: 4
  • Country: in
Re: Voltage Drop
« Reply #4 on: June 18, 2016, 01:16:05 pm »
Thanks for the solution it worked  :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->