Reading voltage 328P Feather

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Urgrosh01
 
Posts: 3
Joined: Wed Jan 19, 2022 2:08 pm

Reading voltage 328P Feather

Post by Urgrosh01 »

Greetings,

I have a plan to read 6V battery voltage with a 328P feather. The 6V battery is providing power via a 5v converter to a usb adapter to the feather. I would like to use a voltage divider to read the battery voltage with the A6 pin on the feather, which has its own divider. I think this will work, but I would like some more experienced eyes to look at my circuit. Is a 2:1 divider composed of two 10K Ohm resistors appropriate for this application?
IMG-0680 (3).jpg
IMG-0680 (3).jpg (497.62 KiB) Viewed 108 times
Thanks for looking.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Reading voltage 328P Feather

Post by adafruit_support_bill »

Yes, that should work. That will divide the ~6v down to ~3v.

If you put 2 of the 10K in series on the low-side of your divider it would become a 3:2 divider and give you a maximum of ~4v. That would allow you to use more of the 10-bit resolution on the 328P ADC..

User avatar
Urgrosh01
 
Posts: 3
Joined: Wed Jan 19, 2022 2:08 pm

Re: Reading voltage 328P Feather

Post by Urgrosh01 »

Thanks!

I will try your suggestion of using two 10k ohm resistors on the low side of the divider and post the results. Hopefully I'll get to it this week.

User avatar
Urgrosh01
 
Posts: 3
Joined: Wed Jan 19, 2022 2:08 pm

Re: Reading voltage 328P Feather

Post by Urgrosh01 »

The voltage divider circuit works very well. Reading 4.2 on the A6 pin from my multi meter from a 6V battery measured at 6.3V input.

Thanks again for the help!

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Reading voltage 328P Feather

Post by adafruit_support_bill »

Good to hear that works for you. Thanks for the follow-up.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”