MULTI-ROBOT SYSTEMS (MRS) RESEARCH GROUP
  • The Lab
    • Overview
  • People
  • Research
    • Platforms
    • Interests >
      • Intelligent Transportation Systems (ITS)
      • Robotic Systems
  • Publications
    • Publications Library
    • Theses Library
  • Learning for Everyone
    • Available Courses
  • Workshops
    • IV'20_CAV
    • Smart Neighborhood Internship Feb '20
  • Contact

LEARNING FOR EVERYONE
ROS IN AUTONOMOUS SYSTEMS APPLICATIONS

​Raspberry Pi / ROS - Experiments

​​

Picture
  • This Document is prepared to show some experiments on a ROS-enabled Raspberry Pi Model 3 B+ connected with Arduino Uno.
  • We will work with Raspberry pi 3 Model B+ as the high-level embedded processor. Additionally, Arduino UNO will be used for the low-level processes.
  • The programming language that will be used is python for the ROS-enabled Raspberry Pi.
  • In this tutorial, basic experiments to test several functions will be explained. Some of these experiments are built using python compiler only. While some are using ROS nodes programmed by python as well. Moreover, basic experiments showing communication between the high- and low-level processors will be explained.

Raspberry Pi - (Blinking LED) Experiment

​The purpose of this experiment is to write a python code that allows a LED to blink on and off with sampling time of 1 second for 5 times.

Raspberry Pi - (PWM LED) Experiment

​The purpose of this experiment is to write a code that allows a LED to have its brightness value set using PWM varying from 0 to 100% with sampling time of 0.05 second.​

 ROS/Raspberry Pi – Arduino - (Serial Communication)

ROS/Raspberry Pi (Read) – Arduino (Write) - (PWM LED) EXPERIMENT

The purpose of this experiment is to write a python code creating a ROS node. This node reads the data sent by the Arduino through serial communication represented by the USB cable.
​The received data is sent as a LED brightness value set using PWM varying from 0 to 100%. The node keeps running as long as the node is activated till it is shutdown. (Show the activated nodes, topics, and messages).
The set sampling time is 0.05 second and baud rate of 9600.

ROS/RASPBERRY PI (write) – ARDUINO (read) - (PWM LED) EXPERIMENT

The purpose of this experiment is to write a python code creating a ROS node. This node writes a LED brightness value set using PWM varying from 0 to 100% to be read by Arduino through serial communication represented by the USB cable.
​The node keeps running as long as the node is activated till it is shutdown. (Show the activated nodes, topics, and messages).
The set sampling time is 0.05 second and baud rate of 9600.
<-- Go to Previous Topic
Finish Course -->
Powered by Create your own unique website with customizable templates.
  • The Lab
    • Overview
  • People
  • Research
    • Platforms
    • Interests >
      • Intelligent Transportation Systems (ITS)
      • Robotic Systems
  • Publications
    • Publications Library
    • Theses Library
  • Learning for Everyone
    • Available Courses
  • Workshops
    • IV'20_CAV
    • Smart Neighborhood Internship Feb '20
  • Contact