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

Setting Up a Development Environment on Raspberry Pi

Setting Up a Development Environment on Raspberry Pi

Word Count: Approximately 4kEstimated Reading Time: 20 min Background Since I last impulsively set up the operating system on my Raspberry Pi, I have not figured out how to use it specifically, and it has just been lying in the drawer gathering dust for a year. It came to my mind again on a Sunday … Read more

OpenWrt and Samba: A Guide to Home Network File Sharing

OpenWrt and Samba: A Guide to Home Network File Sharing

#Introduction I have a large capacity mechanical hard drive that is currently unused, and I want to utilize it during the weekend. The requirements are: I have a Raspberry Pi at home, which is running <span>OpenWRT</span> as a standalone router. I now need to connect the mechanical hard drive to the Raspberry Pi and share … Read more

Easily Control Your Raspberry Pi Hardware with GPIO Zero: Efficient GPIO Pin Operations

Easily Control Your Raspberry Pi Hardware with GPIO Zero: Efficient GPIO Pin Operations

Introduction to GPIO Zero GPIO Zero is a simple and easy-to-use Python library designed for operating GPIO pins on the Raspberry Pi. Developed and maintained by Ben Nuttall and Dave Jones, it aims to simplify interaction with hardware, allowing developers to easily connect sensors, actuators, LEDs, and other devices to the Raspberry Pi to achieve … Read more

Maximizing Performance on Raspberry Pi with Valkey

Maximizing Performance on Raspberry Pi with Valkey

Author: David Tippett Conducting extensive performance testing on the Raspberry Pi may seem a bit dull, but it made me realize the complexity of performance testing. For example, in some of the tests below, I actually exhausted all the resources of the Raspberry Pi, leading to poor performance. Each application’s performance characteristics are different, so … Read more

Build Your Personal Perception Terminal with Raspberry Pi

Build Your Personal Perception Terminal with Raspberry Pi

Hello everyone, it’s been a while since I brought you something fun. This time I would like to introduce a small gadget I developed, which allows you to link your phone with a Raspberry Pi for real-time monitoring. First, we are using a Raspberry Pi 4B, equipped with a camera, and installed with the Raspberry … Read more

Achieve Intranet Penetration with Raspberry Pi and Nginx Without Public IP

Achieve Intranet Penetration with Raspberry Pi and Nginx Without Public IP

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group of 1000 people Note: [Public Account] to pass faster 1. Install Nginx Installing Nginx on Raspberry Pi is also very simple, it can be installed directly using the apt command, first update the repository sudo apt update … Read more

Track Your Family Schedule with Raspberry Pi and Low-Power Display

Track Your Family Schedule with Raspberry Pi and Low-Power Display

Introduction: By utilizing open-source tools and e-ink screens, everyone can be aware of the family schedule. Word count: 1360, Reading time: 2 minutes https://linux.cn/article-13222-1.htmlAuthor: Javier PenaTranslator: wyxplus Some families have complicated schedules: children have school activities and after-school activities, important things you want to remember, and everyone has multiple appointments, etc. While you can use … Read more

Controlling a Small Fan Module with .NET and Raspberry Pi

Controlling a Small Fan Module with .NET and Raspberry Pi

(Give DotNet a star to enhance your .Net skills) Source: Dongxia Dugu cnblogs.com/tcjiaan/p/14547950.html Introduction A small fan is essentially a motor with blades attached to its shaft. There are two-blade and three-blade designs. We played with these as kids; solar-powered hats had small fans, and when riding bikes to school, they would spin in sunlight. … Read more

Getting Started with Physical Programming on Raspberry Pi Pico

Getting Started with Physical Programming on Raspberry Pi Pico

The RP2040 microcontroller on the Raspberry Pi Pico was designed with physical computing in mind. Its numerous General Purpose Input/Output (GPIO) pins allow it to interact with a variety of components, enabling you to build projects ranging from lighting LEDs to recording data about your surroundings. Physical computing is not any harder to learn than … Read more