a14g-final-submission-s25-t04-crazy-thursday

PandoraBox

* Team Number: 04
* Team Name: Crazy Thursday
* Team Members: Zheyu Li, Zhuozi Xie
* Github Repository URL: https://github.com/ese5160/a14g-final-submission-s25-t04-crazy-thursday.git
* GithubPage Repository URL: https://github.com/ZheyuLi-SEAS/crazythursday.github.io/tree/main
* GithubPage URL: https://zheyuli-seas.github.io/crazythursday.github.io/
* Description of test hardware: SAMW25 on custom PCBA, Windows Laptop (Microchip Studio)

1. Video Presentation

Link to the video: https://youtu.be/bRq8x4013wI

2. Project Summary

2.1 Device Description

2.2 Device Functionality

Our internet-connected device is designed with a modular task-based architecture to manage study sessions effectively. It uses an IR sensor to detect if a phone is placed inside the box, an IMU to monitor movement during study, and a supplementary limit switch to help detect the phone being placed inside the box. The electromagnetic lock secures the box, while a buzzer and LCD screen provide audio and visual feedback to the user. A button allows users to manually cancel sessions for emergency use. All these components are coordinated through a central System Control Task, which processes sensor data, user inputs, and commands from the WiFi Task. Through WiFi, the device connects to the Internet, enabling users to set lock durations, receive progress updates, and manage sessions remotely using Node-RED. This design ensures a seamless integration between hardware functionality and internet-based control.

alt text

2.3 Challenges

2.4 Prototype Learnings

2.5 Next Steps & Takeaways

URL to the Node-RED instance:

http://172.191.68.14:1880/ui/

Share link to our final PCBA on Altium 365:

https://upenn-eselabs.365.altium.com/designs/2072B8AC-2960-444A-B440-9D8EECED0507

3. Hardware & Software Requirements

HRS

SRS

4. Project Photos & Screenshots

Required photos and screenshots include:

alt text

alt text

alt text

alt text

alt text

alt text

Node-RED dashboard (Phone view)

UI1 UI2 UI3

alt text

UI1 UI2

Initial version & final version:

alt text

Final version (adding IMU & SD Card, update device logic)

alt text

alt text

5. Codebase

No other software required.