/roboARMino

Python script to control an Arduino UNO based robot arm via a python Interface.

Primary LanguageC++Creative Commons Zero v1.0 UniversalCC0-1.0

robotARMini

Python script to control an arduino based robot arm via a python Interface.

Setup:

setup

Fig 1. Setup of the RobotARMini based on the 3D model designed by Dejan [1].

The Software Interface is done with Tkinter via a User Interface with sliders.

GUI:

Designed with Tkinter[3] slides:

GUI

Fig 2. GUI to control the robotARMini via serial communication (Arduino UNO).

Install:

  1. Use the Arduino IDE to load the StandardFirmata[2] Software on your Arduino Board to get an easy access on the Arduino via python. (You will find it in the StandardFirmata folder)
  2. Open the robotARMini_control.py python code and set up the port your are using for the serial connection to the arduino as well as servo-range constraints (servo_range). min = minimum angle, max = maximum angle, init = initial angle).
  3. Run the code and control your robot arm via the GUI.

Issues:

In this code only the servos 1-3 are used. For the following servos extend the code analogous to servo 1-3.

References:

[1] https://howtomechatronics.com/tutorials/arduino/diy-arduino-robot-arm-with-smartphone-control/, accessed 28.08.2021

[2] StandardFirmata: https://www.arduino.cc/reference/en/libraries/firmata/, accessed 31.10.2021

[3] Tkinter: https://docs.python.org/3/library/tkinter.html, accessed 31.10.2021