Raspberry Pi PWM Driver Block SFunction

版本 (17.9 KB) 作者: Joshua Hurst
Simple Soft PWM driver block example using WirngPi

4.0K 次下载

更新时间 2014/8/22


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.


Joshua Hurst (2023). Raspberry Pi PWM Driver Block SFunction (https://www.mathworks.com/matlabcentral/fileexchange/41529-raspberry-pi-pwm-driver-block-sfunction), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013a
Windows macOS Linux

参考作品: Device Drivers

启发作品: Raspberry Pi Simulink Driver Blocks ADC DAC PWM


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明

updated links

updated links