Back to Parent


The input of device is status of a switch button and motion data from the PIR motion sensor. The output is text messages showing the status of the motion. When the switch button is turned on, the circuit will be on. After that, when someone is in the bathroom, PIR sensor will detect her motion and send signal to Twilio (an API that can send text message to phones). A message showing “Someone is in the bathroom.” will be sent to roommates’ phones. When the person is in the bathroom, a message will be sent every 10 minutes to the phones. After the person leaves, the message will show that the person leaves.

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!