Arduino Robotic Arm Control
In this project tutorial, we will learn how to control a robotic arm using an Android device via WiFi over the Internet. The NodeMCU ESP32-Dev kit and the Robotic Arm Kit project will be used. It provides a graphic user interface for controlling the arm. A simple HTML and Js webpage is hosted on esp32, and an asynchronous webserver runs on it. You can access the interface by simply typing the IP address of esp32 into your browser on any device. But make sure the devices are on the same local network!
Components
1 x ESP32 Development Board - https://amzn.to/3GOH81q
1 x 5 DOF Robotic Arm - https://amzn.to/40zpgAA
5 x MG995 Servo Motor - https://amzn.to/3JHObvM
Connections
- Connect the VCC of all servo motors together and connect the same to the VIN pin of the esp32.
- Connect the GND of all servo motors together and connect the same to the GND pin of the esp32.
- Servo motor (Finger) - GPIO 13 of ESP32
- Servo motor (Palm) - GPIO 14 of ESP32
- Servo motor (Middle) - GPIO 26 of ESP32
- Servo motor (Shoulder) - GPIO 33 of ESP32
- Servo motor (Base) - GPIO 18 of ESP32
How to use it?
After successfully assembling the hardware, flash the code and make sure you replaced the username and password. After the flash, you will get the local IP address of the esp32 on the serial monitor of Arduino IDE. Now, connect your mobile device to the same network and type the IP on the browser. You will get an interface to control your Robotic arm.
Code
Download and flash this code using Arduino IDE.
https://github.com/techworldthink/Robotic-Arm-Control/tree/main/main
Images
Comments
Post a Comment