Inspiration Halloween was coming up soon and so I thought it would be fun to incorporate a motion detection sensor where I would put the breadboard and arduino with all of its wires inside the body and attach the LED to the head like the eyes. As I created this project, it inspired me to make this like a security system using motion sensors.
What it does
It senses motion within 13 feet using the ultrasonic sensor attached to the bottom of the box. Once it detects motion, then the LED will turn on and the servo motor will make the head turn 180 degrees.
How I built it
I used the ultrasonic sensor, LED, jumper cables, breadboard, and arduino from the kit I received. I then referred to tutorials provided to me prior to hackathon to learn about the sensors, motors, LED, display, and resistors. Referring to example codes helped me combine the servo motor, blinking LED, and ultrasonic sensor.
Challenges I ran into
I was initially struggling with combining all of the components because I wasn't really comfortable with arduino. Also, I was struggling to incorporate two LEDs for the two eyes, but it looks cooler now because it looks like a cyclops.
Accomplishments that I'm proud of
I was able to put it all together even though it might not look good to others, the end product looked beautiful to me.
What I learned
I learned how to navigate the arduino code and I was able to learn about the motors, resistors, arduino, breadboard, wiring the right ports, coding and LEDs. Additionally, I learned that it's okay to fail and mess up. Throughout this process, my emotions went from utterly despair to frustrated to happiness, but the importance was persistency.
What's next for A motion detector you never knew you needed!
I'm planning on upgrading this motion detector by attaching a camera on its head so that it can eventually detect humans instead of the head moving 180 degrees once it senses motion.