Running MQTT Client on ESP32 for Publishing and Subscribing to Topics

Running MQTT Client on ESP32 for Publishing and Subscribing to Topics

There are many libraries available for ESP32 MQTT, this time Lingshun Lab mainly uses AsyncMQTT_ESP32, and in the future, we will explore more methods for using other MQTT libraries. Prerequisites Deploy a local MQTT server on Raspberry Pi, for specific installation please check the following link: https://lingshunlab.com/book/raspberry-pi/raspberry-pi-install-mosquitto-mqtt-server-and-test-mqtt ESP32 and Raspberry Pi are on the same … Read more

Installing Qt 4.8.0 and Qt Creator 2.4.1 on Raspberry Pi

Installing Qt 4.8.0 and Qt Creator 2.4.1 on Raspberry Pi

To set up the Qt compilation environment on Raspberry Pi, using Qt 4.8.0 and Qt Creator 2.4.1. 1. Installation of Qt 4.8.0. 1. Search for Qt download on Baidu. Find the link: http://download.qt.io/archive/qt/, go in and download the .tar.gz packages for Qt 4.8.0 and Qt Creator 2.4.1. 2. Use SSH to copy the files to … Read more

Qt for MCU: Directly Deploying on Microcontrollers without an Operating System

Qt for MCU: Directly Deploying on Microcontrollers without an Operating System

Qt Company recently announced a new toolkit: Qt for MCU. Qt for MCU can run on devices without an operating system, allowing developers to create smooth user interfaces on cost-effective microcontrollers. Qt-based applications can now be deployed on traditional operating systems and microcontrollers based on ARM Cortex M7. How is Qt for MCU implemented? The … Read more

Cross-Platform Industrial IoT Gateway Based on .NET 6

Cross-Platform Industrial IoT Gateway Based on .NET 6

The true master always has the heart of an apprentice! 1. Project Introduction Cross-Platform Industrial IoT Gateway Based on .NET 6 2. Functional Implementation Supports access to web configuration projects Supports 3D digital twins Supports built-in Mqtt service Supports telemetry and attribute uploads Supports RPC reverse control Supports Huawei Cloud Supports calculation expressions Supports driver … Read more

Integrating IoT Devices with ThingsBoard Gateway Using Python

Integrating IoT Devices with ThingsBoard Gateway Using Python

The Internet of Things (IoT) has been gaining traction for quite some time now, and everyone wants to connect their devices and push data to the cloud. The challenge lies in the variety of devices and protocols available. How can we integrate all these devices in a complex IoT environment? Don’t worry, today we will … Read more

Quick Guide to ESP32 with MicroPython: Example Code Included

Quick Guide to ESP32 with MicroPython: Example Code Included

This article provides a quick guide to the ESP32 (based on MicroPython) — including example code. In just forty minutes, you can get started with the ESP32 using MicroPython. The content includes environment setup, GPIO, delay functions, timers, PWM, ADC, Flash operations, WiFi connections, and MQTT integration. By following along and coding yourself, you can … Read more

How Front-End Developers Approach IoT Development

How Front-End Developers Approach IoT Development

Click the above Front-End Q, follow the public account ReplyJoin Group, join the Front-End Q technical exchange group About the text, Author: Dreyas Link: https://juejin.cn/post/7203180003471081531 image-20230104162825029 The above image is an online temperature and humidity visualization project I worked on for a week. It shows the temperature and humidity trends for the previous day and … Read more

How to Choose Access Protocols for IoT Devices

How to Choose Access Protocols for IoT Devices

Currently, most IoT modules on the market support protocols such as TCP, UDP, CoAP, LwM2M, and MQTT. Among these, there are both transport layer protocols and application layer protocols, with many protocols available for different scenarios. However, when designing a product, usually only one protocol is needed, so how to choose a protocol that fits … Read more

ESPNow2Mqtt: Connect Your ESP32 Devices to MQTT Without WiFi

ESPNow2Mqtt: Connect Your ESP32 Devices to MQTT Without WiFi

In IoT applications, the ESP32 has become the preferred choice for many developers due to its low power consumption and rich features. However, using WiFi to connect to MQTT in low-power scenarios brings additional power burdens, which is a significant challenge for battery-powered devices. The ESPNow2Mqtt library was born to address this issue, utilizing the … Read more

DIY TallyWhacker: A Smart Home Solution for Noisy Neighbors

DIY TallyWhacker: A Smart Home Solution for Noisy Neighbors

Follow “Github Base” and select “Set as Star” Reply “Resources” to receive a set of programming materials worth 1280 yuan~ From Quantum Bit. In the dead of night, when your neighbors are fighting, partying, or children are crying, how do you handle it? Knock on the door? Wear earplugs? Endure silently until you reach a … Read more