Smart Recycling Sorter
A cardboard chute with a sensor and a servo gate that sends items left or right. Intermediate because the threshold has to be tuned on the bench.
Prompt
Make a smart recycling sorter from cardboard. Use a color or IR sensor on A0 and a servo gate on D9 to sort light items into two bins. Arduino Uno. Cutouts, wiring, and code.
Generated wiring
Generated code
Firmware
// Sample copilot output: sorter
const int SENSOR = A0;
const int GATE = 9;
void setup() {
pinMode(GATE, OUTPUT);
}
void loop() {
int reading = analogRead(SENSOR);
digitalWrite(GATE, reading > 400 ? HIGH : LOW);
delay(80);
}QA photos

Parts
- Arduino
- sensor
- servo
- cardboard
Difficulty and time are from the QA log for this prompt, not a timed class period.
If this build gets stuck
Try this prompt opens the copilot with the text filled in. It does not run a generation until you send it.

