rahul sidda6

Warden Catches the Student

The warden can identify the hostel room in which the lights are turned on after bed time as a buzzer rings and SMS is received.

BeginnerFull instructions provided2 hours314
Warden Catches the Student

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
Resistor 10k ohm
Resistor 10k ohm

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
SMS Messaging API
Twilio SMS Messaging API


Read more



The ldr is connected to A0 pin and 3.3V,
resistor is connected to A0 pin and ground.
buzzer positive to GPIO 1 and negative to ground.



step 4

Sms sent


Go to the Products tab and configure it.


Complete the hardware connections and the code to get the prediction graph

step 3

Now you have to create a twirlo account so that sms can be sent informing us about the anomaly.

Go to app.twirlo.com and create an account.

Go to the Domain and note down all the credentials, save it in another file.

Step 4:

Using Ubuntu create a file named conf.py to store all the API key, secret tokens and Bolt number which you will later use in the code.

Keeping the Bolt module with the circuit connections done in the refrigerator for about 2 hours you can find the minimum and maximum temperature of the fridge. Using this temperature range we get the threshold values for our program. When you click on view the device button a graph is plotted. Save the data in an excel sheet and find the minimum and maximum intensity.

Now write the python code in ubuntu and it is shown in the following figure. In this code we have written 2 functions named computebounds and anomaly. This code will send the sms when the intensity crosses the threshold or when there is an anomaly. Z-score analysis is done to find the anomaly.


rahul sidda6

rahul sidda6

1 project • 0 followers