ESP32 | ESP8266 Tutorials
-
MQTT (Part 4): Secure Communication Between Devices
Ensuring secure communication between devices is crucial when working with MQTT. In the previous parts of this MQTT series, you set up communication between two ESP8266 devices and exchanged sensor data. However, security measures were not yet implemented. Without proper security, an unauthorized user could intercept your data or disrupt your system. This tutorial will…
-
MQTT (Part 3): Sending and Receiving Data
In the previous part, you learned about the MQTT broker and how to set it up with Mosquitto on a Raspberry Pi. Now, it’s time to establish communication between devices. In this tutorial, you will learn how to send data from an ESP8266 to the broker and how another ESP8266 can subscribe to this data…
-
MQTT (Part 2): Setting Up an MQTT Broker on the Raspberry Pi
In the previous part, you learned the basics of MQTT. Now, we dive deeper into the central element of any MQTT application: the broker. In this tutorial, you will learn how to set up an MQTT broker on your Raspberry Pi using Mosquitto. What is an MQTT Broker? An MQTT broker is the heart of…
-
MQTT (Part 1): Introduction
This tutorial series is all about MQTT – the messaging protocol that is excellent for exchanging data between devices. Imagine you want to monitor the temperature in your greenhouse. To do this, you install temperature sensors that send their readings via MQTT to a central broker. The broker then distributes the data to all “interested”…
-
ESP32 OTA Updates: Remote Programming
The ESP32 supports OTA (Over-the-Air), allowing you to update sketches wirelessly. OTA is especially helpful when the microcontroller is hard to access or if you want to make changes without a physical connection. In this tutorial, you will learn how to set up OTA and go through a step-by-step example project: a blinking LED whose…
-
Programming an ESP32-CAM (AI Thinker) with the Arduino IDE
Do you want to take photos and save them on an SD card, send them over the internet, or even set up a trail camera? Then the ESP32-CAM is a great option! There’s just one issue: The board doesn’t have a USB port. So what can you do? In this tutorial, you’ll learn how to…
-
Programming the ESP8266 with the Arduino IDE
An ESP8266 is a real asset for your projects. With these microcontroller, you can open the door to the Internet of Things wide open! And the best part: You can easily program your ESP8266 with your Arduino IDE – just like your Arduino boards. However, you need to make a few preparations for this. Learn…
-
Sending Messages with the ESP8266 and ESP32
Would you like to send messages with your ESP8266 or ESP32, for example to receive a warning from a motion detector or temperature sensor? In this tutorial, you’ll learn three ways to implement this – via Telegram, email, and WhatsApp. Contents of this tutorial: Sending Messages via Telegram A common option is to send messages…