5.0 | 2 ratings Rate this file 52 Downloads (last 30 days) File Size: 17.9 KB File ID: #41529
image thumbnail

Raspberry Pi PWM Driver Block SFunction



29 Apr 2013 (Updated )

Simple Soft PWM driver block example using WirngPi

| Watch this File

File Information

This is a simple example for motor speed control using the soft PWM function in the WiringPi library.
The range is set to 255 to emulate Arduino like implementation.
Other device driver block, and the hardware it was run on is available at our website:


A complete Arduino library and curriculum is available here:

coming soon:
- Quadrature Encoder
- MPU6050

and others!

This work is part of the Mechatronics curriculum at Rensselaer Polytechnic Institute.


Device Drivers inspired this file.

Required Products Simulink
Target Support Package
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 (2)
13 Nov 2014 Carlos Moran  
03 Jul 2013 Paul Kassebaum  
21 Aug 2014

updated links

22 Aug 2014

updated links

Contact us