Project

# Title Team Members TA Documents Sponsor
46 Inventory Tracker
Alex Buchheit
Sara Alabbadi
Sooha Ryu
Jason Zhang design_document2.pdf
design_document1.pdf
final_paper1.pdf
presentation1.pptx
presentation2.pptx
presentation3.pptx
proposal1.pdf
proposal2.pdf
video
## Team Members

Sooha Ryu (soohar2)

Sara Alabbadi (saraa6)

Alex Buchheit (alexwb2)

## Problem

I work as a lab assistant and one of my responsibilities is to restock various supplies in the lab. I have to manually enter supplies into an excel spreadsheet when they are used so the lab supervisor knows when to purchase more. This takes a lot of time and because we do it manually we have many discrepancies in inventory. It would be easier to not have to manually take inventory and have a system that could do that.

## Solution

Our proposed solution is an inventory tracking system. This system would use either RFID or computer vision to check out and return supplies. The user that is checking them out would be assigned a PIN number or scan their iCard to check out supplies. This information would be connected to a website and display that shows each supply being used and what user is using it.

Along with that, supplies stored in drawers or cabinets could be accessed by the user through the PIN or iCard scan. The system would also determine if the drawer had been opened by an unauthorized person and send an alert to the web database.

## Solution Components

## Smart Drawer

The supply drawer could be held shut by a magnet and a current carrying wire to create a magnetic field to hold it shut. Once it is determined through RFID that the correct user wants access to the drawer, power will no longer be sent through the wire, allowing the user to safely open the drawer. A sensor will be attached to the drawer to determine if it is opened. If it is opened and current is still flowing through the wire, this will alert the system that it has been opened by force by an unauthorized person.

Possible Proximity Sensor: HC-SR04
Datasheet:
https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf

## User Access Control

iCard will be read by an RFID system to “unlock” the drawer they have access to. The user information will be stored in the database to keep track of inventory.

Possible Microcontrollers: ATMEGA328P-AUR, STM32F401RBT6, STM32F103C8T6TR, ATMEGA32U4-AUR, ESP32
Datasheets:
https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf

https://www.st.com/content/ccc/resource/technical/document/datasheet/9e/50/b1/5a/5f/ae/4d/c1/DM00086815.pdf/files/DM00086815.pdf/jcr:content/translations/en.DM00086815.pdf

https://www.st.com/resource/en/datasheet/stm32f103cb.pdf

http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Summary.pdf

https://cdn.sparkfun.com/datasheets/IoT/esp32_datasheet_en.pdf


## Inventory Tracking

A system to keep track of all items in the drawers using either RFID. All the items in the drawers will have a tag/chip attached to them, so once someone checks it out or returns it, the system will be able to know the items and keep track of the inventory. The data will be updated as inventory changes with information of the user from the user access control.

Possible RFID Reader: RFID READER R/W 13.56 MHZ MOD, RFID Reader ID-12LA

Datasheet: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/5656/DLP-RFID2%28D%29-V2.pdf
https://cdn.sparkfun.com/assets/9/3/0/5/2/DS-11827-RFID_Reader_ID-12LA__125_kHz_.pdf?_gl=1*1eqzthn*_ga*NDYyODY1MjM3LjE3MDY3NDE1NjA.*_ga_T369JS7J9N*MTcwNjc0MTU2MC4xLjEuMTcwNjc0MTcwOC4zNy4wLjA.

Possible RFID Chip: RF37S114HTFJB, UHF RFID Tags - Adhesive

Datasheet:
https://www.ti.com/lit/ds/symlink/rf37s114.pdf?HQS=dis-dk-null-digikeymode-dsf-pf-null-wwe&ts=1706682267886&ref_url=https%253A%252F%252Fwww.ti.com%252Fgeneral%252Fdocs%252Fsuppproductinfo.tsp%253FdistId%253D10%2526gotoUrl%253Dhttps%253A%252F%252Fwww.ti.com%252Flit%252Fgpn%252Frf37s114

https://www.sparkfun.com/rfid


## Web Database

The database will be updated every time a user checks out or returns an item. It will also keep the records of when and who checked out what and what’s been returned. The database will also have how many items are in stock and display it with the checkout/return records. An alert message will be displayed if anyone forcefully opens the drawer.

Possible Bluetooth Module: ESP32-S3-WROOM-1-N16
Datasheet:
https://www.espressif.com/sites/default/files/documentation/esp32-s3-wroom-1_wroom-1u_datasheet_en.pdf


## Stretch Goal

If time allows, for keeping track of inventory, we could incorporate computer vision technology instead of an RFID. For using computer vision, we plan to have weight sensors on the drawers to check if there’s been any change of inventory. If there is, the camera would be activated and the user will show the item to the camera and once it recognizes what it is, it will record it to the database and the user will be able to close the drawer. For returning, once the user scans their iCard, they will be able to open the drawers and return the items. Knowing the items that’s been checked out by the user and the change in weight in the drawer, the system will figure out the returned item and record it to the database.

# Criteria For Success

Drawers can be locked and unlocked depending on the user access

System is able to recognize items checked out and returned

The system will display the current amount of items in stock

The system should display items checked out and the users that have checked them out

It should allow supervisors to change the number in stock if they restock supplies

Web database is updated regularly with correct user information

Correctly alerts database if drawer opened by force

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