DIY Temperature Logger with DS18B20 and ESPHome / HomeAssistant

I needed a simple way to measure and log the temperature of the heating pipes in our house. The DS18B20 is a well-known and commonly used temperature sensor, and I already have Home Assistant running. So in this post, I want to guide you through the build of a temperature data logger that can easilyContinue reading “DIY Temperature Logger with DS18B20 and ESPHome / HomeAssistant”

Subscribe to The Things Network (TTN) using MQTT

The Things Network (TTN) is an open platform for creating a worldwide LoRaWAN network. You can install your own LoRa gateways and register them on TTN so that other TTN users can use your gateways. If you have devices or sensors publishing data over LoRa, you can receive this data using an MQTT broker fromContinue reading “Subscribe to The Things Network (TTN) using MQTT”

Publish accelerometer sensor data on MQTT from ESP8266

Introduction This tutorial adds to the previous one, in which we wrote a sketch for a Wemos D1 mini (ESP8266) board, to read out and print accelerometer data. Now, we want to publish this data to an MQTT broker in the local network via WiFi. Prerequisites For this tutorial, we will switch to PlatformIO. Also,Continue reading “Publish accelerometer sensor data on MQTT from ESP8266”

Read accelerometer sensor with ESP8266

What parts do we need for this tutorial? ESP8266-based board (e.g. Wemos D1 mini) Accelerometer IC (e.g. MPU-9250, which is a 9-axis sensor) A breadboard Some jumperwires Introduction Welcome to this tutorial where we will explore reading measurements from an accelerometer sensor and displaying them on the serial console. An accelerometer is a device thatContinue reading “Read accelerometer sensor with ESP8266”