Mini Arduino Projects

My professor assigned several projects from the Arduino Project Book this week. The projects within this text are designed to help people with no prior electronics experience develop the basic skills for the Arduino and it’s coding software as well.

Project 1 Getting To Know Your Tools

The purpose of project one is to introduce the users to the basics of the Arduino board itself. The goal is to create a circuit that includes a switch that will light up when it is pressed.

Tools:
Arduino Board
Bread Board- used to connect different circuits
Button/switch
LED- Light Emitting Diodes, Electricity only flows through in one direction. The longer anode shows which leg is positive.
220 OHM Resistor- Resists the flow of energy

After assembling:

Project 02 Spaceship Interface

This project builds on the first, we will adding more lights and resistors in order to have several lights that flash over time. The focus of this project was to introduce the user to Arduino’s coding system.

Tools:
Switch
LED
220 OHM / 10 KILOHM Resistors

The code: Within the text, several functions are discussed such as setup( ) and loop( ) as well as creating variables in order to keep track of what’s happening in your code and finally delay( ) which can be used to place timers within your code.

After Assembling: Upon pressing the switch the lights light up one after the other.

Project 03 Love-0-Meter

The Love-O-Meter that was created in this project takes the temperature of a person’s finger and causes a led to light up and the serial monitor to report the temperatures to the user.

Tools:
LED
220 OHM Resistor
Temperature Sensor

The code: The new function taught in this project was Serial.print . This syntax is used to display the temperature of the user’s finger. You can also use If and else if loops, in order to have the Arduino, perform a situational task.

Issues: This project was the most difficult because it was not easy to understand if the Serial Sensor was reading the temperature sensors. I believe the issue was that we did not correctly align the prongs.

After Assembly:

Project 5 Mood Cue

The Mood Cue is my favorite Mini Arduino Project because it involved a motor that was controlled by a simple switch called a Potentiometer. Turning this Knob causes the servo motor to move in the same direction, or even the opposite if you choose to program it that way.

Tools:
Potentiometer – a variable resistor, it can send many amounts of energy.
Servo Motor- Motors that spin in in one direction and stop until they are direct to move the opposite direction.
Motor Arm
100UF Capacitor- store and release energy
Male Header Pin- pins that fit into female sockets to make connections easier.

The Code: The new function learned in this project was map( ) This function changes the values that come from the potentiometer. We also need to download our first library for the Servo Motor. In order to do this you need to download the library from GitHub then save it into your Arduino folder. This will allow you to use connect with the servo motor.

AfterAssembly:

Chapter 6 Light Theremin

The theremin is an instrument that creates music based on the movement of musicians hands around the instrument. The project made the users make something similar based using a photosensor and a piezo. A photosensor measures the light, and the piezo makes noise by moving the air around it.

Tools:

10 KILOHM Resistor
Piezo
Photosensor

The Code: The new piece of code that we need to use for this project was tone( ) . Tone allows for the frequency of the emitted by the piezo to be chosen. Millis( ) also allowed for the times to be tracked.

After Assembly

Chapter 8 Hour Glass

The Hour Glass Project Takes advantage of the millis( ) function. Setting the timer to one hour so that the LED will glow once the time is up.

Tools:
LED
Potentiometer
220 OHMS Resistor
10 KILOHM Resistor

The code: We use millis( ) throughout the code as a way of keeping a timer for the light to go off with.

After Assembly:

Chapter 11 Crystal Ball

The Crystal Ball project uses an LCD screen to display message to your most desired questions.

Tools:
Switch
10 KILOHMS Resistor
220 OHMS Resistor
Poteniometer
LCD Screen

The Code: The library Liquid crystal needed to be imported before we were able to code. setCusor was an interesting function that needed to be used in order to type properly onto the screen. The assembly of this one was a bit more difficult I need to change around a few missed placed wire but it was pretty cool to have created my own crystal ball.

After Assembly:

Leave a Reply

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