Arduino Week 3 Exercises

This week’s Arduino exercises were definitely more challenging than the previous week’s, especially the final exercise of creating your own circuit function in Arduino. It took me a while to understand the coding syntax and the logical progression, but I came away with a deeper understanding of Arduino. Like last week, I still struggled occasionally with correctly inputing wires, resistors, and LEDs. With that said, I found that drawing out circuits in TinkerCad was super helpful for brainstorming and using it as a reference/second eye for the actual circuitry on the bread board.

Here are recordings of the exercises:

Digital Input:

Serial Monitor:

LED on/off with two buttons:

And here is the code & TinkerCad circuit map:

// constants won’t change. They’re used here to set pin numbers:
const int ledPin = 13; // the number of the LED pin
const int buttonPin1 = 8; // the number of the on pushbutton pin
const int buttonPin2 = 7; // the number of the off pushbutton pin