Circuit-Projects.com New Projects
Loading the search box...
Miscellaneous

Mario Bros IR Motion Sensor Powered via USB

Mario Bros IR Motion Sensor Powered via USB

Overview

The project develops a USB powered IR sensor by using an ATtiny13A, an IR motion sensor, and a metal candy Mario Bros mushroom tin.

Explanation

A USB cable is being in this project to fully power all the electronics by giving 5V.. The motion is detected by using the external IR sensor which causes the LED to be triggered along with a musical sequence. To control the blink ON and OFF function before proceeding into the musical sequence, the ATtiny13A needs to be programmed first. This will make the LED to blink to the tune of Super Mario Bros while the speaker can be easily turned OFF due to the switch attached to the speaker.

A protoboard was cut into a small rectangle to fit everything in the candy tin as the components were arranged on it. For connecting to the computer cable, headers next to the LED were used which is a 3-wire connection to the IR sensor leaving one pin on the connector unused. The ON/OFF blinking of the LEDs runs for 20 cycles when the IR sensor line goes high. The LEDs turn OFF as the motion stops.

Rest of the project

Comments (0)

Write comment

smaller | bigger

busy
 
RSS
Get the latest projects to your e-mail box:
Subscribe to RSS Feed Follow us on Twitter
Contact | Privacy Policy | Advertising
Subscribe to RSS Feed