Close

Remote rotary encoder (part 2, software)

A project log for EncoderLib

Micropython library to handle a rotary encoder

brambram 08/22/2016 at 18:520 Comments

The code of the remote uses the UDP protocol to send the number of rotations to the client. The python code of the server(send.py) should be edited so line 4 has the IP of the client and the code of the client (recv.py) should be edited so line 7 has the IP of the ESP8266 that is running the client code.

The client has a neopixel stick with 8 neopixels connected at pin 12. Here is a video of the remote dimming the neopixels:

Discussions