Project

# Title Team Members TA Documents Sponsor
8 Secure Smart Locker for Doorstep Delivery
Ernesto Marquez
Maxwell Armbruster
Samarth Jain
William Zhang design_document1.pdf
final_paper1.pdf
other1.pdf
presentation1.pdf
proposal1.pdf
Team Members

In-Person: Max Armbruster (maa8), Samarth Jain (samarth3)
Online: Ernesto Marquez (ernesto2)

# Problem

The current global pandemic has moved many people's shopping habits online as e-tailing is much safer than retailing. The result is many more packages sitting idle on doorsteps, vulnerable to package thieves. I've personally had several packages stolen from my doorstep and it's quite frustrating as there isn't much that delivery service companies can do to help you. Your best bet is to order to something like an Amazon Locker or P.O. Box, but those add a layer of inconvenience to "home" delivery and are essentially just as COVID-risky as retail is.

# Solution Overview

Our solution is to design a secure smart locker to be placed on one's doorstep. Delivery drivers will scan a temporary QR code using a reader mounted to the locker, upon which the door will open. Once the package is placed inside and the door is closed, the locker will use the owner's WiFi to notify him/her of the delivery. Both the owner and the delivery person will interact with the locker using a mobile app that we develop.

# Solution Components

## Mechanical Design

Ideally, the locker should have a footprint that’s roughly 14”x16” and a height of at least a few feet, to accommodate most package sizes. Since having a prototype that fits these dimensions exactly is not critical to demonstrate our project’s function, we may deviate from these measurements. Namely, we might make it smaller to make transportation and storage of the prototype easier. Any appropriately sized container with a hinged door/lid should work for modification.

## Power

We plan to use a 12V DC power adapter that will plug into the wall jack on one’s porch or in one’s apartment lobby. The other end will feed through a small access hole in the locker and go straight to our PCB. From there we will have overvoltage, overcurrent, and reverse current protection, before breaking out into whatever other power we need (5V, 3.3V, etc.).

We’d also like to include a rechargeable battery solely for powering the alarm (detailed below) in the case that the power is disconnected by someone trying to steal the locker. This would be accessible inside of the locker for the owner to recharge/replace.

## Security

For the latching system on the door we can use some sort of cheap ~$10 solenoid lock. We would want one that is fail secure (door remains locked when power is disconnected). If we go too cheap, the lock could be damaged by someone trying to force the locker open, but I'd like to imagine that your average customer wouldn't have to worry about someone trying to forcibly access the locker more than once. We could always offer to repair the lock for free if it is damaged in this manner. After all, the point of a lock isn't to make something impossible to access, but rather inconvenient and attention-drawing.

To help in drawing attention, we plan to use a speaker on the locker to sound an alarm in the case that the locker is unplugged and stolen. This speaker will be powered by the rechargeable battery mentioned above. If the owner is planning on unplugging the locker themselves, the battery is accessible on the inside of the locker for them to unplug it and disable the alarm. When the locker is powered, this speaker will be used to beep softly while the door is open, to remind delivery people to close it before they leave.

Finally, we will mount a camera to the front/top of the locker which will take a picture whenever the locker is opened. This picture will be included in the notification sent to the owner. A live feed from this camera can be accessed from the mobile app.

## Mobile App

We will design a mobile app to be used by the owner of the smart locker to receive delivery notifications, unlock the device remotely, and access a live feed of the security camera. For the purpose of this prototype, this app will also be used by the delivery person to display the QR code for unlocking the device.

# Criterion for Success

We would consider our project a success if it achieves:

- Secure locking mechanism that makes it inconvenient for a thief to access the locker interior, to the point where they would rather move on to the next house
- Mobile app that allows the owner and delivery person to interact with the locker
- Speaker that doubles as an alarm when the locker is unplugged

The camera would be nice but the locker could function without it, in case we run short on time. If we instead have extra time, we can direct our attention to fleshing out the mobile app, maybe allowing the owner to speak through the speaker on the locker, to talk to a delivery person who needs instruction, or to taunt would-be thieves.

## COVID Shutdown Contingency Plan

In case we end up going online, I plan to make a simple version of the locker in my garage, such that it doesn’t require a PCB. I could probably use a breadboard and just ditch the camera. Our other group members can then work on the mobile app, and we can pretend like the app is able to communicate with the locker.

Electronic Mouse (Cat Toy)

Jack Casey, Chuangy Zhang, Yingyu Zhang

Electronic Mouse (Cat Toy)

Featured Project

# Electronic Mouse (Cat Toy)

# Team Members:

- Yingyu Zhang (yzhan290)

- Chuangy Zhang (czhan30)

- Jack (John) Casey (jpcasey2)

# Problem Components:

Keeping up with the high energy drive of some cats can often be overwhelming for owners who often choose these pets because of their low maintenance compared to other animals. There is an increasing number of cats being used for service and emotional support animals, and with this, there is a need for an interactive cat toy with greater accessibility.

1. Get cats the enrichment they need

1. Get cats to chase the “mouse” around

1. Get cats fascinated by the “mouse”

1. Keep cats busy

1. Fulfill the need for cats’ hunting behaviors

1. Interactive fun between the cat and cat owner

1. Solve the shortcomings of electronic-remote-control-mouses that are out in the market

## Comparison with existing products

- Hexbug Mouse Robotic Cat Toy: Battery endurance is very low; For hard floors only

- GiGwi Interactive Cat Toy Mouse: Does not work on the carpet; Not sensitive to cat touch; Battery endurance is very low; Can't control remotely

# Solution

A remote-controlled cat toy is a solution that allows more cat owners to get interactive playtime with their pets. With our design, there will be no need to get low to the ground to adjust it often as it will go over most floor surfaces and in any direction with help from a strong motor and servos that won’t break from wall or cat impact. To prevent damage to household objects it will have IR sensors and accelerometers for use in self-driving modes. The toy will be run and powered by a Bluetooth microcontroller and a strong rechargeable battery to ensure playtime for hours.

## Subsystem 1 - Infrared(IR) Sensors & Accelerometer sensor

- IR sensors work with radar technology and they both emit and receive Infrared radiation. This kind of sensor has been used widely to detect nearby objects. We will use the IR sensors to detect if the mouse is surrounded by any obstacles.

- An accelerometer sensor measures the acceleration of any object in its rest frame. This kind of sensor has been used widely to capture the intensity of physical activities. We will use this sensor to detect if cats are playing with the mouse.

## Subsystem 2 - Microcontroller(ESP32)

- ESP32 is a dual-core microcontroller with integrated Wi-Fi and Bluetooth. This MCU has 520 KB of SRAM, 34 programmable GPIOs, 802.11 Wi-Fi, Bluetooth v4.2, and much more. This powerful microcontroller enables us to develop more powerful software and hardware and provides a lot of flexibility compared to ATMegaxxx.

Components(TBD):

- Product: [https://www.digikey.com/en/products/detail/espressif-systems/ESP32-WROOM-32/8544298](url)

- Datasheet: [http://esp32.net](url)

## Subsystem 3 - App

- We will develop an App that can remotely control the mouse.

1. Control the mouse to either move forward, backward, left, or right.

1. Turn on / off / flashing the LED eyes of the mouse

1. keep the cat owner informed about the battery level of the mouse

1. Change “modes”: (a). keep running randomly without stopping; (b). the cat activates the mouse; (c). runs in cycles(runs, stops, runs, stops…) intermittently (mouse hesitates to get cat’s curiosity up); (d). Turn OFF (completely)

## Subsystem 4 - Motors and Servo

- To enable maneuverability in all directions, we are planning to use 1 servo and 2 motors to drive the robotic mouse. The servo is used to control the direction of the mouse. Wheels will be directly mounted onto motors via hubs.

Components(TBD):

- Metal Gear Motors: [https://www.adafruit.com/product/3802](url)

- L9110H H-Bridge Motor Driver: [https://www.adafruit.com/product/4489](url)

## Subsystem 5 - Power Management

- We are planning to use a high capacity (5 Ah - 10 Ah), 3.7 volts lithium polymer battery to enable the long-last usage of the robotic mouse. Also, we are using the USB lithium polymer ion charging circuit to charge the battery.

Components(TBD):

- Lithium Polymer Ion Battery: [https://www.adafruit.com/product/5035](url)

- USB Lithium Polymer Ion Charger: [https://www.adafruit.com/product/259](url)

# Criterion for Success

1. Can go on tile, wood, AND carpet and alternate

1. Has a charge that lasts more than 10 min

1. Is maneuverable in all directions(not just forward and backward)

1. Can be controlled via remote (App)

1. Has a “cat-attractor”(feathers, string, ribbon, inner catnip, etc.) either attached to it or drags it behind (attractive appearance for cats)

1. Retains signal for at least 15 ft away

1. Eyes flash

1. Goes dormant when caught/touched by the cats (or when it bumps into something), reactivates (and changes direction) after a certain amount of time

1. all the “modes” worked as intended

Project Videos