Hi everyone,
I have a project about charging systems. The system looks simple . I have a power supply, a battery, an inverter (to invert 12V DC to 220V AC), and last a lamp.
Lamp (220V) <---- inverter (12V DC to 220V AC) <---- Battery <---- 220V (Urban electricity)
The electricity needs of the lamp is provided by battery. And Batter is charged by Power Supply.
Micro controller should turn off the power supply,if the battery is full. And also, if the battery is low, power supply is turned on by micro controller again.
My question is that Can i know the instantaneous current value or voltage using micro controller ?
are there any functions about the this ?
I do not want codes, I need functions or informations or etc...
Charging system
Re: Charging system
There is no idea about the topic. this is interesting
Re: Charging system
Well, you can measure the voltage of the battery by feeding it to a voltage divider (2 resistors in series), with the connection between the 2 connected to an ADC input of the PIC. Make sure the adc input voltage can not be higher than the supply voltage of the PIC minus t.b.f. A problem can be here that the divider continuously draws some current from the battery.karalius wrote:My question is that Can i know the instantaneous current value or voltage using micro controller ?
Measuring the current is not so simple. The PIC always measures voltages, so you will need a converter between current and voltage. A very simple convertor is simply a series resistor in the path of the current flow, but usually only a very low voltage drop is allowed across it, so amplification might be needed. Also other problems can occur, like the voltage across the series resistor not having the right ground level or polarity.
It may be not so simple to defined what is a "full" or "empty" battery. See the specification of e.g. a NiMh battery for this.karalius wrote:And also, if the battery is low, power supply is turned on by micro controller again.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Re: Charging system
if I measure the voltage of the battery, i can know the instantaneous voltage. This can help me. Thak you for this information. Can you give to me a suggestion for Pic Model ? Than, I can look at the specification of the PIC.Dany wrote:Well, you can measure the voltage of the battery by feeding it to a voltage divider (2 resistors in series), with the connection between the 2 connected to an ADC input of the PIC. Make sure the adc input voltage can not be higher than the supply voltage of the PIC minus t.b.f. A problem can be here that the divider continuously draws some current from the battery..karalius wrote:My question is that Can i know the instantaneous current value or voltage using micro controller ?
Measuring the current looks like a problem but I can try this way.Dany wrote:[Measuring the current is not so simple. The PIC always measures voltages, so you will need a converter between current and voltage. A very simple convertor is simply a series resistor in the path of the current flow, but usually only a very low voltage drop is allowed across it, so amplification might be needed. Also other problems can occur, like the voltage across the series resistor not having the right ground level or polarity.
I have max. and min. values which are the standart for the battery. Thank you for your advice.Dany wrote:It may be not so simple to defined what is a "full" or "empty" battery. See the specification of e.g. a NiMh battery for this.karalius wrote:And also, if the battery is low, power supply is turned on by micro controller again.
Re: Charging system
The 12F675 has already an ADC on board. Seen the simple tasks the pic has to do (switch on/off the loader power supply), this PIC should be adequate.karalius wrote:Can you give to me a suggestion for Pic Model ? Than, I can look at the specification of the PIC.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Re: Charging system
Thank you for your helping....
I will try this tomorrow night. I hope that I can do it
Thanks again...
I will try this tomorrow night. I hope that I can do it
Thanks again...