3D Printed robot arm powered by ROS 2 and Arduino and controlled via MoveIt! 2 and Amazon Alexa.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
This project aim is to build a 3 axis robot arm with simple and cheap hardware that can be easily and remotely controlled. Despite all the other robot arms built with an Aruidno Uno that are controlled by applying joint angles, this can be controlled assigning X, Y, Z coordinates in the workspace because it implements the inverse kinamatic. Furthermore, it implements a speech recognition module that can run on any computer with a microphone that is connected to the same Wi-Fi network of the robot.
This Robot is Build and Developed in the online course called: Robotics and ROS 2 - Learn by Doing! Manipulators and is currently available on the following platforms:
If you want more information on the course or just want to check the course material this link is for you
This robot is powered by:
- PC with Ubuntu 22.04 with ROS 2 Humble / Iron
- Arduino Board
- SG90 Servo Motors (x4)
And is controlled by:
- ROS 2 Humble / Iron
Once it's printed and assembled according and connected, there are few configuration to be made both in Ubuntu and in the Arduino UNO.
Make sure you install correctly the following required tools before continuing
- Install Ubuntu 22.04 on PC or in Virtual Machine Download the ISO Ubuntu 22.04 for your PC
- Install ROS 2 Humble / Iron on your Ubuntu 22.04
- Install ROS 2 missing libraries. Some libraries that are used in this project are not in the standard ROS 2 package. Install them with:
sudo apt-get update && sudo apt-get install -y \
ros-humble-joint-state-publisher-gui \
ros-humble-gazebo-ros \
ros-humble-xacro \
ros-humble-ros2-control \
ros-humble-moveit \
ros-humble-ros2-controller \
ros-humble-gazebo-ros2-control
- Install VS Code and Arduino IDE on your PC in order to build and load the Arduino code on the device
- Install Python and C++ addistional libraries
sudo apt-get update && sudo apt-get install -y \
libserial-dev \
python3-pip
pip install pyserial
- Clone the repo
git clone https://github.com/AntoBrandi/arduinobot.git
- Build the ROS 2 workspace
cd ~/Arduino-Bot/arduinobot_ws
colcon build
- Source the ROS Workspace
. install/setup.bash
- Connect the Arduino UNO to your PC and open the Arduino IDE. Open the folder containing the code for the Arduino controller.
To launch the ROS simulated robot
ros2 launch arduinobot_bringup simulated_robot.launch.py
To launch the real robot, connect the Arduino to the PC and upload the code in the folder on the Arduino controller. Then launch the real robot
ros2 launch arduinobot_bringup real_robot.launch.py
To launch the interface with Alexa download ngrok and create an account then setup ngrok with your key
./ngrok authtoken <YOUR-KEY>
Then start the ngrok web server with
./ngrok http 5000
Copy the link that provides ngrok and paste it in the section Endpoint of your Alexa Developer account
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Antonio Brandi - LinkedIn - antonio.brandi@outlook.it
My Projects: https://github.com/AntoBrandi