THE FEATURE LOGIC

Features and Conditions

Features

  • FR: red lights in building, on/off
  • FB: blue lights in building, on/off
  • FS: sound, none / “time for bed” / “good-night” / “put-off-your-phone” / “wake-up” / “morning”
  • FA: dinasour is angry (e.g. red lights in body, “fire” burn out from mouth), on/off

Conditions

  • CP: 1=phone is in slot, 0=otherwise
  • CC: 1=23pm~6am, 0=6am~23pm (adjustable)
  • CF: in-sleep flag, the first time put down phone after 23pm–>1, the first time get phone up after 6am–>0

The matrix

The condition->fature matrix is as below:

Besides, I would like to have a small light when the environment is dark, and off otherwise. It could be a separated circuit with a LED light and a light sensor.

Electronic Design Sub Tasks

  1. Turn on/off multiple blue or red lights in the building.
  2. The angry dinasour
  3. The mp3-player which can play different sounds according to different status.
  4. a lever switcher for CP
  5. a “clock” switcher for CC
  6. a switcher for CF, I’ve no idea yet. Wish this could be a mechanical component as well.
  7. the small LED with light sensor.