Device Drivers
by Giampiero Campa
02 Jan 2013
(Updated 07 May 2013)
Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples
|
Watch this File
|
| File Information |
| Description |
This package contains a guide that explains, in a step-by-step fashion, how to develop device driver blocks (blocks that perform target-specific functions when executed on a target platform).
Example drivers for:
-) Arduino digital output
-) Arduino digital input
-) Arduino analog output
-) Arduino encoder read
-) DC Motor (Arduino AF Motor Shield)
-) Stepper Motor (Arduino AFMotor Shield)
are included.
While the examples are built using the Arduino as the hardware platform (specifically relying on the Simulink Support Package for Arduino), the method is the same for any other supported target. |
| Acknowledgements |
Simulink Support Package For Arduino Hardware and Simulink Support Package For Raspberry Pi Hardware
inspired this file.
This file inspired
Adlx345 I2c Driver For Arduino Mega, Raspberry Pi Quadrature Encoder S Function, Controle Moteur à Courant Continu Avec Arduino, Example Driver Blocks For Simulink Hardware Support Packages, Raspberry Pi Driver Block S Function, Raspberry Pi Dc Motor H Bridge Driver Block S Function, Raspberry Pi Pwm Driver Block S Function, and Arduino S Function For Mpc4725 I2 C Dac.
|
| Required Products |
MATLAB
Simulink
|
| MATLAB release |
MATLAB 8.0 (R2012b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 02 Jan 2013 |
The PDF document was slightly refined. |
| 23 Apr 2013 |
Fixed a few typos and added a troubleshoot page at the end of the guide. |
| 07 May 2013 |
Fixed small typos, updated copyright, and added troubleshooting section to the guide. |
|
Contact us