In this post you’re going to test the Mosquitto Broker and Client on a Raspberry Pi by subscribing to an MQTT topic and publishing sample messages. Recommended resources: You need a Raspberry Pi board – read Best Raspberry Pi Starter Kits How to Install Mosquitto Broker on Raspberry Pi What is MQTT and How It Works Getting Started withContinue reading “Testing Mosquitto Broker and Client on Raspbbery Pi”
Category Archives: Uncategorized
ESP32 MQTT – Publish and Subscribe with Arduino IDE
This project shows how to use MQTT communication protocol with the ESP32 to publish messages and subscribe to topics. As an example, we’ll publish BME280 sensor readings to the Node-RED Dashboard, and control an ESP32 output. The ESP32 we’ll be programmed using Arduino IDE. Project Overview In this example, there’s a Node-RED application that controlsContinue reading “ESP32 MQTT – Publish and Subscribe with Arduino IDE”
How to Install Mosquitto Broker on Raspberry Pi
This guide explains how to install the Mosquitto Broker for MQTT communication on a Raspberry Pi board. The broker is primarily responsible for receiving all messages, filtering the messages, decide who is interested in it and then publishing the message to all subscribed clients. There are several brokers you can use. In our Home Automation projects we use the Mosquitto Broker installed on a Raspberry Pi.Continue reading “How to Install Mosquitto Broker on Raspberry Pi”
Power ESP8266 with Mains Voltage using Hi-Link HLK-PM03 Converter
In this post you’ll learn how to power the ESP8266 (or ESP32) with mains voltage using the Hi-Link HLK-PM03 converter. As an example, we’ll use the ESP8266-01 to control a relay with a web server. The ESP32 and ESP8266 are cheap Wi-Fi modules perfectly suited for DIY projects in the Internet of Things (IoT) andContinue reading “Power ESP8266 with Mains Voltage using Hi-Link HLK-PM03 Converter”
MicroPython: ESP32/ESP8266 with DHT11/DHT22 Web Server
In this tutorial, you’re going to learn how to create a simple web server with the ESP32 or ESP8266 to display readings from the DHT11 or DHT22 temperature and humidity sensors. For an introduction to the DHT11/DHT22 temperature and humidity sensors with MicroPython, read the following guide: MicroPython: ESP32/ESP8266 with DHT11/DHT22 Temperature and Humidity SensorContinue reading “MicroPython: ESP32/ESP8266 with DHT11/DHT22 Web Server”
ESP32 with DHT11/DHT22 Temperature and Humidity Sensor using Arduino IDE
This tutorial shows how to use the DHT11 and DHT22 temperature and humidity sensors with the ESP32 using Arduino IDE. We’ll go through a quick introduction to these sensors, pinout, wiring diagram, and finally the Arduino sketch. Learn how to display temperature and humidity readings on a web server using the ESP32 or ESP8266 boards:Continue reading “ESP32 with DHT11/DHT22 Temperature and Humidity Sensor using Arduino IDE”
ESP8266 Voltage Regulator (LiPo and Li-ion Batteries)
In this guide, you’re going to build a voltage regulator for the ESP8266 that can be used with LiPo and Li-ion batteries. ESP8266 power consumption The ESP8266 is well known for being power hungry when performing Wi-Fi tasks. It can consume from 50mA to 170mA. So, for a lot of applications it’s not ideal to use a batteryContinue reading “ESP8266 Voltage Regulator (LiPo and Li-ion Batteries)”
Getting Started with ESP8266 WiFi Transceiver (Review)
The ESP8266 is a Wi-Fi module great for IoT and Home Automation projects. This article is a getting started guide for the ESP8266 development board. About the ESP8266 The ESP8266 is a $4 (up to $10) Wi-Fi module. It allows you to control inputs and outputs as you would do with an Arduino, but itContinue reading “Getting Started with ESP8266 WiFi Transceiver (Review)”
ESP8266 Troubleshooting Guide
The ESP8266 has a few common issues, specially when you are trying to flash a new firmware or uploading scripts. Here’s a compilation with some of the most common problems with the ESP8266 and how to fix them. ESP8266 Troubleshooting – NodeMCU Flasher Where do I download the NodeMCU flasher? Go to the NodeMCU flasher GitHub repository and download the flasher for yourContinue reading “ESP8266 Troubleshooting Guide”
