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

Connecting PLC with 7 Types of Devices: Easy to Understand!

Connecting PLC with 7 Types of Devices: Easy to Understand!

Search WeChat Jicheng Training Common input devices for PLCs include buttons, limit switches, proximity switches, toggle switches, dip switches, and various sensors, while output devices include relays, contactors, and solenoid valves. Correctly connecting the input and output circuits is a prerequisite for ensuring the safe and reliable operation of the PLC. 1 Connecting PLC with … Read more

Arduino Course – Ultrasonic Distance Measurement (Part 9)

Arduino Course - Ultrasonic Distance Measurement (Part 9)

Click the blue text above to follow us Video Teaching Lesson 9: Ultrasonic Distance Measurement 1. Course Introduction This lesson uses the ultrasonic distance sensor as an example to explain the principle of ultrasonic distance measurement and the use of OLED display based on the IIC communication protocol. Hardware required for this lesson: Arduino UNO, … Read more