newrudeman

traffic light

 
Overview

This hardware design is used in the design of a traffic light. The main control chip is an STM32F103 series chip. During use, I encountered a problem that the decimal point of the digital tube could not be controlled to go out. This problem has not been solved. Friends who are interested in uploading the program engineering source code can study it and share it together. In the program, you can mainly look at tm1637.c and tm1637.h in MyCodeTM1637. There are other functions in the main program that may be confusing. The main function used in main is RGY_Control(Display_Time,LED1_1_Status,LED1_2_Status);//Display_Time=the time displayed by the digital tube, LED1_1_Status=the left indicator light displays the status, LED1_2_Status=the right two indicator lights display the status (1=red dot On; 2=yellow on; 3=green on; all other values ​​are off) RGY_Control_2(Display_Time,LED2_1_Status,LED2_2_Status); The function is the same as the above function. The use of two signal lights in the design is equivalent to copying it.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-25 11:30:26

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号