Motion detected MP3 player

A motion detected MP3 player isn’t that hard to construct, most of the issue comes from the coding that is required. Wait until you read my starter project. Some terrible tragedy befell on my project.

Engineer

Raymond L.

Area of Interest

Electrical Engineering

School

Henry M. Gunn High School

Grade

Incoming Sophomore

Final Milestone

My final milestone is the completion of my project. I finally got my project to play music whenever a difference in heat comes close (or far) from the front of sensor. When that happens, it plays music and stops (after a delay I created) once you move away from the sensor. To make the Arduino play music, you must first allow your Arduino access to your music library and then tell your Arduino to detect a motion and then tell it to “begin playing”. Once it plays, the Arduino change variables to remind the Arduino that there is motion. After that, the Motion sensor waits until there is no longer any motion detected. After motion is no longer detected, the Arduino switches the music off and waits, again, for motion to be detected. The cycle repeats until power is cut off.

First Milestone

First Milestone

What it does: Infrared sensor has many sensors that detect heat and when one of those sensors detects a change in heat, it sends a signal through the jumper cables and the arduino board picks it up and acts accordingly. The jumper cables send power or signals and things from one board to another. The arduino is the brain of the entire foundation and when given signals will tell other things to function accordingly The code is the information for the arduino and the code tells the arduino what signals to look for when receiving signals. The code also tells the arduino what to do when they receive signal.   What happens: When one of the many sensors from the infrared sensor detects a change in heat, it will send a signal to the arduino telling it that something has been detected (change the value to “High” which means something was detected), will write down “Motion Detected!” and then turn on an LED which is on the arduino. After the motion is detected, The Arduino takes note and stores the information that the sensor is sensing something. Once the sensor no longer senses something, the sensor sends yet another signal to the arduino, the arduino writes “Motion Ended!” which also means the value is set to low. After motion ended is written, the arduino stores the information that there is no longer anything detected by the motion sensor.

Starter Project

Starter Project Batteries: power the system. The batteries give power to all of the parts of the circuit. If switched off, the battery will not be able to access other parts of the system. The batteries are in a series because the microcontroller cannot run with only 1.5 volts so we have two of them because it needs three volts to process. The batteries are ordered in a series so the volts can join together and make three volts for the microcontroller.   Switches: turns on part of the project. The power switch lets power go to the microcontroller, the led’s, the capacitors and the buzzer. The sound switch allows power to be lead into the buzzer.   Buzzer: makes a sound when a part of the circuit board is touched or given a signal, this is powered by the battery. The sound switch will prevent power to the Buzzer if turned off. The buzzer changes its sound because of the buzzer changing the voltage.   Capacitors: filters the board for unhealthy voltage ripples. This prevents the buzzer and the LEDs’ from doing anything bad   Microcontroller: has the coding for the machine itself. This is the piece that gives off the signals to other parts of the system and receives the signals that are given from other parts of the system. This is also the part of the system that has the code which is necessary for making the game let you know if you are too slow, wrong or giving you the correct answer. This piece is also charged by the battery.   LED: lights up the button when given a signal from the Microcontroller. This is powered by the battery and is given signals from the microcontroller.   Buttons: not powered by anything but, when pressed, will send a signal to the microcontroller.

Leave a Comment

Start typing and press Enter to search

Bluestamp Engineering