Class Session

In Week 3 of PCOMP, we covered fundamental electricity and circuit concepts while gaining hands-on experience with Arduino programming. After learning about electrical basics like series vs. parallel circuits and different switches, we spent significant time navigating the Arduino IDE and uploading various sketches to our nano 33 IoT boards. We experimented with different LED patterns - creating blinking sequences, adjusting brightness levels using PWM, and implementing conditional logic to change LED behaviors based on input states. We debugged common errors in the IDE, learned how to use the serial monitor to track our code execution, and explored how changing delay times affects the visual output of our LEDs. By the end of the session, everyone had successfully created several interactive lighting patterns and gained comfort with the upload process and basic Arduino syntax.

Basic Terminology

Programming Essentials

C Language Specifics

Timing Challenges

Programming Practices