Hello!
Sorry this is a newbee question. I have an OSRAM Rotary encoder I would like to use with my ESP32. In my searching I found Circuitpython included "ROTARIO" which is supposed to be pretty easy to use.
I have several ESP32 Wroom to play with. I'd put on Circuitpython but I read it is not supported on the ESP32.
I found ROTARYIO from Circuit Python here:
https://github.com/adafruit/circuitpyth ... s/rotaryio
But I'm not really sure how to use it, if I can even use it.
I have been using MU and uPuCraft, and Arduino IDE
My end goal is to display the encoder potion on an OLED, and also have a web server display the position so I can read the data via my phone.
But first, I need to get the rotary encoder to work.
I'm also exploring just going back to a Nano+OLED+Encoder because there is more documentation.
So, any advice would be appreciated.
1) Can I flash Circuit Python on the ESP32 WROOM?
2) How can I use ROTORYIO in Micropython? (would I have to recompile the firmware?
3) Any other option to read the Rotary Encoder.
Thanks
Max
Just to be clear, not those little encoders, an Incremental Rotary
Encode like this, 600 and 1200 pulses per rev.
How to use ROTARYIO from Circuitpython in Micropython ESP32?
-
- Posts: 363
- Joined: Sun Apr 17, 2016 1:55 pm
Re: How to use ROTARYIO from Circuitpython in Micropython ESP32?
MicroPython doesn't support ROTARYIO, but encoder is easy to use in micropython.