Project

# Title Team Members TA Documents Sponsor
77 Knock-Turn Lock
Adam Frerichs
Jack Kelly
Vishal Rajesh
Vishal Dayalan design_document3.pdf
final_paper1.pdf
photo1.JPG
photo2.JPG
photo3.JPG
presentation1.pdf
presentation2.pptx
proposal2.pdf
video
# Knock-Turn Lock

Team Members:
- Jack Kelly (jacktk2)
- Vishal Rajesh (vrajesh2)
- Adam Frerichs (adamdf2)

Link to high-level block diagram: https://docs.google.com/document/d/1kzdScCKG7YJrnN6E_D_-xf1Sez1VTvAVJpIW24HritI/edit?usp=sharing

# Problem

Losing keys is extremely common, and being locked out of your own house can be extremely frustrating. Hidden spare keys are a security concern, and digital keypads can be unsightly as well as insecure, introducing a secondary point of failure to possible intruders.

# Solution

Describe your design at a high-level, how it solves the problem, and introduce the subsystems of your project.

We propose a unique door lock, that uses a unique combination of programmable knocks and door knob turns in order to provide a secondary way of unlocking a door. From an outside observer, it would simply appear as somebody let the entrant inside, after they knocked and tried the handle, and would not have any obvious code for potential intruders to figure out. It would consist of a sensor to detect knocks, two buttons to read left and right knob turns, a microprocessor to check for the specific code, and a usb-port hidden in the side of the door in order to program a new combination.

# Solution Components

## Piezo sensor

These sensors are able to detect vibration due to knocking, and are used in things like electric drum kits to detect the percussion.

When activated through a force, piezo sensors are modeled as a capacitor. This would be connected to the microcontroller using a transistor in order to produce a binary output, and connected to a ground through a small value resistor, in order to allow the voltage to discharge quickly and have knocks be processed in quick succession.

## Button

The buttons would have to have low spring resistance, in order to make the knob feel like a regular locked door handle. These would be connected to a high voltage source with a pull-up resistor in order to produce a binary output, with one button on both the left and right sides of the door knob mechanism to detect both directions.

## Microcontroller

https://www.snapeda.com/parts/STM32F103C8T6/STMicroelectronics/view-part/

This is the microcontroller the RFID lock group used. It may be more complex than we need.

This would be mounted on our PCB, which would need to fit in an enclosure less than 2” thick in order to fit in the door. However, it could be as wide as needed as long as it fits inside of the door.

## Power

The device would be powered directly through the house’s power, and would require a 3.6V AC/DC converter in order to match the input power of the microcontroller. The electronic lock would require 9V AC/DC converter. These would be separate from the PCB enclosure, and as such would have to be less than 2” in thickness in order to fit within the door.

## Electronic Lock

https://www.adafruit.com/product/1512?gclid=Cj0KCQiA2-2eBhClARIsAGLQ2RlgWKqt1XGgX23roDPViY1hjU2EkBonYtzCMKPVEfRFaTNxiRkg-D8aAtL6EALw_wcB

This lock would be sufficient for the project as we would not need to design our own lock and servo system. When a correct combination is entered the microcontroller would send a signal to unlock the door and then the lock would re engage when the door closes.

# Criterion For Success

Describe high-level goals that your project needs to achieve to be effective. These goals need to be clearly testable and not subjective.

The code must be inputtable consistently by an authorized user, but precise enough to avoid random entrance.

The lock needs to be easily programmable in order to change the combination.

The knock/vibration sensor needs to be sensitive enough to detect quieter knocks, but not be triggered by regular activities like walking around an apartment.

The knock combination needs to be rhythm based, in order to mimic a regular knocking pattern.












Modularized Electronic Locker

Jack Davis, Joshua Nolan, Jake Pu

Modularized Electronic Locker

Featured Project

Group Member: Jianhao (Jake) Pu [jpu3], Joshua Nolan [jtnolan2], John (Jack) Davis [johnhd4]

Problem:

Students living off campus without a packaging station are affected by stolen packages all the time. As a result of privacy concerns and inconsistent deployment, public cameras in Champaign and around the world cannot always be relied upon. Therefore, it can be very difficult for victims to gather evidence for a police report. Most of the time, the value of stolen items is small and they are usually compensated by the sellers (Amazon and Apple are very understanding). However, not all deliveries are insured and many people are suffering from stolen food deliveries during the COVID-19 crisis. We need a low-cost solution that can protect deliveries from all vendors.

Solution Overview:

Our solution is similar to Amazon Hub Apartment Locker and Luxer One. Like these services, our product will securely enclose the package until the owners claim the contents inside. The owner of the contents can claim it using a phone number or a unique user identification code generated and managed by a cloud service.

The first difference we want to make from these competitors is cost. According to an article, the cost of a single locker is from $6000 - $20000. We want to minimize such costs so that we can replace the traditional mailbox. We talked to a Chinese manufacturer and got a hardware quote of $3000. We can squeeze this cost if we just design our own control module on ESP32 microcontrollers.

The second difference we want to make is modularity. We will have a sensor module, a control module, a power module and any number of storage units for hardware. We want to make standardized storage units that can be stacked into any configuration, and these storage units can be connected to a control module through a communication bus. The control module houses the hardware to open or close all of the individual lockers. A household can purchase a single locker and a control module just for one family while apartment buildings can stack them into the lockers we see at Amazon Hub. I think the hardware connection will be a challenge but it will be very effective at lowering the cost once we can massively manufacture these unit lockers.

Solution Components:

Storage Unit

Basic units that provide a locker feature. Each storage unit will have a cheap microcontroller to work as a slave on the communication bus and control its electronic lock (12V 36W). It has four connectors on top, bottom, left, and right sides for stackable configuration.

Control Unit

Should have the same dimension as one of the storage units so that it could be stacked with them. Houses ESP32 microcontroller to run control logics on all storage units and uses the built-in WiFi to upload data to a cloud server. If sensor units are detected, it should activate more security features accordingly.

Power Unit

Power from the wall or from a backup battery power supply and the associated controls to deliver power to the system. Able to sustain high current in a short time (36W for each electronic lock). It should also have protection against overvoltage and overcurrent.

Sensor Modules

Sensors such as cameras, motion sensors, and gyroscopes will parlay any scandalous activities to the control unit and will be able to capture a photo to report to authorities. Sensors will also have modularity for increased security capabilities.

Cloud Support

Runs a database that keeps user identification information and the security images. Pushes notification to end-users.

Criterion for Success:

Deliverers (Fedex, Amazon, Uber Eats, etc.) are able to open the locker using a touchscreen and a use- provided code to place their package inside. Once the package is inside of the locker, a message will be sent to the locker owner that their delivery has arrived. Locker owners are able to open the locker using a touchscreen interface. Owners are also able to change the passcode at any time for security reasons. The locker must be difficult to break into and offer theft protection after multiple incorrect password attempts.

Project Videos