top of page

Mousetrap Schematic

Mousetrap PCB

Mousetrap Schematic.png
Mousetrap PCB_1.png

Mousetrap Project PowerPoint Presentation 

20210510_140915.jpg

Mousetrap Receiver Schematic

Mousetrap Receiver Schematic.png

Mousetrap Receiver PCB

Mousetrap Receiver PCB_1.png
20210510_141012.jpg
Housing design.PNG

After the IR beam has been broken, the IR Receiver is tripped high which in turn activates the motor. After the motor has been activated to shut the door and stops, a short delay of 500ms is set prior to initializing the Transmission of the character “M” through the transmit data packet. This transmission is sent 10 times before leaving the for loop and activating the trigger stop point to ensure the motor no longer activates every time the IR beam is broken, and a serial transmission of “triggered” is sent; the transmission sequence can be seen in the serial monitor above.

Transmitter Code.png
Receiver Code.png

The receiver code initializes the Serial communications, specifies the Blue LED to be off, and designates the RF receiver as in input. After the Arduino registers the data packet the RF receiver captures from the transmitter on the mousetrap, it verifies the size of the transmission, if it matches what is specifies then the Arduino decodes it and sends the character to a serial print command, after which it digitally writes the Blue LED to be high to work as the notification. Then it blocks the loop from going again by activating a trigger point until the Arduino is reset.

© 2023 by Name of Site. Proudly created with Wix.com

bottom of page