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.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet