Introduction
In this project we are going to build a simple Smart Home Project. This simple project will be used to indicate the intensity of light within a house as well as the temperature of the surroundings.
To build this project you will need:
- Unda Xplora Project
- LDR (Light Dependent Resistor)
- Temperature sensor
- 1 10kiloohm resistor
- Jumper Wires and Breadboarding Jumper Wires
Let’s build the Smart Home Project
Place the temperature sensor, an LDR and a 10kilo ohm resistor next to the LDR on the breadboard.
Connect from the 5V pin to the breadboard top positive rail using breadboarding jumper wires. Connect from the breadboard positive rail to the positive pin (the first pin) of the sensor using breadboarding jumper wire.
Connect using a jumper wire from analog pin A6 to the middle pin of sensor.
Connect a jumper wire from GND to the breadboard top negative rail. Connect breadboarding jumper wires from the negative rail to one pin of the LDR and also to the negative pin(the third pin) of the temperature sensor.
Connect a jumper wire from analog pin A0 to one side of the resistor placed next to the LDR.
Run the Project and then go to the Play Section and observe what happens. Try to blow on the temperature sensor and observe what happens in the Play section window. Using your hand cover the top of the LDR and observe what happens in the Play section window.
What did you observe?
Once you upload the project, you notice that in the Play Section the room temperature (around 27°C to 29°C) will be displayed in the temperature section of the screen. There will be a value displayed on the light intensity part of the screen depending on the amount of light present within your surrounding.
What happens when you blow on the temperature sensor?
When you blow on the sensor, you release hot air onto the sensor which is at a higher temperature than the surrounding air. The new temperature value will automatically be displayed on the temperature section of the Unda Xplora’s screen.
Try to waft on the temperature sensor and observe what happens.
What happens when you cover the LDR with your hand?
Covering the LDR with your hand will reduce its resistance since you have reduced the amount of light getting to the LDR. This in turn will result in a lower value being displayed on the screen to mean that the light intensity is of lower value.
Feedback is closed.