Home - NoahMacDonald1/387_NM_Final GitHub Wiki
Welcome to the 387_NM_Final wiki!
Project Overview
This is my final project for ECE 387. I chose to build a prototype security box toy, using a number of different sensors to implement security measures.
Wiring
The picture above is all of the components used by my box, placed on one breadboard in a circuit diagram. The other pages of this wiki focus on specific components and have much less cluttered pictures. In this diagram and the simple diagram for the water sensor, I use an IR receiver in it's place. This is because TinkerCAD doesn't have a water sensor in it's circuit building app. The pinout did not change due to this.
I will also have videos of each component in action on their pages, rather than an overview. The video below is an overview.
Equipment
The project uses the hardware I've listed below. Some items will have separate pages detailing what they do.
- Arduino Uno R3 (Official store link, not a wiki page!)
- 5 Push Buttons
- A Servo Motor
- SW-520D Tilt Switch
- 4-pin RGB LED
- Passive Piezo Speaker
- HC-SR04 Ultrasonic Distance Sensor
- Water Level Sensor
- 2 220 Ohm Resistors, 2 1k Ohm Resistors, 1 2k Ohm Resistor, 1 330 Ohm Resistor
- 6 AA Batteries
- Battery holder
- Lots of wires.
Features
- Pattern lock with the ability to set new codes
- Water sensor to disable entry when submerged
- Tilt sensor to stop operation when the box is rattled or tipped
- Ultrasonic distance sensor
- Piezo speaker for feedback
- RGB LED for feedback
- Automated opening and closing, powered by a servo motor.
How to Use My Project
- Turn the box on.
- Press the button farthest to the right to enter your pattern.
- Input a pattern of 6 button presses. The box will open if you want to place anything in it.
- Place your hand in front of the ultrasonic distance sensor, around an inch away. You may have to wait a second, but the lid will close.
- When you want to retrieve your item, enter your pattern again.
- If you want to change your pattern again, repeat steps 2-4.