RC2019 – Associated setups and code examples

The code to the proposed examples and solutions to the pupil assignments, in Section XXXX of chapter XXXX, can be found through the following links.

Section 1.3.3 – Introduction to the Arduino:

Section 1.3.4 – Introduction to sensors (switch):

Section 1.3.5 – Explain voltage dividers and sensors (LDR):

Section 1.3.6 – Expand with additional sensors (potentiometer, IR-sensor):

Section 1.3.7 – Actuators (Servo- and DC-motor):

Section 1.3.8 – Additional sensors (ultrasonic distance-sensor, color-sensor):

Section 1.3.9 – Introduction to additional programming concepts (functions and while-loops):