Cardboard Desk Fan
A paper impeller on a motor, with a button start. Beginner moving-air build used to check motor-driver prompts.
Prompt
A small cardboard desk fan. One DC motor spins a paper blade. A button on D2 starts and stops it. Arduino Uno. Cutouts, wiring, and code.
Generated wiring
Generated code
Firmware
// QA log: fan
bool on = false;
void setup() {
pinMode(2, INPUT_PULLUP);
pinMode(9, OUTPUT);
}
void loop() {
if (digitalRead(2) == LOW) {
on = !on;
delay(250);
}
analogWrite(9, on ? 180 : 0);
}QA photos
No phone photo in the QA log yet for this build. Wiring and code above are the generated package.
Parts
- Arduino
- motors
- 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.


