How geovani5410/multi-arm-pca9685 works
Celda Robótica is an ESP32-controlled manufacturing-cell project. Its arm workflow is configured as posture arrays, selected by a section routine, executed by the shared runner, and translated by each arm into PCA9685 servo commands. The README also describes timed conveyor stages, limit-switch reversal, and planned relay/electromagnet capability; the conveyor and top-level implementation are not present in the supplied tree, so those links are documented rather than verified in source. The graph preserves the three distinct arm stages and their shared execution layer.
Main entry points: CeldaRobotica.ino ESP32 controller · RutinaRunner.cpp Routine runner · Seccion1.cpp Welding station · Seccion2.cpp Independent station
Components 17
Cell Control
- ESP32 controller
CeldaRobotica/CeldaRobotica.ino
Arm Stations
- Welding station
CeldaRobotica/Seccion1.cpp - Welding postures
CeldaRobotica/ConfigSeccion1.cpp - Independent station
CeldaRobotica/Seccion2.cpp - Station 2 postures
CeldaRobotica/ConfigSeccion2.cpp - Door assembly
CeldaRobotica/Seccion3.cpp - Station 3 postures
CeldaRobotica/ConfigSeccion3.cpp
Arm Runtime
- Posture model
CeldaRobotica/Postura.h - Routine runner
CeldaRobotica/RutinaRunner.cpp - Robot arm driver
CeldaRobotica/BrazoRobotico.cpp
Cell Hardware
- PCA9685 servos
- Timed conveyor
- L298N motor
- Limit switches
- Relay electromagnets
Other components
- Cell operation
- Assembly workpiece
Connections 20
- Cell operation → ESP32 controller: operates
README.md - ESP32 controller → Welding station: runs stage
README.md - ESP32 controller → Independent station: runs stage
README.md - ESP32 controller → Door assembly: runs stage
README.md - Welding station → Welding postures: selects postures
CeldaRobotica/Seccion1.cpp - Independent station → Station 2 postures: selects postures
CeldaRobotica/Seccion2.cpp - Door assembly → Station 3 postures: selects postures
CeldaRobotica/Seccion3.cpp - Welding postures → Posture model: defines arrays
- Station 2 postures → Posture model: defines arrays
- Station 3 postures → Posture model: defines arrays
- Welding station → Routine runner: executes routine
CeldaRobotica/Seccion1.cpp - Independent station → Routine runner: executes routine
CeldaRobotica/Seccion2.cpp - Door assembly → Routine runner: executes routine
CeldaRobotica/Seccion3.cpp - Routine runner → Robot arm driver: moves group
- Robot arm driver → PCA9685 servos: writes PWM
CeldaRobotica/BrazoRobotico.cpp - ESP32 controller → Timed conveyor: advances stages
README.md - Timed conveyor → L298N motor: drives
README.md - Timed conveyor → Limit switches: reads switches
README.md - Timed conveyor → Assembly workpiece: transports
README.md - ESP32 controller → Relay electromagnets: controls
README.md