Two Level Mobile Robot Control System
Version 1.0.0.3 (376 KB) von
Ryhor Prakapovich
This package contains files necessary to build mobile robot that can travel along road and corridors
The Mobile Robot with Two Level Control to cover three topics:
- Programming a Raspberry Pi with Simulink.
- Programming Arduino Mega with Simulink.
- Getting Raspberry Pi and Arduino to communicate with each other.
By the end of this description you will see a Mobile Robot programmed to detect and follow a linear perspective point using Simulink Support Packages for Raspberry Pi and Arduino Hardware.
https://www.youtube.com/watch?v=42we9W22iCM
1. Мodel HighLevel_RaspberryPi simulate the vision system that allows a mobile robot to travel along straight road sections and corridors on the basis of linear perspective point detect. Camera Board or web camera must have connected to Raspberry Pi.
2. Model LowLevel_Arduino simulate a simple closed-loop control algorithm which use the difference between two encoder outputs to calculate the power that should be applied to each wheel individually.
3. In this project Raspberry Pi and Arduino Mega communicate with each other through the serial interface. However, despite the fact that the Raspberry Pi has the hardware parallel interface (UART), but it is not among the Simulink’s blocks as that of Arduino. To solve this problem for Raspberry Pi was developed the block of software parallel interface. But there is still a problem: UART port Arduino powered by 5 V, and Raspberry - from 3.3 V. For this Raspberry Rx pin was connected to the Arduino Tx pin through two resistors as shown in the pict.
For camera resolution at 320x240 pixels and UART port settings at 600-2400 baud rate was obtained maximum of 4-8 frames per second.
The project includes the following files:
•ssHighLevel_RaspberryPi.slx
•ssLowLevel_Arduino.slx.
Zitieren als
Ryhor Prakapovich (2024). Two Level Mobile Robot Control System (https://github.com/rprakapovich/twolevelcontrol/releases/tag/v1.0.0.3), GitHub. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2016a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Robotics and Autonomous Systems > Robotics System Toolbox > Coordinate Transformations >
- Engineering > Electrical and Computer Engineering > Robotics >
Mehr zu Coordinate Transformations finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.3 | See release notes for this release on GitHub: https://github.com/rprakapovich/twolevelcontrol/releases/tag/v1.0.0.3 |
||
1.0.0.0 |
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.