Building an STM32 Smart Desktop Robotic Dog from Scratch

Introduction: In early February or March, the author replicated a simple desktop pet – the STM32 desktop robotic dog based on online tutorials. Although it is a robotic dog, the author has finally found some free time to open source the relevant code and design. Interested readers can give it a try. Main Content: Hardware … Read more

STM32 Project Share: Air Quality Detection System

STM32 Project Share: Air Quality Detection System

Product images of the project: Bilibili video link: https://www.bilibili.com/video/BV1DEC5YuEvh/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See the end of the article for data sharing) 01 — Project Introduction 1. Function Details STM32 Air Quality Detection System The functions are as follows: DHT11 temperature and humidity sensor detects air temperature and humidity information MQ-7 carbon monoxide sensor detects carbon monoxide content Formaldehyde … Read more

Traffic Light Control System Based on Microcontroller Graduation Project Documentation

Traffic Light Control System Based on Microcontroller Graduation Project Documentation

Abstract At intersections, vehicles shuttle, pedestrians bustle, with orderly lanes for vehicles and sidewalks for pedestrians. What ensures this orderly flow? It is the automatic control system of traffic lights. There are many control methods for traffic lights. This design is mainly divided into five major modules: input control circuit, clock control circuit, internal and … Read more

Embedded Development Software Architecture in C: Hardware Driver Modules

Embedded Development Software Architecture in C: Hardware Driver Modules

1. What is a Hardware Driver Module In embedded systems, a hardware driver module acts like a bridge, connecting hardware devices on one end and upper-level software on the other, playing a crucial role in the entire system. In simple terms, a hardware driver module is a piece of program code specifically responsible for interacting … Read more

Designing an Energy-Saving Lighting Controller

Designing an Energy-Saving Lighting Controller

The basic workflow of the energy-saving lighting controller can be further refined as follows: 1) Collecting ambient light intensity data: The system obtains real-time ambient light intensity through a light sensor. As the ambient light changes, the light sensor continuously outputs new light intensity data. 2) Data processing and analysis: The main control chip (for … Read more

Controlling an OLED Display to Show a Dynamic Progress Bar Using the ESP32 Development Board

Controlling an OLED Display to Show a Dynamic Progress Bar Using the ESP32 Development Board

First, prepare the ESP32 development board, a breadboard, several DuPont wires, and an SSD1306 OLED display. Then, connect the development board, breadboard, and OLED display according to the wiring diagram. Next, use the PlatformIO plugin in VS Code to write and upload the code for the OLED display. The wiring diagram is as follows:

Using the CW32 Module: 8-Digit LED Display Module

Using the CW32 Module: 8-Digit LED Display Module

1Module Source>>> Product Physical Display: Data Download Link:https://pan.baidu.com/s/15TcV9HevtfVBWcm7pgRNTw Data Extraction Code:e1q5 2Specifications>>> Operating Voltage:4-5.5V Operating Current:8-330MA Scanning Rate:500-1300Hz Communication Protocol:Single Bus Pin Count:5 Pins (2.54mm pitch header) Refer to the manufacturer’s documentation for the above information 3Porting Process>>>Our goal is to port the example to the CW32F030C8T6 development board. First, we need to obtain the … Read more

ESP32 Arduino Development with Resistive Soil Moisture Sensor

ESP32 Arduino Development with Resistive Soil Moisture Sensor

Recently, I have become fascinated with the ESP32 development board and wanted to learn more about it. I happened to purchase a resistive soil moisture sensor, which is shown below: I thought of using the ESP32 to test this sensor. The sensor has four pins: VCC (power), GND (ground), DO (digital signal), and AO (analog … Read more

Arduino Mini Weather Station: Monitoring Temperature and Humidity with DHT11 Sensor and OLED Display

Arduino Mini Weather Station: Monitoring Temperature and Humidity with DHT11 Sensor and OLED Display

Do you want to set up a weather station at home to monitor temperature and humidity changes anytime, anywhere? Then try this mini weather station! We will use Arduino, the DHT11 temperature and humidity sensor, and an OLED display to build a super cool weather monitor. Don’t worry, despite the long name, the actual operation … Read more

Understanding PLC Connections with 7 Types of Devices

Understanding PLC Connections with 7 Types of Devices

Common input devices for PLCs include buttons, limit switches, proximity switches, toggle switches, dip switches, and various sensors, while output devices consist of relays, contactors, solenoid valves, etc. Correctly connecting the input and output circuits is essential for the safe and reliable operation of PLCs. 1. Connection between PLC and Main Control Devices Figure 1 … Read more