Loading...

BeagleBone: read rotary encoder position using built-in TI eQEP hardware module

5,741 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jul 12, 2014

BeagleBoard.org Project Page: http://beagleboard.org/project/eqep_r...
I demonstrate how to read position of a rotary encoder connected to the BeagleBone Black. I use the eQEP (enhanced Quadrature-Encoded Pulse) decoder module built-in to the BBB's TI Sitara ARM processor.
NOTE: This requires the TI eQEP Linux kernel module from Nathiel Lewis (http://nathanielrlewis.com/?p=87) which is inlcuded on BeagleBoard.org Debian image for BBB since 2014-May-14 (http://beagleboard.org/latest-images)
Further information on the eQEP kernel module and API for Python & C++ is in Nathaniel's GitHub repo: https://github.com/Teknoman117/beagle...
The Device Tree Overlay file bone_eqep2b-00A0.dtbo that I mention in the video is located in my GitHub repo: https://github.com/pdp7/beaglebot/tre...
For reference, here are GitHub Gist text files that I created as notes while making the video:
https://gist.github.com/pdp7/eb34f4ea...
https://gist.github.com/pdp7/31e31a92...
https://gist.github.com/pdp7/8a8fb9e2...
https://gist.github.com/pdp7/8241f151...

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...