Skip to content

Time lock box to keep off the temptation of using a smartphone.

Notifications You must be signed in to change notification settings

46nori/SmartphoneConfiscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smartphone Confiscator

My son : "The reason of my poorly grade at school is due to smartphone!"

46nori : "OK, I'm gonna make a machine confiscating your phone!!"

Features

  • Lock the box for the specific period of time.
  • Emergency unlocking via Internet by IFTTT widget.

Hardware

How to use

  1. Open the tray and put the smartphone. (You can put anything actually.)
  2. Set countdown timer. (Hour and minutes up to 24hour 59minutes.)
  3. Push the start button.
  4. Tray will be locked, and remaining time is shown.
  5. Tray will be unlocked when the countdown timer is expired.
  • Emegency unlock widget (IFTTT) is able to unlock in anytime. (But it is only owned by parents. :-P )

How to build & run

  • You need to create a Particle account in advance.
  • Your Photon needs to have been set up and connected to Particle server by WiFi.
  1. Open Particle IDE on Web Browser.
  2. Create files in the src/. And copy & paste the each content of files.
  3. Push build button on IDE.
  4. Push flash button on IDE so that download the firmware onto your Photon.

To Do

  • To equip the sensor in order to prevent from locking at incorrect position of tray.
    • Hall effect sensor or photo reflector is candidate.
    • To implement bool UISTMBridge::IsCaseClosed() as return true if the tray position is correct.

Screenshots

Front View
Button Layout

  • White Button: Up / Down
  • Blue Button: Mode
  • Red Button: Set
    Front view

Rear View
5V AC Adopter outlet
Rear view

Particle Photon and LCD module
Particle Photon

IFTTT widget
Button WIdget and Particle Service
IFTTT Widget for Emergency Unlock

About

Time lock box to keep off the temptation of using a smartphone.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published