Arduino IDE, upload and errors
The lab sheets show how to set up the IDE. This page explains what is happening, so you can fix it when the upload fails or the sketch does not compile.
Breadboard and wiring
Most "my code is wrong" problems with the Arduino are actually wiring. This page explains how a breadboard connects things and how to check a circuit.
LEDs and buttons (digital pins)
Labs 1a and 1b use LEDs and push buttons. The lab sheets show the circuits; this page explains the ideas behind them and why a button sometimes acts "possessed".
PWM and dimming
A digital pin can only be fully on (5 V) or off (0 V). To make an LED half bright, the Uno switches the pin on and off very fast: about 490 times a second (980 on pins 5 and 6). Your eye averages it. This is PWM (pulse width modulation).
Serial Monitor and debugging
The Serial Monitor shows text the Arduino sends over USB. Lab 2a uses it to display values; it is also your best debugging tool, and it is the same channel the Raspberry Pi reads in Lab 5c.
Grove LCD (I2C, scrolling)
A 16 x 2 character display (16 characters, 2 rows) with a colour backlight. Lab 2b uses it with scrolling text; Labs 3a/3b show sensor values on it. This page covers what the lab sheets do not: how it talks to the Uno, how scrolling really works, and why old characters stay behind.
Temperature sensor (analog)
Lab 3a reads this sensor. The lab sheet has the sketch; this page explains the numbers so you can tell a wiring fault from a code fault.
Ultrasonic sensor (distance)
Lab 3b reads distance with the Grove Ultrasonic Ranger. The lab sheet has the sketch; this page explains how the sensor measures and why it sometimes gives strange numbers.
Lab sketch (all sensors + LCD)
The sketch for Labs 5c, 5d and 5e is on your lab sheet. This page explains the parts that matter and what to check when it does not work.