Stopped because the project has no available ACUs, so I can’t continue executing changes right now.
Completed so far:
Inspected the existing schematic and found the ESP32 DevKitC, XL1509-5.0 buck regulator, 5A fuse, 12V/5V/3V3 rails, motor/sensor blocks, and existing nets already present.
The generic resistors/capacitors for LED current limiting, E-stop pull-up, buck input/output capacitors, and decoupling were attempted but not added because the generic part lookup failed.
The newly added components are not wired yet.
Project files for the power distribution diagram, pin table, BOM, and PCB recommendations still need to be created/updated.
Schematic checks still need to be rerun and fixed after wiring.
Next work once ACUs are available:
Add the missing resistors and capacitors correctly.
Draft electrical control system for an autonomous black pepper harvesting robot using an ESP32 DevKit main controller and ESP32-CAM vision module.
Intended Use
College prototype for a robot that climbs or moves vertically along guide rails, rotates a harvesting ring around a pepper vine/tree, detects ripe bunches, extends an arm, cuts bunches, and returns home.
Main Features
ESP32 DevKit main state-machine controller.
ESP32-CAM target detection over UART.
Two A4988/A498x stepper channels for vertical carriage and ring rotation.
PCA9685 I2C PWM driver for MG996R arm-extension and scissor servos.
HC-SR04 ultrasonic distance input, MPU6050 IMU on I2C, upper/lower limit switches, LEDs, and NC E-stop motor-enable chain.
System Architecture
Diagram
Power Tree and Budget
12V rail: A4988 motor VMOT inputs, NEMA17 coils, buck input.
Estimated peaks: ESP32 300-500mA bursts, ESP32-CAM 310mA with flash, PCA9685 <10mA logic, HC-SR04 ~15mA, MPU6050 <5mA, two MG996R servos can exceed 2A each under stall, steppers depend on current limit. Use a separate 5-6V BEC rated at least 5A for servos in real hardware; XL1509 2A is acceptable only for logic plus light prototype servo testing.
Key Assumptions
ESP32 DevKit board is powered via its 5V header from the protected 5V rail, not simultaneously by USB power.
A4983 library ICs are used as schematic placeholders for A4988-style carrier wiring; prototype should use A4988 carrier modules with onboard sense resistors and current-limit potentiometers.
HC-SR04 ECHO must be level-shifted or divided to 3.3V before entering ESP32.
All grounds are common, with motor currents returned separately to the battery/star ground area.
Success Criteria
All control nets mapped for firmware.
Protection, fusing, bulk capacitance, decoupling, and E-stop strategy documented.
Ready for Tinkercad reconstruction and PCB-layout planning after review.
Assets are files uploaded to this project which can be used in various ways.
Autonomous black pepper harvesting robot electrical control system with ESP32 controller, ESP32-CAM vision, A4988 stepper drives, PCA9685 servo control, sensors, E-stop, 12V battery input, and 5V power distribution.
Properties
V
Pricing & Availability
Distributor
Qty 1
Arrow
$6.46–$56.71
Digi-Key
$24.66–$76.38
HQonline
$9.35
LCSC
$18.00–$18.06
Mouser
$14.02–$69.66
TME
$0.65
Verical
$6.04–$13.30
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.