LEARN · FIRST PRINCIPLES
First day: keep the whole chain in view
Start with Start here if these words are new. This sheet reminds you of the jobs; the first lab supplies the reviewed setup.
Computer → written instructions → Build → Upload → board → electrical connections → circuit → light. Build turns written code into a runnable program for the selected board. Upload transfers it. USB can supply both power and data; a charging-only cable may power the board without allowing Upload.
Recognize the parts. The Uno development board carries a tiny controlling computer. A breadboard has hidden connections joining selected holes. A jumper wire joins electrical points. A resistor limits current in the LED path. An LED emits light when connected in its allowed direction with suitable current. GND is the board's chosen zero-volt comparison point and a return connection.
For the external LED: unplug power; D8 → 330 Ω resistor → LED anode → LED cathode → GND. The arrow follows the component order, not a command moving through the LED. Ω means ohms, the resistance unit. Use separate connected breadboard groups for each successive junction. Check actual LED markings and the breadboard's contact groups before powering. Never connect power directly to ground or remove the resistor to make a dark LED light.
For the tools: use VS Code with the PlatformIO IDE extension and the lab's reviewed Uno environment. Edit src/main.cpp, an ordinary C++ source file. Save → Build and inspect messages → Upload and wait for success → observe two complete cycles. Saving alone does not update the board. Successful Build alone does not update the board. A failed Upload may leave the old program running.
For the code: setup() runs once at startup; the framework calls loop() repeatedly. pinMode selects a pin's job. digitalWrite requests HIGH or LOW. delay(1000) waits one second. HIGH produces light in our D8-to-resistor-to-LED-to-GND circuit; other wiring can behave differently. See the fully explained first program.
For Git: Save updates your working file. Stage selects contents. Commit records that selection in local history. Push shares commits with another repository, often hosted by GitHub. Git is the history system; GitHub is the online service. Check status and differences before selecting and recording changes.
When stuck: read the tool's actual message. After a successful Upload, a dark external LED calls for an unpowered wiring check: contact groups, LED direction, resistor path, D8/code agreement. Change one thing at a time. Ask another member to look at both the code and the physical path. Next steps are the external LED, button and potentiometer labs.