The onboard microcontroller does the decoding, optionally some more processing, and sends byte-sized data to the main project board. The byte contains information about direction, push-button status and maybe even about average rotation speed (encoded in the higher bits). I think I will like it – if it works 😉
Quick and dirty application: Volume control knob for Amarok or kmix. All you need is a 5V USB-serial adapter and a little perl script that listens for data. Oh, and linux of course. Amarok’s volume is controlled using dbus calls. Very simple to do, actually. Part of the demo code for this little project!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — “China’s factories in Shenzhen can copy products at breakneck speed—and it’s time for the rest of the world to get over it”
Wearables — Glow, gemstone, glow
Electronics — Clarify your supply
Biohacking — The State of Mobile Health Apps
No comments yet.
Sorry, the comment form is closed at this time.