A Wi-Fi sensor installed in the room allows you to remotely monitor the air temperature. Based on this data displayed on the smartphone, it is possible to turn on or off a heating boiler or conventional heater, if they are also configured to be remotely controlled. It can also be useful to view the history of air temperature and humidity – especially if the room is not living, but, for example, a greenhouse. We will tell you how to assemble an elementary Wi-Fi temperature sensor in just 30 minutes and bind it to a mobile application for remote control.
What is required to assemble a sensor like this:
All necessary components:
To assemble the device, we used the following example of a circuit found by searching for images on Google:
Here’s what happened as a result:
switch:
- platform: gpio
id: l2
name: GPIO2
pin:
number: GPIO2
sensor:
- platform: dht
pin: GPIO15
temperature:
name: "Temperature"
humidity:
name: "Humidity"
update_interval: 10s
Explanation of the firmware code:
./2smart.sh erase_flash -d /dev/tty.SLAB_USBtoUART
./2smart.sh write -d /dev/tty.SLAB_USBtoUART
We’re empower your business with our technology expertise
./2smart.sh erase_flash -d /dev/tty.SLAB_USBtoUART
./2smart.sh write -d /dev/tty.SLAB_USBtoUART
That’s all! In just 30 minutes, we created a useful IoT device that can be used on a daily basis. If necessary, the temperature and humidity sensor can be placed on a printed circuit board, as well as printed out the device body on a 3D printer. By placing it in a room or any other premises, you can control temperature and humidity from anywhere with Internet access.
Share with us your business idea and expectations about custom software development for the internet of things.