- Arduino Uno R3 Board + CNC Shield V3
- Step motor driver - A8825
- Slave - Arduino Uno R3 + CNC Shield V3:
- After receiving the signal to classify garbage, the circuit will process and control the motor to rotate in the correct direction to put the garbage into the bin.
- After the process is completed, it will respond to the ESP8266 to notify that a new process can be started.
- AccelStepper
- Wire
- PlatformIO
- Arduino IDE
- For the Arduino Uno R3 + CNC Shield V3 circuit, download the code, download the appropriate libraries, and then upload the code, adjust the current to match the motor on the A8825 driver.
- When uploading code, remove the SDA and SCL pins, and after the code is uploaded, they can be plugged back in.
- Connect the motor to the circuit before powering on the CNC Shield V3.