How to use a Rotary Encoder in CircuitPython No. 4
How to add a rotary encoder to your CircuitPython project using the RotaryIO library. In this episode you will learn: What is a rotary encoder and when/why to use one. How a rotary encoder works and a look at the signals from the encoder. How to hook up a rotary encoder to a CircuitPython board. How to keep the CircuitPython on your micro board updated. Writing and testing CircuitPython code in the Mu editor to keep track of the position values output by the rotary encoder. 0:00 Rotary Encoders in CircuitPython How-To 1:07 How a rotary encoder works 8:25 Schematic hook-up of encoder to CircuitPython 10:23 Encoder signals on a logic analyzer 12:14 Keeping your CircuitPython software updated 14:29 CircuitPython rotary encoder code walk-thru 21:15 Running the program Link to Circuit Python documentation showing which boards support the rotaryio library: https://circuitpython.readthedocs.io/en/latest/shared-bindings/support_matrix.html#module-support-matrix The Metro M4 Express board we use in this episode: https://learn.adafruit.com/adafruit-metro-m4-express-featuring-atsamd51 The rotary encoder breakout board on Amazon: https://www.amazon.com/Cylewet-Encoder-15%C3%9716-5-Arduino-CYT1062/dp/B06XQTHDRR/ref=sxts_sxwds-bia-wc-p13n1_0?cv_ct_cx=rotary+encoder&dchild=1&keywords=rotary+encoder&pd_rd_i=B06XQTHDRR&pd_rd_r=564da6bd-82bd-4707-9cb3-82f1231b9fed&pd_rd_w=mfRQh&pd_rd_wg=FQPv2&pf_rd_p=5be4970c-0256-4afe-9550-68021bd84e5b&pf_rd_r=AXAAVQCNDKCJF7NTFMZ9&psc=1&qid=1604336281&sr=1-1-791c2399-d602-4248-afbb-8a79de2d236f
Download
0 formatsNo download links available.