Coder Social home page Coder Social logo

arduino-bot-tutorial's Introduction

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 - [email protected]

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

Acknowledgements

arduino-bot-tutorial's People

Contributors

antobrandi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.