-
Notifications
You must be signed in to change notification settings - Fork 1k
AnalogInOutSerial max reading seems low #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
FWIW: I compiled and tested the ADC demo from the STM32Cube/Repository ~/STM32Cube/Repository/STM32Cube_FW_F0_V1.8.0/Projects/STM32F030R8-Nucleo/Examples/ADC/ADC_DMA_Transfer It returns 4095 ( it is a 12 bit resolution example ) and this is what I would expect. So it seems the hardware is capable. |
If I add in a calibration routine, it now produces the full range:
Here is the change I made
|
Nice shot. |
I'm using the Nucleo_F030R8 branch to test out the analog features. I used an unmodified version of the AnalogInOutSerial sketch. I connected pin A0 to the 3.3V pin using a 4.9k resistor. I would expect the sensor reading to be 1023. However I'm seeing 1005.
The voltage between GND and the 3.3v pins is 3.3158v
Is there a reason this isn't reading 1023?
http://tinyurl.com/y6v4u6sm
The text was updated successfully, but these errors were encountered: