Teensy LC External AREF and ADC Reading question...

Status
Not open for further replies.

Brion Sohn

Well-known member
I am doing some testing with a hall Sensor on a Teensy LC and am trying to get the highest read range possible..

So far I have Been able to set up the External AREF at Half Voltage which works great with the two way HALL sensor to set it to be referenced to one direction usage only so the range starts at 1022 (of the 1024 steps) when static..

However what I was wondering is if there is a Method by which to set the Low Voltage endpoint to the range.. Of course right now the ADC sets up the range from 1.65V to 0V being (1023 - 0) BUT what I am hoping to be able to do is set the 10bit range to be read from the AREF of 1.65V to maybe something like 1.2v as the low making the range 1024 - 0 from 1.65V to 1.2V..

This is due to the very short gap in the the Magnet distance from the Hall Sensor so I want to be able to pull the maximum range from the device.

Any help or direction to an article I am missing would be helpful.

Thank you
Brion Sohn
 
Status
Not open for further replies.
Back
Top