Arduino Tutorials
I received an Arduino starter kit and It came with nearly 30 different components. The kit also comes with tutorials for each piece to teach users about how they all work. Below is the documentation of what I learned while using every part.

Project 1: RGB LED
I started off super simple with these tutorials to get a little more experience with the different components that are in my kit. The first tutorial introduced me to the RGB LED it contains 3 LEDs in one allowing me to make a wide assortment of colors. Two important points made in the tutorial was about the cathode and anode of the LED as well as the purpose of current limiting resistors. I learned about both concepts in my digital electronics class. The cathode and anode cause the LED to be directional which is also realized through an LED being a PN junction so the internal magnetic field must be overcome to turn it on. The current needs to be limited to prevent destroying the diode and it is limited by using different size current limiting resistors. However, in this tutorial I will be using a single resistor for each of the three LEDs in the RGB LED and using the analog outputs of the Arduino to vary the current in each LED. After wiring the circuit including the current limiting resistors and the Arduino I used the given example code that use the pulse width modulation to modulate the brightness of each of the RGB LEDs and thus make the LED appear to fade in and out of different colors. The code was set up to set each value of the LEDs to their respective output on the board and change the value assigned to numbers from 1-255 incrementing by 1 every loop. Below is an image of my circuit for the first tutorial.

Project 2: Digital Inputs
The digital inputs project compiled two switches to form a simple circuit that turned an LED on and off. I learned about the code specifically from this project. I remembered most of it from the time I spent working at IS4S, but I still used the example code to see how they were setting the logic for the switches.

Project 3: Buzzers
This project was very simple, but I was still able to learn a lot about the usage of buzzers and the two different types of buzzers. The first type is an active buzzer, these buzzers contain an oscillating source so a DC signal will cause the buzzer to make a noise. This also means that there is not as much possible variation in the sound that the buzzer can make. Next is the passive buzzer, this buzzer does not contain an oscillating source, so it needs an AC signal to force it to sound. This requirement for sound, allows the me to change the frequency of the signal passed and thus change the sound created by the buzzer. In this instance I also used the example code which played the do-re-me sequence. I played around with this code so that I could make the signal go up and down the scale without stopping.

Project 4: Tilt Ball Switch
The tilt ball switch acts very similarly to an accelerometer however it can only determine specific orientations. This project was another very simple project meant to introduce me to another component that I have at my disposal. I learned that this switch operates by having a small ball or other conducting substance in a closed space. When the device is in a specific orientation the material inside the container falls onto two poles and shorts them. This component can be used to act as a simple switch and is especially useful because it can control power directly unlike an accelerometer.

Project 5: Servo
I have had previous experience using servos during my time in high school working on my robotics team. This servo is smaller than the servos I previously worked with. My main takeaway from this project was how to write the code for the servos. The servo has three wires that are needed for it run. Two for power and ground and the third for an input signal telling the servo how much to turn. The code is set up to output the angle of rotation to one of the digital outputs that is then fed into the servo.

Project 6: Ultrasonic Sensor
The ultrasonic sensor was used in this tutorial to measure the distance away from the sensor. The sensor would send out multiple 40kHz signals and determine the time between signal transmission and the echo. Then it used a simple conversion to determine this distance in centimeters. The code was again provided for this sensor so I was able to plug in the sensor and begin testing, but once again it was especially useful to see how to code such a device so that I can know how to use this for future projects.

Project 7: Membrane Switch Module
The Membrane switch project provided a new level of difficulty for me. I ran into a compiling error after creating the circuit. I determined that the issue was being caused by the file management of the library and after some time determined a new way to include the library in my code. Previously I had been unzipping the library into the folder with the code, but to fix the problem this time I used the shortcut in Arduino to include a zip library. It was as simple as browsing for the file and then my code compiled. After getting the base code working, I decided to use this membrane switch to create a basic four function calculator.

Project 8: Temperature and Humidity sensor
The temperature and humidity sensor proved to be an especially useful tool. I wired up the sensor for quick testing and the built-in library made it especially easy to use and immediately receive data from. From this tutorial I learned the potential of this component and its uses in future projects.

Project 9: Analog Joystick Module
The analog joystick module provides a new level of control to my potential projects. Its outputs are analog signals giving the X and Y positions of the stick. It also has a third piece of information in the select button when the joystick is pressed down. I particularly enjoyed this tutorial because I have played a lot of video games using joysticks, so it was interesting to see how a joystick works. The code was surprisingly very simple and required a simple analog write function to output the location of the stick’s orientation. I believe that this module will become critically useful to me in future projects.

Project 10: IR Receiver Module
The IR receiver module is the prominent form of wireless communication for TV remotes. The IR receiver is photocell that is turned to IR light. The photocell acts differently than a normal photocell in that it will only react to specially filtered IR light. This feature improves the useful ness of the sensor because it prevents interference from other sources or other remotes. The module came with a remote that has multiple different buttons that can be coded to do whatever I would like. The sensor is not incredibly different from what I have previously dealt with in my digital electronics lab. In that lab we used an IR LED to trigger a phototransistor for an amplifier. This module will be useful in making my future projects wireless.

Project 11: LED Dot Matrix
The Dot matrix is a simple device that can be used for many purposes. One of the most useful aspects of the matrix is the clock input. Because it has its own clock input it can operate synchronously across all the LEDs, which opens the doors to many possibilities with this component.

Project 12: GY-521 Module
The GY-521 is a gyroscope and accelerometer in a single integrated circuit. This tutorial taught me the basics of how an accelerometer and gyroscope working using the piezo electric effect. Understanding how the accelerometer and gyroscope work will allow me to put the two devices to their best use. The two components combined are especially small and cheap which makes them very useful in many different devices. This component can become very useful to me as I test with projects that will be reliant on orientation or other movement.

Project 13: Water Level Detection Sensor
This project uses the water level detection sensor which is one of the simplest sensors that I have dealt with to this point. This sensor is constructed by having lines of exposed trace that react when shorted together by water. When the lines are shorted the sensor value goes high, so I can use the digital I/O pins to detect water or the analog pins to track the depth of the water.

Project 14: Real Time Clock Module
This project is a complex clock module set up to record the date including: year, month, day, hour, minute, second, and week. The module comes with an external battery that can be used to run the clock when it is not connected to the Arduino Mega.

Project 15: Sound Sensor Module
The sound sensor is mainly used for the detection of sound and measuring its intensity. The sensor takes the audio in through a microphone, passes it to an amplifier before continuing the analysis of the signal. The sensor also has a potentiometer on it to increase or decrease the sensitivity of the listening device. This sensor, like the water detection sensor, has an analog and a digital output. One for the initial detection of sound and the second to measure the intensity of the sound.

Project 16: RC522 RFID Module
The RFID module was a piece of interest to me when I received this kit. I have used RFID before but never gotten to experiment with it and see how it works. The set up was very simple because the modules are pre-built and coded for me, but this is a very useful device that can come in handy for future projects.

Project 17: LCD display and Thermometer
Initially I set up the LCD display with a potentiometer to change the color difference of the screen. I thought it wasn’t working at first until I realized that the difference was turned to zero so nothing was displaying. Once I figured that out, I moved on to the thermometer. I used one of the given thermistors to determine the temperature and then display it on the LCD screen. This is my first experience with a thermistor that is specifically made to change drastically with temperature change. I also learned the difference between negative and positive temperature coefficient thermistors. NTC are used for temperature measurement while PTC are used for resettable fuses because as they increase in temperature they increase in resistance, so they are especially useful at limiting current.

Project 18: 74HC595
The introduction of the 74HC595 IC allows me to control eight digital outputs using only three digital output terminals. In this tutorial I hooked up eight LEDs to the chip and made them light up periodically. Afterward, I used the serial monitor to type which LED I wanted to turn on. The chip will be very useful as my projects become more complex and I need more of my digital I/O terminals. This terminal also showed me how to use the serial monitor as an input to the Arduino, and how I could use the keyboard input to affect the circuit.

Project 19: Photocell
The photocell acts very similar to the thermistor from previous tutorials with the main difference being that it reacts to light instead of temperature. The tutorial uses the photocell with he eight LEDs from the previous tutorial to act as visual of how much light the photocell is receiving.

Project 20: DC motors
The given DC motors require power that is beyond what the Arduino should be outputting, so I was given an additional circuit for powering motors on my breadboard. The breadboard power supply can be used to make both the side rails 5V or 3.3V and is powered by either an outlet or a USB. For this tutorial I also used the L293D which is a motor controller that can control 2 motors independently. This tutorial was my opportunity to work with DC motors and motor controllers, but I learned enough that I believe I’ll be able to implement them in my future projects.

Project 21: Relay
The Relay is either a mechanical or solid-state switch that is used when the controlling circuit needs to be completely electrical independent of the controlled circuit or when multiple circuits depend on one signal. I have dealt with relays when I was replacing the flood lights at my home, but I’ve never been able to work directly with one in a project. The given relay is mechanical and was used in this tutorial to turn the DC motor on and off.

Project 22: Stepper Motor
The stepper motor is driven incrementally so that you can always tell the position of the motor based on how many times it has been turned. The stepper motor given in this kit came with its own driver breakout board that I used for simper wiring. After wiring the motor, the next step was to add control to the motor. In this tutorial I used two different methods of control, the first was using the IR remote and the second was using a rotary encoder. The remote just had two buttons programmed on it to rotate the motor in one direction or the other. The rotary encoder mirrors the motor, so as I turned it clock-wise it would follow the movement of the rotary encoder.
Takeaways
Having gone through all the tutorials available in the kit I believe that I have a solid understanding and reference base so that I can begin working on my own projects with these components. The different sensors will all be especially useful in their own rite, but I believe that the most useful thing I learned from these tutorials was how to code the micro-controller to work with each device in the kit. The wiring is a rather simple problem that I have dealt with in many of my labs, but I don’t have as much experience programming micro-controllers to work with actual hardware. I believe that this skill will be especially useful to me as I move forward because it will allow me progress into more complex projects.