Learning in the MakerSpace: Arduino, Day 1

I ordered the Arduino starter kit and have been working through the accompanying book of projects. The kit (available at https://store.arduino.cc/usa/arduino-starter-kit) includes an Arduino uno, 15 projects, and the materials to complete those projects. Today, I completed projects 1, 2, 3, and 4.

Project 1: Get to Know Your Tools

This project was about setting up the Arduino and creating simple circuits with an LED, a resistor, and switches. You begin by creating a circuit that powers an LED using the Arduino as a power source. Following the directions in the book, this was very straightforward. From there, you introduce a switch into the circuit. When the switch is pressed, the LED turns on. Next, an additional switch is introduced to the circuit to create a series circuit. Both switches need to be pressed to illuminate the LED. Finally, jumper wires are used to transform the series circuit into a parallel circuit, so that either switch can be pressed individually to activate the LED.

The simplicity of this project to start was motivating. Having creating my first circuit was exciting. The hardest part of this project was finding the right resistor, as my kit included 5-band 220-ohm resistors instead of the 4-band resistors illustrated in the book.

Project 2: Spaceship Interface

This project introduced writing code for the Arduino in addition to creating a circuit. This circuit involved two red and one green LED along with a switch. The final idea was for the green LED to be illuminated until the switch is pressed, causing the two red LEDs to each flash before returning to the original state. Wiring the circuit was fairly straightforward. Sometimes the jumper wires were uncooperative and the breadboard is small, but it worked out.

To write the code, I copied the programming from out of the book. The code is much more complicated than I anticipated, having to create variables right from the start. While it is possible to proceed by just copying what is in the book, it is difficult to learn what exactly is happening. The text begins to fall short here. The instructions move quickly and do not clearly explain what each command is doing. Thankfully, the small amount of programming background I have came in handy and allowed me to follow what was happening. The final result can be seen in the following video.


Project 3: Love-O-Meter

This project involved using a temperature sensor to illuminate LEDs. There are 3 LEDs that are intended to illuminate as the temperature increases. The biggest challenge in this project was finding the temperature sensor. It looks a lot like the transistors that are also included in the kit. The only way I was able to definitively identify it was to see the letters “TMP” printed on the tiny component. I’m beginning to feel like I need a magnifying glass to continue working with this kit.

Again, wiring the circuit was straightforward. The code was even more complex for this project. As with the previous project, I copied the code as it was printed in the text. I had to make a small adjustment for the initial temperature based on the temperature readings I received from the sensor. The idea was for another LED to illuminate every 2 degrees Celsius above the baseline temperature. The temperature changed very slowly when I put my hand on the sensor, and even more slowly when I took my hand away to let the temperature drop. You can see the result of this project in the following video.


Project 4: Color Mixing Lamp

This project really illuminated the shortcomings of this kit. The goal of this project is to have a tri-color LED change color depending on how much red, green, and blue light is detected by phototransistors. The trouble started when I had to set up the colored gels over the phototransistors. The pieces in the kit did not match the illustrations in the book, which led me on a search through the Arduino online forums for help. I eventually figured out how the pieces were supposed to work, but the design was difficult to work with. The gels fell out of position regularly and the breadboard was again too small to easily maneuver the components.

The code for this project was more complex than the previous projects, as to be expected. Variables referenced other variables based on the inputs of the phototransistors. Once I copied the code from the book and loaded it to the Arduino, nothing happened. Again, I went to the online forums and found a lot of other users with issues on this project. I found that by removing the resistors I placed on the breadboard, as per the instructions, the tri-color LED would light up. However, I did not see any change based on the lighting on each phototransistor. I did not see any mistakes in the code nor the setup based on the instructions. It is possible that the instructions or components were wrong.


Leave a Reply

Your email address will not be published. Required fields are marked *