A/D Specs for the Grand Central M4 Express

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
sZed
 
Posts: 1
Joined: Thu Jul 15, 2021 11:57 pm

A/D Specs for the Grand Central M4 Express

Post by sZed »

What is the maximum input voltage and resolution of the A/D converters in the Grand Central M4?

The SAMD51 spec says that by default the A/Ds are configured to read to 12-bit precision and I think I saw somewhere that the max input is 5V.

When I do an analogRead() on a voltage that I can vary between 0.0 and 5.0V the maximum output value I see is 1023 at 3.3V input, so it looks like it’s only a 10-bit reading.

Thanks

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

Re: A/D Specs for the Grand Central M4 Express

Post by adafruit_support_bill »

AnalogRead defaults to 10 bit resolution for backwards compatibility. You can change that for boards that support higher resolution.
https://www.arduino.cc/reference/en/lan ... esolution/

The absolute maximum rating for any pin is VDD * 0.6v. https://ww1.microchip.com/downloads/en/ ... 01507G.pdf

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

Return to “Metro, Metro Express, and Grand Central Boards”