[PHY] A2: Simple Application for Switches and Circuits

Instructions

Do the labs that were covered in class this week, and come up with a simple application for switches and LED circuits.

Brainstorming

Last week Tom showed us how to connect the Arduino Nano 33 IOT to the breadboard and then he powered it up with his laptop. I decided to use my portable powerbank/charger that I use when I travel. I didn’t know about it’s voltage and such, so I had to check out its company’s website. It was in Japanese (出力定格 : DC5V/1A) and I used google translate to check the specs (Output rating: DC5V / 1A ).

Problems

Some of the roadblocks I had were figuring out how to regulate the circuit, meaning what switch to use. The first switch I used was a button that I used for my Fabrication flashlight project. For some reason it would turn off the LED, instead of turning it on. It had the opposite effect. After receiving some help from Jasper, I learned that I was make the electricity flow wrong. The reason why it would turn off the LED instead of turning it off was because I simply connected the button in between the Arduino and the resistor. Meaning the electricity would simply flow through the button and when I pushed it – the flow would stop. The solution was simple, I had to connected the button in between the resistor and the LED.

A different switch

I was absolutely ecstatic that I made it all work. Also very much happy that I had a portable charger basically to power up my LED. Now, instead of the button I wanted to use something else. I used one of the switches that was provided to us in the pack and it regulates the “intensity” of the flow of electricity. In this video you can see how the button gets dimmer and brighter as I twist the knob. Welp, cannot show the video because I need to upgrade my WordPress apparently. I swear it works!

Thoughts

It took a while to understand what I am trying to achieve. A couple hours. Even though I have notes written down – I forgot everything from last week. With the help of fellow ITP students I was able to achieve at least the basics.

I also played with Arduino a tiny bit. I installed the desktop program for it and changed the timing of the orange blink button. That was the coolest part actually, the possibilities!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s