Pages: [1]   Go Down
Author Topic: Reference voltage for a voltage comparater in a Solar Electric system?  (Read 408 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 184
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so i made a solar charger ,which charges a 6v battery with a 12v panel...my question is that i would like to have some kind of indication,which could tell me when the battery's full / empty...but how can i feed a reference voltage to the comparator because the voltage from the panel will vary upon light,and so that would change the reference voltage...similarly when the battery's low(ill use a voltage divider from the battery to the comparator), the reference voltage again would vary...

how can i have a constant reference voltage,when the voltage of the panel varys upon light?
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 223
Posts: 6593
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use a voltage regulator to get a reference voltage (such as the 3.3v regulator already on most Arduino boards), or use the internal 1.1v (approx) reference in the mcu itself.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

0
Offline Offline
Shannon Member
****
Karma: 200
Posts: 11672
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are also "voltage reference" chips that work like a voltage regulator but only handle a tiny amount of power, their purpose is to generate a stable accurate voltage precisely for this sort of purpose.  A standard voltage regulator may take a lot more idle current, or actually require there be a load current in order to be stable. 
Logged

[ I won't respond to messages, use the forum please ]

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1001
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I would recommend the MAX6029 as a voltage reference chip.  Very low voltage, and pretty accurate
Logged

Accelerate to 88 miles per hour.

Pages: [1]   Go Up
Jump to: