Device Drivers for the BeagleBone Black
This project provides a step by step guide for the development of device driver blocks specifically for the BeagleBone Black.
Several standard blocks are developed including blocks for:
- GPIO read/write
- I2C read/write
- Analog Input read
- USR LEDs control
Specific sensor drivers are also developed for the:
- ADXL330 accelerometer
- L3G4200D gyroscope
- HMC5883L magnetometer
The developed driver blocks are then combined in a Simulink model for attitude estimation via a descent gradient sensor fusion algorithm. Finally a UI is developed to display sensor data and estimated attitude via Simulink 3D VR animation. All code is included.
Note that this project may prove especially useful for those using Matlab versions prior to R2014B where the "Embedded Coder® Support Package for BeagleBone Black Hardware" is not supported.
Cite As
R. Dustin (2024). Device Drivers for the BeagleBone Black (https://github.com/rdustinkahawita/BLACKlink), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Device Drivers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
BLACKlink_DocumentationMisc
BLACKlink_GUISourceCode
BLACKlink_SimulinkModels
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.2.0.0 | NA |
|
|
1.1.0.0 | NA |
|