3228

Traffic light design based on 51 microcontroller

 
Overview

1. Design requirements: 1. Use the microcontroller stc89C52 to design a traffic light system, and use a digital tube to display the time and LED to indicate traffic.

2. Design circuit diagrams, pcb diagrams, etc.

3. The digital tube is driven by a triode.

4. Button functions: no traffic, east-west traffic, north-south traffic, time increase, time decrease, switch, confirm. 2. Main components of the circuit: 1. Minimum microcontroller system 2. 8-segment digital tube 3. Red, yellow, and green LEDs 4. Transistor drive circuit of the digital tube 3. Main functions: 1. Adopt four-directional digital tube design, more in line with real traffic Signal light design. 2. The buttons on the left side from top to bottom are: set time, time plus, time minus, and emergency mode. 3. Emergency mode: When ambulances, firetrucks, etc. pass by, press the "emergency mode" button, including all four directions of red lights, allowing east-west traffic, allowing north-south traffic, and all green lights. 4. When setting the time, press the "Set Time" button for the first time to set the countdown time in the east-west direction. Press the "Set Time" button again to set the countdown time in the north-south direction. Press it again to exit the setting. status and start running.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-08-05 08:32:34

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号