Circuit diagram of left and right movement of advertising light based on single chip microcomputer

Publisher:czc天天Latest update time:2014-02-25 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

  To move a single light left and right, the hardware circuit is shown in the figure. The eight light-emitting diodes L1 - L8 are respectively connected to the P1.0 - P1.7 interfaces of the single-chip computer. When the output is "0", the light-emitting diode lights up. At the beginning, P1.0 → P1.1 → P1.2 → P1.3 →┅→ P1.7 → P1.6 →┅→ P1.0 lights up, and the cycle repeats.

  Use an 8-core cable to connect P1.0 - P1.7 in the "MCU System" area to the L1 - L8 ports in the "Eight-way LED Indicator Module" area. The requirements are: P1.0 corresponds to L1, P1.1 corresponds to L2, ... ... P1.7 corresponds to L8.


Figure 1. Circuit diagram of left and right movement of advertising light based on single chip microcomputer
Reference address:Circuit diagram of left and right movement of advertising light based on single chip microcomputer

Previous article:Schematic diagram of multi-way switch status display circuit based on C51 single chip microcomputer
Next article:Design of Precise Signal Simulation Circuit Based on Single Chip Microcomputer C8051F410

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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号