Rensselaer Arduino Support Package Library (RASPLib)

バージョン 2.14 (23.5 MB) 作成者: Joshua Hurst
Simulink sensor and motor driver library for Arduino
ダウンロード: 25.7K
更新 2024/10/14
A Simulink Arduino toolbox with blocks for: quadrature encoder, compass/magnetometer, barometer, temperature, accelerometer, gyroscope, ultrasonic, driver amplifier (DC motor driver), and simple serial communication and plotting tools.
Supported I2C Sensors: MPU6050, MPU9250, HMC5883, BMP180, BMP280, MS5611, BMI160 (commonly found on GY-521, GY-271, GY-91, GY-87), HC-SR04, VL53L0X, QMC5883.
Examples are provided for basic hardware IO, step response and closed loop control of an Lego NXT motor.
Download includes basic curriculum labs describing the following:
- Simulink Arduino Intro Blinking LED
- RASPlib Installation Instructions
- Analog and Encoder input, and PWM output
- Gyroscope Reading and Calibrating
- Magnetometer - Making a Compass
- Serial Communication Basics
- Bluetooth Communication
- DC Motor Step Response
- Realistic DC Motor Simulation
- Basic DC Motor Control
- Realistic PI Controller Simulation
- DC Motor Parameter ID
- DC Motor Control with Full State Feedback and LQR
- Determining Angle with Complementary Filter
- Basic Balancing Lab
- Ultrasonic Distance Sensor
- Solving ODEs with MATLAB and Simulink
Labs are draft labs. Please contact with suggestions or help before leaving negative feedback.
Tested Matlab Versions 2015a-2021a. Support for Mega, Nano and Uno. Not tested or expected to work with Due without modification.
We highly recommend 2015a 32 bit for the best user experience. It is the fastest for compile and connection times and it the most tested version. 2020a also highly recommended.

引用

Joshua Hurst (2024). Rensselaer Arduino Support Package Library (RASPLib) (https://github.com/hurstj01/RASPLib), GitHub. に取得済み.

MATLAB リリースの互換性
作成: R2015a
R2015a 以降 R2024a 以前と互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersROS Toolbox Supported Hardware についてさらに検索
謝辞

ヒントを得たファイル: Device Drivers

コミュニティ

Community Treasure Hunt

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

Start Hunting!

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート
2.14

support for 2024a aCLI modifications

2.13

See release notes for this release on GitHub: https://github.com/hurstj01/RASPLib/releases/tag/V2.13

2.12

minor fixes

2.11

Minor fixes to balance code

2.1

See release notes for this release on GitHub: https://github.com/hurstj01/RASPLib/releases/tag/V2.1

2.0

Remote Control Balancing App for MinSegs, updated serial connect, tune and plot for Nano systems

1.52

typo fixes

1.51

- QMC5883 driver block
- Additional Labs updated for 2020a
- MinSegMega V4, MinSegNano V3, and MinSegMotor examples created

1.35

- Added support for Nano V3
- Added driver blocks with Voffset (more intuitive/easier than PWMoffset)
- fixed sampling time error for PWM frequency block in 2019b/2020a
- Separated Magnetometer from 9250 block (Magnetometer read is slow)

1.32

Updated M2V5 and MinSegNano Demo Files

1.3

PWM frequency bug fix. Added support for MinSegMegaV3 and MinSegShield M2V5. Changed file naming convention for clarity. VL53L0X time-of-flight sensor support block added. Other minor fixes. Verified support with 2019a.

1.2.4.3

Bug fix for 2015a serial plot

1.2.4.2

formatting update

1.2.4.1

updated description to recommend 2015a

1.2.4.0

Data sync improvements for serial plotting of with multiple channels

1.2.3.0

- Added support for ultrasonic sensor up to 2018a
- Added functionality to 3 ultrasonic sensors. Code works by modifying Tone.cpp to not use Timer 2 ISR so ultrasonic library can be used.

1.2.1.0

- Added a synchronization string to the SerialPlot block. This allows versions after 2017a to sync data sent to the serial line for plotting/saving data.

1.2.0.0

- added support for BMI160 Gyroscope Accelerometer (BMI160 seems to be more robust to noise than MPU6050)
- added serial plot for multiple channels (useful for boards without external mode like nano)
- fixed system objects to be compatible with 2018a

1.1.0.0

added:
- PWM frequency selection blocks (for Magnetic Levitation kits)
- BMP180 barometer driver
- support MinSegNano, MinSegPro, and MinSegShield M1V5
- HCSR04 ultrasonic driver workaround for 2015b or later

minor bugs and fixes
updated image file

1.0.0.0

added library image
minor formatting updates
minor edits
minor edit
minor edits
minor edit
minor updates

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。