Doorframe Enter/Exit Sensor

First you will set up the Hardware. You will need:

Breadboard, Elegoo Uno R3 Microcontroller, Micro SD card adapter, RTC module, power cable, two LEDs, MicroSD card, push button, two infrared distance sensors, poster putty.

Wire the micro controller as seen above.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: CODING

Download necessary libraries and use the following code.

ADAPTED FROM BILL ATKENS AND https://www.instructables.com/id/Real-time-clock-u...

Adjust the sensors (near or far side of door frame based on exit enter code)

Adjust limit variables.

Adjust collection rate.

Step 2: SETUP

Setup sensor system.

Step 3: WIRE UP HARDWARE.

Follow Diagram.

Be the First to Share

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    Discussions

    0
    None
    DIY Hacks and How Tos

    11 months ago

    Great intro to microcontroller project. I am going to show this to my son's makerspace.