Hello,
I've a 220v ac to 12v dc adapter. I want to charge a 9v rechargeable battery with it. So I'm going to connect the positive of the adapter with the positive of the battery and negative to negative. Then i want to connect an atemega32 across the battery. I'm going to regutate the 12v to 5v by a voltage regulator and apply this to the vcc pin of atmega32. So my 9v battery is across the 12v adapter and atmega32 is across it. I'll configure the other pins of atmega32 in some manner. So if i connect the plug of the adapter to wall socket will the battery charge and vcc pin of atmega32 be 5v at the same time?
I've a 220v ac to 12v dc adapter. I want to charge a 9v rechargeable battery with it. So I'm going to connect the positive of the adapter with the positive of the battery and negative to negative. Then i want to connect an atemega32 across the battery. I'm going to regutate the 12v to 5v by a voltage regulator and apply this to the vcc pin of atmega32. So my 9v battery is across the 12v adapter and atmega32 is across it. I'll configure the other pins of atmega32 in some manner. So if i connect the plug of the adapter to wall socket will the battery charge and vcc pin of atmega32 be 5v at the same time?