2025 - 2026 Section 2 Resources and Videos

 

[am4show have='p8;p9;p11;p38;p92;p161;' guest_error='Guest error message' user_error='User error message' ]

Sketches for this class are available here: github.com/FutureVision-Research/coding_arduino

 

In this first class of Section 2, we learn how to install a library, how to copy a sketch from Github, and we build a circuit using our OLED display (Activities 1-3).

 

Homework: Build Activity 3 and confirm that the display works with the sketch oled_hello_world.ino. Then type in the sketch from scratch using the printout in Activity 3.

 

 

In this class, we build Activity 5 and learn how to use a photocell as an analog light sensor. We also learn about the functions map() and constrain().

 

In this class, we review questions that came up in Session 13. We then cover an overview of sensors and how they send information to a microcontroller. We wrap up by building Activity 9 – Using a US1881 Hall Effect Sensor.

Homework: Build Activity 6 – Arduino and TMP36 Temperature Sensor and use the provided sketch.

Reminder: There was a mistake in an early copy of the breadboard picture for this Activity. The TMP36 should be connected to 5V, not 3.3V.

Once the Activity is working. Type in the sketch from scratch by using the code example in Activity 6. Then build Activity 7, which creates a temperature readout using the OLED display.

 

 

In this class, we review Activity 6 and learn about the TMP36 temperature sensor. We also discuss an introduction to the PIR digital motion sensor.

Homework: If you haven’t done so, build Activity 6 – Arduino and TMP36 Temperature Sensor and use the provided sketch.

Reminder: There was a mistake in an early copy of the breadboard picture for this Activity. The TMP36 should be connected to 5V, not 3.3V.

Once the Activity is working. Type in the sketch from scratch by using the code example in Activity 6. Then build Activity 7, which creates a temperature readout using the OLED display.

 

In this class, we build Activity 8 and learn about the Passive Infrared Sensor. We also learn about control flow, conditional statements, and Boolean logic.

Homework: Type in the sketch from scratch using the example under Activity 8.

 

In this class, we build Activity 10 and learn how to use an ultrasonic distance sensor. We also learn how to modify sample sketches.

 

 

In this class we learn how to import a library from Github and how to use the ADXL345 accelerometer. We also learn more about I2C serial communication.

 

In this class, we learn more about baud rates and then begin a lesson on functions using Activity 13.

 

In this class, we continue our lesson on functions and then build Activity 14.

Homework: Have Activity 14 ready for the next class.

 
In this class, we review Activity 14 and learn about "for() loops". We also discuss additional variable types.

 

 

In this class, we conclude our discussion on variable types and then begin a review of the Section 2 Quiz.

[/am4show]