3011 views|0 replies

1379

Posts

0

Resources
The OP
 

Flowing lights [Copy link]

It is a circuit board diagram, single-sided board, and the red line represents the jumper. There is no schematic diagram, so let me explain it briefly. A17 is an 8-pin pin, which can be used to connect to the P1 port of the microcontroller. Remember the board I uploaded? There is also an 8-pin socket position before the P1 port connects to the LED. Install it and connect it with an 8-pin flat cable. Remember, the two boards need to use one power supply, that is, they need to share the ground. For the devices on the board, if an external 5V power supply is used, then D1, D2, D3, D4 and C1, C2, C3, C4, C5, C6 and T9 (7805), A18 (heat sink) do not need to be installed. If an external AC power supply is used, install them. A26 is a socket that can be used to power the microcontroller board.

IC1 to IC8 use AC optocouplers, model MOC3020. Note that MOC3020 is a 6-pin package. Since no 6-pin sockets were found, all 8-pin sockets were used. The top two are not used when plugging, that is, they are installed against the bottom of the socket. R9-R16 are current limiting resistors, 470Ω, 1/4W, metal film. R1-R8 are current limiting resistors, 330Ω, 1/2W, metal film. T1-T8 are thyristors (silicon controlled rectifiers), model BTA06-800C. It is better to use ST, 6 amps, 800V voltage, and with a suitable heat sink, it should be no problem to carry a load within 500W. A1-A8 are the positions of the corresponding heat sinks. The heat sink I use is relatively small, because it only has a light and is bright in the gap, so it is not a big problem. P1-P5 are terminal blocks. Buy according to your own conditions-there is no need for Phoenix, haha.

  Okay, everything is installed, OK, turn on the power, be careful, remind everyone again, be careful of electric shock. One end of the power supply is connected to P2, and the other end is connected to P3-P5, and one end of the load is connected to one of P3-P5 (they are all connected), and the other end is connected to one of the eight output terminals of P1.

  As for the software, I wrote it myself. It was originally designed to light up the LED, but now it is changed to light up the light bulb, that's all.

  With such a thing, you can actually connect it to a PC and let the PC do running lights or more things. By the way, I uploaded a file for everyone to play with. I used C++ BUILD to compile it. It is only worth playing with, and has no use. It is used to control the computer's printing interface and output high or low levels. You can go to a computer mall and buy a parallel port cable (not a printing cable, but the kind that can be connected to the computer at both ends), remove one end, connect its eight data lines to the eight input terminals of A17, and then connect the ground wire, and you can demonstrate it. Don't worry, the board is optically isolated and will not cause damage to the computer.

This post is from MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list