Skip to content
Discussion options

You must be logged in to vote

This may not work for your ESP32-S3, but there is a library for ESP32 that reads the efuse value: matthias-bs/MicroPython-ADC_Cal: MicroPython ESP32 library for calibrated on-chip ADC conversion. The efuse register base/offset is likely different for the ESP32-S3.

For example, a random ESP32 board I found returned a Vref value of 1128 for one channel. Note sure if this is any form of useful value, though. espefuse.py adc_info may have more useful output.

(As it's been a long time since a game has asked me to calibrate an analogue joystick, I guess there's an accepted way to handle this. The old way was to ask the user to move the stick to min/max values and collect the output.)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cnadler86
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants