zsiti.eu

Raspberry Pi and more by András Zsitko

Tag: IoT

Xiaomi MiFlora plant sensor in Pimatic

Xiaomi MiFlora is a cost-effective plant sensor, which uses Bluetooth Low Energy (BLE) to communicate wirelessly, and is capable of sensing temperature, soil humidity, light, soil fertility and it’s own battery level.

Daniel Matuschek (openha) and other contributors have written a library for the device, and his python code is capable of reading the sensor’s data on Linux. I have been running it on Raspbian Lite operating system, on my Raspberry Pi 3 and also have tested it on my Raspberry Pi Zero W (both devices have onboard Wifi and Bluetooth, no dongles needed).

Read More

Temperature/humidity sensor DHT22 (AM2302) using AdafruitDHT

Home automation projects often there is a need to measure the temperature and humidity of the air. This can be done with e.g. the DHT11 or the more advanced DHT22 sensors.

The AM2302 is a wired version of the DHT22, in a large plastic body. There is a 5.1K resistor inside the sensor connecting VCC and DATA so you do not need any additional pullup resistors. Here’s how to make it work.

Read More

Powered by WordPress & Theme by Anders Norén