Introduction: Smart Automation (Intel IoT)
The Smart Automation System for controls the electronics at your home/university (university was actually the intended purpose) automatically. Its features are automatic triggering of lights according to the ambient light outside the rooms, automatic triggering of fans and heaters according to the ambient temperature, automatic triggering of fire alarms in case of a gas leakage in the kitchen/mess/canteen.
- Intel Edison
- Grove Base Shield (Optional)
- Temperature Sensor
- Gas Sensor
- Light Sensor
- Jumper Wires
- Output Modules (A/C Relay Board, Lights, Motors etc.)
Step 1: Connect the Relay Board
Connect the relay board (if you choose to use it) on the Intel Edison board.
This really simplifies the connection of sensors and other modules.
Step 2: Connect the LCD Shield
Connect the LCD Shield using a jumper wire.
Alternatively, you could connect the LCD to the corresponding pins (Vcc, Ground, SDA and SCL) directly.
Step 3: Connect the Sensors
Connect the sensors using jumper wires.
In this code, I connect -
- Gas sensor at A0
- Temp Sensor at A1
- LDR at A2
Step 4: Connect the Outputs
The intended use of the project involves using a relay module, but for demonstration purposes, I have used an LED, and two fans.
For Connecting the relay module, follow these instructions.
Here I connect buzzer at pin 8, LED at 13, and the fans at 6 and 7 (For fan and heater). I have used to jumper wires and base shield to connect easily, but the same can be done using normal wires.
Step 5: Upload the Code
Step 6: Verify
The output should look similar to this.
You may need to calibrate the threshold values in the code to get correct results as each unit of the sensor is a little bit different.
Try covering the LDR to check the light and adjust the threshold values. You may use a portable lighter to check the gas sensor and temperature sensor and calibrate the values too.
We have a be nice policy.
Please be positive and constructive.