This code is port of Giampy's encoder SFunction from Arduino using the WiringPi library.
It has support for multiple encoders.
Other device driver block, and the hardware it was run on is available at our website:
A complete library for Arduino and curriculum is available here:
- MPU6050 gyro accelerometer
- HMC5883L magnetometer
- FreeIMU driver
This work is part of the Mechatronics curriculum at Rensselaer Polytechnic Institute.
Joshua Hurst (2021). Raspberry Pi Quadrature Encoder SFunction (https://www.mathworks.com/matlabcentral/fileexchange/41645-raspberry-pi-quadrature-encoder-sfunction), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Device Drivers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!