Core production
Sketch, circuit diagram, serial-monitor measurements and a safe power record
Connecting code to real circuits through input, output, timing, power and safety.
Connecting code to real circuits through input, output, timing, power and safety.
Completion evidence: Sketch, circuit diagram, serial-monitor measurements and a safe power record.
Build a sketch with an LED, button and sensor; state expected values, measure them in the serial monitor and reproduce one failure safely.
Sketch, circuit diagram, serial-monitor measurements and a safe power record
Build a sketch with an LED, button and sensor; state expected values, measure them in the serial monitor and reproduce one failure safely.
Record power, wiring, data or user limits on hardware, and model limitations in simulation.
The order is recommended. Before a project page, complete evidence from foundation, practice and debugging lessons.
Learn to read a 0–1023 value from a potentiometer or sensor with analogRead.
Open lesson →Learn the sketch structure in the Arduino IDE, choosing the board/port and uploading code.
Open lesson →Learn what Arduino is, how it differs from the micro:bit and the board–IDE–code cycle.
Open lesson →Learn to count reliably by handling button bounce with software debounce using millis.
Open lesson →Learn to control an LED with a button using digitalRead and digitalWrite.
Open lesson →Write your first sketch to blink an LED with pinMode, digitalWrite and delay.
Open lesson →Get to know the Arduino Uno's pins and basic components like LEDs, resistors and buttons.
Open lesson →Learn to write tidy, testable code by splitting a long loop into readable functions.
Open lesson →Learn to use ready-made libraries safely with #include and the Library Manager.
Open lesson →Learn to control a DC motor's direction and speed safely with a motor driver and separate power.
Open lesson →Build a parking sensor that beeps faster as an object gets closer, using an ultrasonic sensor and buzzer.
Open lesson →Build a prototype that safely waters when the soil is dry, using a moisture sensor and a small pump.
Open lesson →Build the control logic of a line-following robot with two line sensors and a motor driver.
Open lesson →Learn to adjust LED brightness or an output with analogWrite and PWM. An in-depth guide to PWM with practical examples, safety notes and explained review activities.
Open lesson →Learn to print values to the computer with Serial and use it for debugging.
Open lesson →Learn to turn a servo to a specific angle with the Servo library. An in-depth guide to Servo Control with practical examples, safety notes and explained review activities.
Open lesson →Learn to measure distance with the HC-SR04 and decide based on distance.
Open lesson →| Check | Question | Evidence to keep |
|---|---|---|
| Input | Which value, event or user request enters the system? | Sample inputs and edge cases |
| Process | Which rule, algorithm or physical relationship is applied? | Code, calculation, diagram or state table |
| Output | What should be observed in correct and incorrect states? | Expected–actual comparison |
| Safety | Under which condition should the system stop or request help? | Safe-stop and recovery behaviour |
Connecting code to real circuits through input, output, timing, power and safety. A correct example alone is therefore insufficient. Completion evidence should be sketch, circuit diagram, serial-monitor measurements and a safe power record, tested with normal, boundary and invalid inputs.
In the first cycle, pair foundation and application among Analog Reading, The Arduino IDE, What Is Arduino?, Button Debounce Logic, Digital Input and Output. Predict the result, run or measure it, then explain any difference. Even when prediction and reality match, state which changed condition would break the result.
In the second cycle, complete this laboratory: Build a sketch with an LED, button and sensor; state expected values, measure them in the serial monitor and reproduce one failure safely. Do not close with one successful screenshot. Keep the input table, expected behaviour, actual behaviour, error or measurement and the correction in one file.
In the final cycle, connect Project: Smart Parking Sensor, PWM · Robotics & Coding, The Serial Monitor, Servo Control, The Ultrasonic Distance Sensor. Let one lesson's output become another lesson's input; show where safe stopping is needed when data type, unit, wiring, timing or user expectation changes.
Repeat the same task one month later with less source support. Compare not only speed or appearance but test coverage, explainability, safety and whether another person can rebuild the work.
Use the foundation produced in Analog Reading as an input to Libraries. Then show in The Ultrasonic Distance Sensor how the same idea changes under the limits of a larger system. This bridge carries the goal of connecting code to real circuits through input, output, timing, power and safety. beyond one isolated example.
Add three columns to the sketch, circuit diagram, serial-monitor measurements and a safe power record file: knowledge carried from the previous lesson, condition changed in the new lesson and result observed in testing. Sharing a word does not establish a connection; one lesson’s output should genuinely become the next process’s input.
Test the connection through this laboratory: Build a sketch with an LED, button and sensor; state expected values, measure them in the serial monitor and reproduce one failure safely. After the first attempt, add an edge condition such as empty data, wrong type, disconnected input, extreme value or user error. Record whether the system remains understandable and safe beyond the normal example.
Sketch, circuit diagram, serial-monitor measurements and a safe power record
No. A simulator tests logic; physical power, wiring and sensor conditions require separate tests.
Condition, expected result, actual result and change made.
After completing foundation concepts and at least one practice artefact.
Build a sketch with an LED, button and sensor; state expected values, measure them in the serial monitor and reproduce one failure safely.
Primary source for current technical behaviour and limits.
Open source →Primary source for current technical behaviour and limits.
Open source →