I started this project as a school project. Actually, I wanted to create something that would benefit the society. Therefore, I started examining what are the different problems that are exiting in the world that could be solved. Then, I found out that "Misuse of Electricity" and "Shortage of electricity" are some of the problems faced by the people of India. Therefore, I designed this system for the above mentioned purpose. I made it without any nxp rapid iot rapid prototyping kit but here I am using it.
BILL OF MATERIALSThe materials used in my project are given below along with their respective price (all price are in INR per piece);
- Breadboard - INR 60
- Two channel Relay Module - INR 80
- Four Channel Relay Module- INR 139
- HC-05 BLUETOOTH Module - INR 250
- PIR Motion Sensor - INR 80
- HC-SR04 Ultrasonic distance sensor - INR 80
- Arduino Uno - INR 1500
- Servo 9g - INR 100
- Generic Jumper wire Male to Male - INR 5 (about 50-70 required)
- Generic Jumper wire Male to Female - INR 5 (about 50-70 required)
- 9v Power Adapter - INR 100
Therefore, The total Cost of my project is around INR 3000
PRINCIPLEThe working principle of this whole system is that:
1) Pir motion sensor will detect human presence
2) Relay module will control all the appliances but it will not be connected to sockets as there may be a need to turn it on when there are no people in a room
3) NXP rapid iot prototyping kit will take various sensors values and send it to Arduino Uno via Bluetooth since this kit has sensor with high accuracy and again they will take less pins in Arduino
4) There will also a security system via PIR sensor which will make it a safe house
*The relay module will be installed between the appliances and switch so to run the appliances there will an automated switch (run by Arduino Uno) and a normal manual switch
** If there is a need to run any appliance without human presence it can be achieved for 2hrs via an app
***To run the fan ( or ac) there will be two conditions first the human presence and second the temperature should be high enough
****To run the light there will be two conditions first the human presence and second the light intensity should be high enough
STEPS FOR MAKINGSTEP 1: MAKING THE PROTOTYPE OF HOUSEYou can use any kind of model for this purpose, but the condition is that you need to have a house made of any material without any roof . I am enclosing the pictures of my (made) house.
The nxp rapid iot prototyping needs no wiring as it will send data via Bluetooth Low Energy. The remaining hardwares can be connected as follows:
STEP 3: WRITING THE CODE
The Code for Arduino IDE is given below
STEP 4: MAKING APPI used the MIT App Inventor to make the app
You may proceed for testing the prototype by following the video as under.
Comments