Okada
Banned
- Joined
- Jun 16, 2016
- Messages
- 1,159
- Helped
- 129
- Reputation
- 252
- Reaction score
- 129
- Trophy points
- 63
- Activity points
- 0
How to monitor the battery voltage ?
See attached PDF for Circuit.
I have made this circuit. is this correct ?
Lets assume that there is no mains power initially
So, the relay will be off (RL2 is relay, and RL1 is Solenoid).
This will connect 12V from battery to the Solenoid and to the input of 7805. 7805 will power the PIC. If
previous state of the solenoid was ON then PIC will turn it ON else it will be OFF.
The diode between 7812 and 7805 will block the battery voltage from flowing into the 7812 output pin.
BAT V pin is used to monitor the battery voltage. If batter voltage falls then solenoid is turned off.
Now, lets assume mains power returns.
Now MAINS SENSE pin is used to send the presence of mains voltage. If it is above 4.5V (for normal 230V AC
input) then it will turn ON the relay. When relay turns ON it will connect 12V from 7812 to Solenoid. Also when
mains power returns 7805 will be getting input from 7812 and 7805 will be powering PIC and hence the power to
PIC will not be interrupted durring relay turn ON.
L200C will charge the 12V 7 Ah battery at 1A rating.
D10 and D11 will reduce the voltage to 12V solenoid if battery voltage is say 13 or 13.5V in battery operation
mode.
Transformer is 0-15V 3A secondary.
Solenoid is Normally Closed 12V, 500mA.
TIP122 is 8A transistor. I need 2 or 3A transistor. What transistor can I use instead of TIP122 ?
How to monitor the BAT V because battery voltage will vary depending upon whether it is charging or discharging. The voltage divider used will not give proper value to adc input. Example when there is no mains the battery voltage might be 12V but when charging it might be 13.2V. So the voltage input to the voltage divider is different. How to measure ?
Should I use MAINS sense and use two different conditions for battery measurement like
if mains present use method 1 to measure the battery voltage
if mains not present use method 2 to measure battery voltage
I am using this valve.
https://www.sparkfun.com/products/10456
- - - Updated - - -
I will be using this battery.
https://www.amazon.in/APC-APC-RBC2-...id=1467885309&sr=8-1&keywords=apc+battery+12v
Can I safely charge this battery from 12V 1A (L200C output) ?
See attached PDF for Circuit.
I have made this circuit. is this correct ?
Lets assume that there is no mains power initially
So, the relay will be off (RL2 is relay, and RL1 is Solenoid).
This will connect 12V from battery to the Solenoid and to the input of 7805. 7805 will power the PIC. If
previous state of the solenoid was ON then PIC will turn it ON else it will be OFF.
The diode between 7812 and 7805 will block the battery voltage from flowing into the 7812 output pin.
BAT V pin is used to monitor the battery voltage. If batter voltage falls then solenoid is turned off.
Now, lets assume mains power returns.
Now MAINS SENSE pin is used to send the presence of mains voltage. If it is above 4.5V (for normal 230V AC
input) then it will turn ON the relay. When relay turns ON it will connect 12V from 7812 to Solenoid. Also when
mains power returns 7805 will be getting input from 7812 and 7805 will be powering PIC and hence the power to
PIC will not be interrupted durring relay turn ON.
L200C will charge the 12V 7 Ah battery at 1A rating.
D10 and D11 will reduce the voltage to 12V solenoid if battery voltage is say 13 or 13.5V in battery operation
mode.
Transformer is 0-15V 3A secondary.
Solenoid is Normally Closed 12V, 500mA.
TIP122 is 8A transistor. I need 2 or 3A transistor. What transistor can I use instead of TIP122 ?
How to monitor the BAT V because battery voltage will vary depending upon whether it is charging or discharging. The voltage divider used will not give proper value to adc input. Example when there is no mains the battery voltage might be 12V but when charging it might be 13.2V. So the voltage input to the voltage divider is different. How to measure ?
Should I use MAINS sense and use two different conditions for battery measurement like
if mains present use method 1 to measure the battery voltage
if mains not present use method 2 to measure battery voltage
I am using this valve.
https://www.sparkfun.com/products/10456
- - - Updated - - -
I will be using this battery.
https://www.amazon.in/APC-APC-RBC2-...id=1467885309&sr=8-1&keywords=apc+battery+12v
Can I safely charge this battery from 12V 1A (L200C output) ?
Attachments
Last edited: