aditya das

Class 03: Electronics and Tools

2 minute read

This class we introduced ourselves to microcontrollers, basic circuits, and Arduino!

My first circuit I made was a basic potentiometer + LED circuit. I was scared that the LED was too bright and could burn out so I added a 470 ohm resistor to connect the LED to the ground. I have never used a potentiometer before but I think it's fun for the voltage on the multimeter to go up and down. The code I used in arduino was adapted from one I saw online. Unfortunately, I didn't realize that one of the LEDs I used was broken and so I spent a really long time on this, and couldn't get to do anything more.

Update: And, since there is a larger project for the 4th class, I'm probably not going to be able to do another example, so this is all :(

class demo

Diagram of potentiometer circuit

class demo

My arduino code