Go Down

Topic: Testing a Voltage Regulator (Read 2719 times) previous topic - next topic



I want to test a volatage regulator.

I applied a voltage betweet Vin and GND and measured between Vout and GND. I measured no voltage and the regulator got hot.
What did I do wrong?

How can I regulate 7.2V to 5V?


You bought a negative voltage regulator. Look for a 7805 instead of the 7905


How can I regulate 7.2V to 5V?

why would you do that with a Negative voltage regulator when it says in the datasheet: DC input voltage: - 5 to - 18 V, and it already told you its a negative one in the second line of the datasheet?

7805 should work, it has a voltage dropout of 2V, so if u get below 7V at the input it wont be able to regulate to 5V.


Feb 06, 2013, 07:51 pm Last Edit: Feb 06, 2013, 07:57 pm by marian42 Reason: 1
7805 should work, it has a voltage dropout of 2V, so if u get below 7V at the input it wont be able to regulate to 5V.

Are there regulators with a smaller dropout?
The 7.2V comes out of a battery pack. It will probably drop when it is almost discharged. Can I use the 7805 anyway?

If the regulator is correct, can I just connect the Vin and Vout to it or do I need a further circuit like this:


The capacitors are there to prvent oscillations and smooth out fluctuations, use them. If you want to input less than 7 V, look up low dropout "LDO" regulators.


Will an LDO regulator be necessary for a 7.2V battery? What happens if the 7805 is supplied less than 7V?


It will stop regulating at some point, and the output voltage will go down.


So it will output less than 5V if the input is for example 6V?

Could I use an analog input of a microcontroller to find out if this point is reached?


Only if you use an independent voltage reference, if the reference is relative to the supply you will never see any change!


So how can I read the battery level with a microcontroller?




So I guess I need to use an internal reference.
But how can I get a 0-8V to 0-1.1V? Would it make sense to analog read a voltage divider with 10k and 2k? I think this would scale it down to about 1.3V
By the way, will this Arduino function also work on an ATtiny?


you can do it with a voltage divider.

If your max is 7,2 why not use 7,5 instead of 8V for calculating the divider, increases accuracy.
And i think you should bring it down to 1.1V and not 1.3V. Your reference will be mapped as 0-1.1V/1024 for analog read.

About ATtiny, this looks promising:
Havent tried but would surely be nice and save a lot of money for simple projects


I just measured 7.6V at the battery and its not even completely charged.

Programmimg the ATtiny is no problem, I was just wondering if the AnalogReference works the same on it.


If you have the voltage divider connected, it will of course drain the battery a bit. A total resistance of 50 kOhm is down to 0,15mA.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131