SPAC-R is a Delta robot designed to perform pick-and-place operations using a suction mechanism. It automates the assembly of paper craft flowers by picking pre-cut petals from a designated area, applying glue to them, and assembling them into a complete flower. This repository contains all the necessary resources to recreate and operate SPAC-R, including 3D models, source code, and reference materials.
- Delta Robot Mechanism: SPAC-R employs a 4-DOF Delta robot configuration for high-speed, precise movements.
- Suction Mechanism: A suction cup mounted on the end effector is used for picking and placing petals.
- Automated Crafting: The robot applies glue and assembles petals into a flower autonomously.
- Inverse Kinematics: Ensures smooth and accurate motion control of the end effector.
- Arduino Nano Control: The system is powered by an Arduino Nano, with code written in C++ for precise control of servo motors and suction mechanisms.
- All 3D-printable components required to build SPAC-R are provided in the
STL_Filesfolder. - Components include:
- Frame structure
- End effector
- Suction mechanism attachments
- Joint connectors
DeltaKinematics.cpp: The primary code for controlling SPAC-R's operations.- DeltaKinematics.h (
.h): Modularized code for inverse kinematics, servo control, and suction operations. - Designed to run on an Arduino Nano microcontroller.
- Find progress images of SPAC-R in the
Progress Imagesfolder:
- Demonstrations of SPAC-R in action are located in the
reference Videosfolder:- Initial prototype testing
- End effector rotation
- Suction assembly in operation
- Servo movement control
- Final prototype assembling a flower
-
Controller: Arduino Nano
-
Servo Motors:
- Three for the Delta robot's shafts
- One micro servo for end effector rotation
-
Suction Mechanism: Air compressor with battery for powering suction cup
-
Camera: RPi Camera Module for petal detection (optional)
- STL files are included for all major structural components.
- Arduino IDE: To upload the control code to the Arduino Nano.
- VarSpeedServo Library: For smooth servo transitions during movement.
- C++ Programming Knowledge: For understanding and customizing the source code if needed.
- 3D Print Components: Print the STL files provided in the
STL_Filesfolder. - Assemble the Delta Robot:
- Follow the reference images in the
Imagesfolder for guidance.
- Follow the reference images in the
- Install Electronics:
- Connect the servo motors and suction mechanism to the Arduino Nano.
- Attach the camera module (if used).
- Upload the Code:
- Use Arduino IDE to compile and upload the code from
main.cpp.
- Use Arduino IDE to compile and upload the code from
- Test the System:
- Run initial tests using the
Videosfolder as a guide.
- Run initial tests using the
- Initialization: SPAC-R moves to the home position and waits for a command.
- Pick Operation: The suction cup picks a petal from the pre-cut paper area.
- Glue Application: The petal is moved to the gluing area.
- Assembly: The petals are sequentially placed to form a complete flower.





