How to charge arduino Uno? (Solved)

Hi everyone! I want to put code into the Arduino UNO, but also charging it with 9v batteries. Problem is:

  1. 9v batteries are pretty expensive in my region, around $5.
  2. I don't have a voltmeter, actually, I have one, but it belongs to my father, and I don't want to use it in the final project.

I want to also know if it's possible to use 2 9v batteries, then make a way to only use one, then if it ends, it uses the another one. Please keep in mind that I am not able to spend much money.

Try asking around for a used power converter that plugs into a wall outlet, one that provides you with 9V, and has correct connector.

Uhh, I don't want to be rude, but, I couldn't find any of these

Seriously, no one in my neighborhood has or know what's this.

Perhaps you should include EBAY in your neighborhood!

What? Anyway, I can't spend much money :frowning_face:

This!

You could put the 2 batteries connected in parallel (not series) and they would provide twice the operating time, both going down at the same time.

Some Arduino's have battery charging circuits, and often a LiPo battery connector, that automatically charge the battery when and if it is connected to a power source.

Simple solar chargers might cost more initially, but save money in the long run?

There are more options, it depends more what functionality works best for you. Good luck!

Ok, gotta say the truth: I live in Brazil, here the coin used is the real (R$), and $1 is R$ 5 here in Brazil, so it may be $4 to you, but to me, it's R$ 24.

NEVER put batteries in parallel!

Ok. But have you discovered you can operate most Arduino boards with 5 volts connected to the 5 volt pin and ground?

@anon36414003
6 AA batteries would work and would last a long time

I'm going with you, Paul_KD7HB

Do you know that the 5V pin on the UNO is an Output and NOT an Input?

yes.

Then you were wrong, it's also an input on Uno and may other types of Arduino (maybe not all).

@anon95813201 is subscribing to a narrow interpretation of a page he read that was probably intended only to prevent those without any experience or guidance from doing something stupid, like connecting anything over 5V to the 5V pin. For example connecting 4xAA non-rechargeable cells to it.

So why I've seen people doing it?

@anon36414003 please use the "reply" button under the message you are responding to. Otherwise it gets very confusing, especially when you give a one-word reply.

"plugue adaptador 9V"

Ask around and someone will have one to offer, perhaps free.

You can use the Uno to monitor the voltage of your 9V batteries. You will need a voltage divider to make a signal the UNO can accept (i.e. < 5V) . If you use a divider make sure it uses very high value resistors else the resistors will add to the 9v battery drain. You will need a P-fet and N-fet to switch the batteries.

Are AA batteries cheaper in your region? I think 4 x AA batteries will work better than a 9V battery. I haven't checked the data but off hand I think the AA's will last longer than 2 or 3 9Vbatteries.