PComp Week2

Lab1: Digital Input and Output

Here’s how I got started.

I checked the link on the Lab page and followed the tutorial to set up the breadboard. When I’ve already set my board and wanted to link it to my computer, I found there was no PORT: Arduino Nano IoT in it.
And I gave several tries. I thought there might be some problems with cables/board/computer software/computer hardware.

  1. Change USB cables. After finding it tough in my home, I got 5 cables. It turns out None of them works.
  2. I realized maybe I got a bad board or a fake one. I used to have an Arduino Uno board, which works perfectly. After successfully uploading some codes to Arduino Uno, I figured out that my computer hardware worked well. (At first, I didn’t install the new package of Nano, so I couldn’t find Nano in Board: Then I installed the new package and I were able to select Nano.)
  3. Important! When you are so confused about what’s going on, reach out to find some help from buddies and instructors! 1st ITP mates gave me lots of help. Then I emailed Jeff to see anything I could do to make Nano work.

After taking TIME class, Nano works! While I didn’t do anything to the board during the class. Surprise~ I guess sometimes I just need to wait for TIME.

TIP

Set up the microcontroller and connect it to your computer before adding LEDs and other components.

Making a teddy bear switch

The little monkey posted on the page was so cute that I wanna make a cutie cute switch of my own. I used the teddy bear with the uniform of my high school, which could hide the wires well.

Lab2: Analog Input

After reading all the links and watching the tutorial videos, I started to do this lab (with confidence and it turned out to be disappointing though lol). Here are two circuits I tried. The one on the left is a potentiometer to control the brightness of LED. For the one on the right, I used a speaker as an output, and a FSR as analog input.

Debug Time

It is extremely hard to debug when you are alone at home. I tried several times while the output just behaved differently from the one shown in the video.