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?
Thanks for looking.
Reading voltage 328P Feather
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88097
- Joined: Sat Feb 07, 2009 10:11 am
Re: Reading voltage 328P Feather
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..
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..
- Urgrosh01
- Posts: 3
- Joined: Wed Jan 19, 2022 2:08 pm
Re: Reading voltage 328P Feather
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.
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.
- Urgrosh01
- Posts: 3
- Joined: Wed Jan 19, 2022 2:08 pm
Re: Reading voltage 328P Feather
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!
Thanks again for the help!
- adafruit_support_bill
- Posts: 88097
- Joined: Sat Feb 07, 2009 10:11 am
Re: Reading voltage 328P Feather
Good to hear that works for you. Thanks for the follow-up.
Please be positive and constructive with your questions and comments.