/Arduino-Bot

3d printed Arduino powered robot arm, conneced to ROS via rosserial library and controlled by moveit plugin

Primary LanguageC++

LinkedIn


Logo

arduinobot

3D printed robot arm powered by ROS and Arduino Uno
Explore the docs »

View Demo · Report Bug · Request Feature

Product Name Screen Shot

Table of Contents

About The Project

Product Name Screen Shot 2

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.

Built With

This robot is powered by:

  • PC with Ubuntu 20.04 with ROS Noetic
  • Arduino UNO
  • SG90 Servo Motors (x4)

And is controlled by:

  • ROS Noetic

Product Name Screen Shot Real

Getting Started

Once it's printed and assembled according and connected, there are few configuration to be made in both Ubuntu 18.04 side and Arduino UNO.

Prerequisites

Make sure you install correctly the following required tools before continuing

  • Install Ubuntu 20.04 on PC or in Virtual Machine Download the ISO Ubuntu 20.04 for your PC
  • Install ROS Noetic on your Ubuntu 20.04
  • Install ROS missing libraries. Some libraries that are used in this project are not in the standard ROS package. Install them with:
sudo apt-get install ros-noetic-rosserial
sudo apt-get install ros-noetic-rosserial-arduino
sudo apt-get install ros-noetic-gazebo-ros-control
sudo apt-get install ros-noetic-moveit
sudo apt-get install ros-noetic-actionlib-tools
  • Install VS Code and Arduino IDE on your PC in order to build and load the Arduino code on the device

Installation

  1. Clone the repo
git clone https://github.com/AntoBrandi/arduinobot.git
  1. If you are using Ubuntu 20.04 with ROS Noetic change the branch to noetic
cd ~/Arduino-Bot
git checkout noetic
  1. Build the ROS workspace
cd ~/Arduino-Bot/arduinobot_ws
catkin_make
  1. Source the project
source devel/setup.bash
  1. Connect the Arduino UNO to your PC and open the Arduino IDE. Open the folder containing the code for the Arduino controller.

Usage

To launch the ROS simulated robot

roslaunch arduinobot_bringup sim_complete.launch

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

roslaunch arduinobot_bringup complete.launch

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

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Antonio Brandi - LinkedIn - antonio.brandi@outlook.it

My Projects: https://github.com/AntoBrandi

Acknowledgements