Chapter 4 - Basic I/O

Section 4.1

4.1 - Buttons and the Serial Monitor

Learn how to use buttons as inputs for Arduino, detect presses with code, and monitor interactions via the Serial Monitor.

Section 4.2

4.2 - PWM Pins

Learn to control LED brightness using Arduino's PWM pins and the analogWrite function, gaining a practical understanding of Pulse Width Modulation.

Section 4.3

4.3 - The Ultrasonic Sensor

Learn how to wire and program an Ultrasonic sensor to measure distances and display results using Arduino and the Serial Monitor.

Section 4.5

4.5 - NeoPixel LEDs

Discover how to control NeoPixel LEDs with Arduino, mastering vibrant RGB displays, dynamic patterns, and creative designs using specialized libraries.

Section 4.6

4.6 - Infrared Sensors

Learn how to use IR emitters and receivers with Arduino to control LEDs, capturing remote signals and implementing real-world IR communication.