You are on page 1of 34

Group A

Damo Park EE
Greg Mueth CpE
Mhelith Natavio CpE
Goals and Objectives

● Key Fob

● WIFI Integration

● Status Indicator

● Added Security - https, token

● Easy Installation
Motivations

● Cost

● Convenience

● Disabilities/Injuries

● Misplaced/forgotten/lost/stolen keys
Engineering Requirements
System Requirements

Target Actual Comment

KeyFob Range 1m > 2m Usability

Signal Frequency > 350MHz 433MHz High powered signal

Supply Voltage > 5V 6V Microcontroller VCC

Button/ KeyFob < 1 second < 1 second Usability


Latency

Mobile Latency > 5 seconds > 2 seconds Usability

Battery Life > 168 hours 10 hours currently Cannot consume


3 months with low excessive amounts
power of power

Size of door module 25cm x 7cm x 4cm 14cm x 14cm x 6cm For goal of not
being unnecessarily
large
Block Diagram
Operational Flow Chart
Microcontroller

ATMEGA328P MSP430g2553
● Familiarity ● Familiarity
● Extensive doccumentation ● Less widespread than ATMEGA
● ISP with Arduino Uno ● UART
● 2 external interrupt pins
● UART
ATMEGA328 Specifications MSP430 Specifications

Cost $4.00 Cost $4.00

Low Power .75uA (low power LPM4 Current .1uA


Mode Current mode)
Performance 16MHz
Performance 20MHz
Memory 16kB
Memory 32kB
Keyless Entry Block Diagram
Keyless Entry High Frequency Transceiver

CC1101 RF Transceiver

● Feature
○ Low power Voltage
○ Low Power Consumption
○ Wide Frequency Range

● Purpose:
○ To communicate with Door PCB and Key Fob.

Specification Value

Supply Votlage -0.3V - 3.9V

Current in Sleep Mode 200nA

Frequency Range 300mHz - 928MHz


Low Frequency Transmitter/Receiver

KGEA-BFCR-B-0500J Antena

● Transmitting low frequency


● Low tolerance
Dimension : 145mmx26mmx12mm

Power mosfet IRF 7389

● Consist of N mosfet and P mosfet


● Fast switching speed

Low Frequency Wakeup Receiver : AS3933

● Provides long range wake up


● Enables long battery life
● Eliminates false wakeup
WiFi Integration Block Diagram
WIFI Module
● Model: ESP8266-01 ● Model: ESP32
● Includes AT instruction set to complete ● Includes serial port to program directly
HTTP requests ● Has a multitude of GPIO pins
● Can also be programmed directly ● Has an extremely power efficient low
with USB to UART converter power mode
● Communicates with ● More expensive than ESP8366
via UART (9600 Baud) ● Larger than ESP8266

ESP8266 Specifications ESP32 Specifications

Dimensions 25mm x 15mm Dimensions 570mm x 280mm

Cost $4.00 per unit Cost $12.00 per unit

Passive Current .9mA Passive Current .01mA


Server Back End

● RESTful API
● Node.js with Express framework
○ Familiarity
○ Node packages
○ Easy deployment
● Validation with Joi
● Error logging with Winston
● Unit/Integration testing with Jest
● Deployed on Digital Ocean Linux VM
● Url purchased from GoDaddy
● Certbot used to add https protocol
● Endpoints secured with JSON webtokens
Mobile Application

● Lower development cost


● Open ended development language
selection-- JAVA
● Open Source with detailed
explanations
● Easily emulated for testing purposes
● Easy debugging
Mobile Application Features

● Login
○ Unique username and
password
○ Show password option

● Register new account


○ Informations must be
unique
○ LockID to connect to
the system
Mobile Application Feature

● Displays
○ Name
○ Email
○ On time lock status
○ Sign Out link

● Control
○ Lock/Unlock button

● SmartLock Logo
○ Hatcful: online logo maker
Use Case Diagram
Additional Devices Block Diagram
Indicating Devices/Input Button

● Devices and Purposes


○ LEDs
■ Green : Connecting
■ Yellow: Connected
■ Red : ON - Unlocked / OFF - Locked

○ Input Button
■ Installed on door PCB
■ Use for unlock/lock the door
Servo Motor

● Purpose
○ Using Servo motor, Door can be opened or closed.

TowerPro MG995R Metal Gear Servo SG90


Specifications Specifications

Cost $9.90 Cost $5.95

Torque 10kgfcm Torque 2.5kgfcm

Rotation 120 degree Dimension: 40.7 x 19.7 x 42.9 mm approx


Rotation 120 degree

Weight 55g Weight 14.7g

Operationg 4.8V to 7.2V Operationg 4.6V to 6V


Voltage Voltage

PWM Period 20ms PWM Period 20ms

Dimension: 23 x 12 x 19.5 mm approx


Power Flow Block Diagram
Power

● Door PCB Battery : AA 1.5V x 4, 2CR5 (6V)


● Key Fob Battery : CR2023 x 2 (6V)
● 5V regulator voltage: LM1117-5.0
● 3.3V regulator voltage : LM1117-3.3

Voltage 6V 5V 3.3V

Components Servo Motor LED LF transceiver


MCU for door RF transceiver
WIFI module
Door Schematic_Original
Door Schematic_Final
Key Fob Schematic_Original
Key Fob Schematic_Final
PCB Layout_Original

Key Fob Main Door


PCB Layout_Final

Key Fob Main Door


Administrative Content
Work Distribution

Hardware Mobile Server Embedded


Design Application backend Programming
front end

Damo Park P S

Greg Mueth s s P P

Mhelith P s
Natavio
Development Budget

*
total cost is evenly distributed among members
Cost Per Unit
Learning Experiences

Low frequency 125kHz “wake up” signal

High frequency tranceiver (cc1101) library

Passive power consumption


Questions?

You might also like