Hi!
I recently got a arduino nano esp 32. im trying to make a small remote controll with a joystick and a NRF24 radio. i got this to work with a uno and a pro micro but when i try this with a arduino nano i get weird results.
The analogread on the joystick shows values from 0 to 4095. the board is powered via USB C.
i uploaded a simple joystick reading code.
You told us you re using a nano. But you analog read value tells us you are not using a nano. A nano is the same as the Arduino uno.
But, what is wrong with reading 4095 with your setup? That is what you should be getting!
"Arduino Nano" and "Arduino Nano ESP32" are completely different things. The latter has a ESP32 family controller, that uses another programming core than "classic" Arduino Nano.
Most key parameters of both chip are incompatible with each other, and one of them is that the range of analogRead() function on your new board is 0-4095
Okay now we are getting somewhere. It is a nano esp32. Which analogreads 0-4095. Still the value seems of to me.
Shouldn’t the center value be something like 2047 (4095/2)? Mine is 3045 ish which gives me a weird range.