DIY SCARA Robot Based on RISC-V Architecture

Published  November 27, 2024   
R Rajesh
Author



A DIY SCARA (Selective Compliance Assembly Robot Arm) robot is a versatile, compact robotic arm designed for tasks requiring precision, such as assembly, sorting, and pick-and-place operations. As robotics becomes integral to modern industry and education, SCARA robots offer a practical and accessible way to explore automation, robotics programming, and motion control. This project combines affordability with high functionality, making it a valuable tool for learning and small-scale automation.

At the heart of the robot lies the ESP32-C6 WROOM module, a powerful microcontroller equipped with Wi-Fi and Bluetooth capabilities, ensuring seamless connectivity and control. The robot's motion is driven by NEMA 17 stepper motors, powered by TMC2209 drivers known for their smooth and efficient operation. Two SG90S servo motors handle the gripper, enabling precise manipulation of objects. The robot’s electronics are powered by a robust power system, featuring an LM2596-5 buck converter to step down a wide input voltage to 5V. This 5V rail is further regulated to 3.3V by an ADP7118AUJZ-3.3 low-noise CMOS LDO from Analog Devices, providing stable power to the ESP32-C6. Analog Devices’s MAX6899 supervisor IC ensures reliable boot-up of the system, while an onboard RGB LED offers visual feedback for status indications. 

The SCARA robot connects to a computer via a USB Type-C port, leveraging the ESP32-C6's native USB interface for streamlined communication. Control software, written in Python, provides an intuitive interface to operate the robot, featuring functions like direct control and a record-and-playback mode. This functionality allows users to program complex movements by recording and replaying actions with precision. The robot’s firmware is developed using the Arduino IDE, enabling customization and further development by hobbyists and professionals alike.

Code File

Code and Schematics AI SmartGlassCode and Schematics Zip File AI SmartGlass

PCB Gerber File

PCB Geber File AI SmartGlassPCB Geber ZIP File AI SmartGlass
 
 
Value Manufacturer DigiKey Part Number Datasheet Link Quantity
330uF Chinsan (Elite) 4191-UGS1V331MP51016UCT-ND

Datasheet

2
10uF Samsung Electro-Mechanics 1276-1096-1-ND

Datasheet

2
0.1uF YAGEO 311-1088-1-ND

Datasheet

4
2.2uF Samsung Electro-Mechanics 1276-1134-1-ND

Datasheet

1
SS34 Comchip Technology 641-2115-1-ND

Datasheet

2
ADP7118AUJZ-3.3-R7 Analog Devices 505-ADP7118AUJZ-3.3-R7CT-ND

Datasheet

1
Screw_Terminal_2_P5.00mm Phoenix Contact 277-12547-ND

Datasheet

1
Barrel_Jack_Switch GlobTek, Inc. 1939-G-1005B-ND

Datasheet

1
USB_C_Receptacle_USB2.0 Assmann WSW Components 123-A-USBC-20F0-EA-GSR11CT-ND

Datasheet

1
47uH undefined undefined

Datasheet

1
150505M173300 Harvatek Corporation 3147-T3A83RGB-20C001011U1930CT-ND

Datasheet

1
0R Stackpole Electronics Inc RMCF0603ZT0R00CT-ND

Datasheet

1
1K YAGEO 311-1.00KHRCT-ND

Datasheet

11
10K Stackpole Electronics Inc RMCF0603JT10K0CT-ND

Datasheet

8
47K YAGEO 311-47.0KHRCT-ND

Datasheet

1
RST CIT Relay and Switch 2449-CS1213AGF160CT-ND

Datasheet

2
LM2596S-5 UMW 4518-LM2596S-5.0CT-ND

Datasheet

1
MAX6899AAZT+T Analog Devices Inc./Maxim Integrated MAX6899AAZT+TCT-ND

Datasheet

1
ESP32-C6-WROOM-1 Espressif Systems 1965-ESP32-C6-WROOM-1-N8CT-ND

Datasheet

1
TMC2209 STEPPER DRIVER BOARD Analog Devices Inc./Maxim Integrated 505-TMC2209SILENTSTEPSTICK-ND

Datasheet

4