The Smart Home Lockbox is a project created by Christian Cipolletta and Matt Gerace for their final in Intro To Embedded Systems. It is a tool that will allow people to lock their important items. It utilizes Ultrasonic, temperature, CO2, humidity, pressure, and vibration sensors to be aware of external stimuli. The microcontroller, the MSP430FR2355, takes in those inputs and alerts the user to danger using buzzers, LEDs, and an internet webpage. A servo also locks the box if someone is detected.
- Barrel Jack [For AC/DC Wall Plug]
- 2x 20mm Coin Cell Batteries + Holders
- 2x Linear Regulators, 1 for 5V, 1 for 3.3V
- BME280 Temperature, Humidity, Pressure Sensor Breakout Board [I2C]
- MQ-9B (Sen-17050) CO2 Sensor [Analog]
- MSP430FR2355 On Board Temperature Sensor [Analog]
- HC-SR04 Ultrasonic Sensor [Digital]
- MPU6050 Accelerometer and Gyroscope [I2C]
- Red LED
- Blue LED
- Active Buzzer
- ESP01 Wifi Module [ThingSpeak]
- Servo
The onboard temperature sensor and ultrasonic sensors are confirmed to be working. The CO2 gives an ouput, but we do not know if it is correct. The batteries are not strong enough to run the circuit, so it is wall power right now. The I2C code doesn't work so the BME280 and MPU6050 aren't working now either. The servos, LEDs, buzzers, and ESP01 all work. The 3D printed box that will be the actual one that locks was successfully printed and locked by the servo. However, it was unable to be covered because it is too small to fit the full PCB at this time. You can read more on our project slides or our project report.
The next steps to take to make the project a full success start with remaking the PCB. First, the ESP01 needs to switch its trace. Second, the servo header needs to be retraced as well. Last, there needs to be a new battery choosen to the power the device. On the software side, the main fix is making sure the I2C connections are fixed. Once that is fixed, to make this device low-power it would be a benefit to make the code interrupt based instead of the current polling based system. The final thing to fix would be to make the lock box big enough to encase the PCB and all parts while still being able to be locked and to store items.
SmartHomeLockbox.1.mp4
- BME280 Datasheet, Arduino Github
- MPU6050 Datasheet
- Ultrasonic Datasheet
- MQ-9B Datasheet, Wiring Example
- Servo Datasheet
- ESP01 Datasheet
- Updating 3D Model of the Lockbox OnShape