Get from Ico-github-logo

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Device Drivers for the BeagleBone Black

  • BBB_QuadRotor_GUI_Program_v4
    BBB GUI Function
  • BBB_QuadRotor_GUI_v1(vara...
    BBB_QUADROTOR_GUI_V1 MATLAB code for BBB_QuadRotor_GUI_v1.fig
  • BBB_QuadRotor_GUI_v2(vara...
    BBB_QUADROTOR_GUI_V2 MATLAB code for BBB_QuadRotor_GUI_v2.fig
  • BBB_Test_v2(varargin)
    BBB_TEST_V2 MATLAB code for BBB_Test_v2.fig
  • rtwmakecfg()
    RTWMAKECFG.m adds include and source directories to rtw make files.
  • sliderbox_guidata(varargin)
    SLIDERBOX_GUIDATA M-file for sliderbox_guidata.fig
  • BBB_Accel_Test.slx
  • BBB_Accel_Test_LibraryBlo...
  • BBB_Accel_Test_SFunction_...
  • BBB_ADC_Read_Test.slx
  • BBB_ADC_Read_Test_Library...
  • BBB_ADC_Read_Test_SFuncti...
  • BBB_AHRS_IMU_MARG_v2_Live...
  • BBB_AHRS_IMU_v5_Live_3DAn...
  • BBB_Compass_Test.slx
  • BBB_Compass_Test_LibraryB...
  • BBB_Compass_Test_SFunctio...
  • BBB_GPIO_Read_Test.slx
  • BBB_GPIO_Read_Test_rev1.slx
  • BBB_GPIO_Read_Write.slx
  • BBB_GPIO_Read_Write_SFunc...
  • BBB_GPIO_Read_Write_Test_...
  • BBB_Gyro_Test.slx
  • BBB_Gyro_Test_LibraryBloc...
  • BBB_Gyro_Test_SFunction_M...
  • BBB_I2CReadWrite.slx
  • BBB_I2C_Read.slx
  • BBB_I2C_Read_SFunction_Ma...
  • BBB_I2C_Read_Test_Library...
  • BBB_I2C_Write.slx
  • BBB_I2C_Write_SFunction_M...
  • BBB_I2C_Write_Test_Librar...
  • BBB_USRLED_Test.slx
  • BBB_USRLED_Test_LibraryBl...
  • BBB_USRLED_Test_SFunction...
  • BBB_USRLED_v1.slx
  • BBB_USRLED_v2.slx
  • View all files
5.0
5.0 | 4 ratings Rate this file 42 Downloads (last 30 days) File Size: 12.6 MB File ID: #49702 Version: 1.2
image thumbnail

Device Drivers for the BeagleBone Black

by

R. Dustin (view profile)

 

13 Feb 2015 (Updated )

Development of Simulink Device Driver Blocks for the BeagleBone Black

| Watch this File

File Information
Description

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.

Acknowledgements

Device Drivers inspired this file.

Required Products Simulink
Simulink 3D Animation
MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
20 Jan 2017 Mrityu Mathworker

Great!
Dustin, will it work for MPU 6050?
If yes how to do it?

Thanks and Regards.

Comment only
27 Feb 2016 liu lei

31 Dec 2015 Sala Darenfed

Will the package work with ADXL335 3-Axis Analog Output Accelerometer? Thanks.

28 Apr 2015 R. Dustin

R. Dustin (view profile)

Hi Oscar, sorry for the late reply. I've added the "BLACKlink_SimulinkLibrary" folder to the GitHub page with a zip file containing all required code to install the BLACKlink library on your computer. I've also added instructions on exactly how to do this in the BLACKlink Manual appendix (13.1) also available on the GitHub page. Hope the helps and let me know if you have any other questions. Cheers!

Comment only
07 Apr 2015 Oscar Mauricio

07 Apr 2015 Oscar Mauricio

hi, your job is fantastic but I have a problem.
How do you install this in simulink? for use library, I don't know like install. please help me.

Comment only
25 Feb 2015 Albert Nubiola

Updates
17 Aug 2015 1.2

NA

18 Aug 2015 1.1

NA

Contact us