# How to Interface ROS with Arduino (UNO) in Ubuntu 20.04
## Downloading ROS Package
* ros-noetic-rosserial-arduino
* ros-noetic-rosserial
## Steps (Setting up the environment)
* Install Arduino IDE
* ~/Arduino will be created.
* Create a directory called "libraries" in the "Arduino" folder in the home directory.
* command: cd ~/Arduino/libraries
* command: rosrun rosserial_python make_libraries.py .
* ros_lib will be installed
## Steps while uploading Code
* Set Programmer to Arduino as ISP (atmega32U4)
* Set the correct port and board
* Upload the code
## Running the code
* command: rosrun rosserial_python serial_node.py /dev/ttyACM0
* In some case it could be /dev/ttyUSB0. Choose the right port.