Introduction: Raspberry Pi - Smart House
The Raspberry Pi Smart House Project is equipped with many different feature that allows the user to be able to track their house from anywhere (with Internet, of course!) on any computer/mobile devices.
The features of Smart House allows the user the ability to track, view and/or receive the temperature, humidity and light values of the house where their Raspberry Pi is situated at. Users are then able to view all these data from the the server of the Raspberry Pi and on Blynk, as well as on Telegram through the Smart House Bot (t.me/smarthouse_rpi_bot). Equipped with a smart door system, which allows the users to register their RFID Card, when a person with an unregistered RFID Card places it on the RFID Scanner, the Raspberry Pi will triggers the PiCam, taking picture of the place of the door upon the unauthorized access attempt.
Users may also snap a picture on either of the mobile applications (Blynk/Telegram) and view it on S3, an Amazon Web Service for Object Storage, or view it on Telegram through the Smart House Bot.
Step 1: Hardware Requirements
Single/One Component Needed:
- Single Board Computer Raspberry Pi
- DHT11 Temperature and Humidity Sensor
- COM-00097 Mini Push Button Switch
- Analog-to-Digital Converter (MCP3008 ADC)
- Light-Dependant Resistor (LDR)
- RFID/NFC MFRC522 Card Reader Module
- 12C LCD Screen
- LED lights
- Resistors (10kΩ and 220/330Ω)
Double/Two Components Needed:
1. LED Light
2. 10KΩ Resistors
3. 220/330Ω Resistors
Step 2: Setting Up Your Database
phpmyadmin
door_access
- id
- datetime
- rfidCardNo
Storing this information to know which user has return home.
lights
- id
- datetime_value
- light_value
Storing this information to get the light value from the light sensor @ the Living Room Page.
users
- user_id
- username
- password
- rfidCardNo
Storing this information to know which card number is the user holding on to.
values
- value_id
- datetime
- lightVal
- tempVal
- humidityVal
Storing this information to get the light, temperature, humidity value from the light, DHT11 @ the Master Bedroom Page, Telegram Bot and Blynk app.
dynamodb
values
- deviceid
- datetimeid
- lightVal
- tempVal
- humidityVal
Storing this information to get the light, temperature, humidity value from the light, DHT11 @ the Kitchen Page.
S3
- Bucket – iot-ay1819s2
- Folder – Home -> 1819s2_iot_SmartHouse
- Sub-Folder
• blynkpictures • userpictures