Production of Light Cube
by shanhe12138 in Circuits > Electronics
409 Views, 1 Favorites, 0 Comments
Production of Light Cube
1.The basic principle of the light cube
Utilizing the persistence effect of the human eye, and using a single-chip computer to control the LED lamp to flash rapidly, a complete pattern is displayed!
Using Tools and Materials
(1) Tools: 1. Welding gun 2. Wire stripper 3. Saw 4. Steel ruler 5. Electric drill 6. Ammeter 7. Tweezer 8. Hot melt glue gun
(2) Materials used: 1. Single-chip X1 2. Minimal system X1 (with write function, I do n’t have this, I should have an experiment board) 3. 74hc136X9 4, 74hc573X1 5. LED lights X516 (color does not matter) 6, multiple plugs, multiple pins (at least two rows of plugs, 64 points for the chassis) 7, experimental board (see the size to buy, enough is enough) 8, heat-shrinkable tube (no need Too much, just enough) 9, wire (this is a lot, look at it) 10, 20-pin socket 1, 16-pin socket 9
Principles of Electronic Components
1, 74hc138: The function is to use a three-digit binary number to output an eight-digit binary number with only one bit being zero.
2, 74hc573: Latch, what function is useless in this time, mainly used for current amplification, OE, GNG direct ground, Vcc, LE directly connected to the power.
Electric Circuit
It should be an 8X8X8 three-dimensional structure. With a three-axis coordinate system, a single light can be controlled separately.
74hc573 (Y) controls Y-axis 74hc138 (Z) controls Z-axis 74hc138 (X1 ~ X8) controls X-axis
Making Positioning Plates
The positioning plate is made. The interval of the square shape is 20mm. There are 64 points in 8 rows and 8 columns.
Welding
Use a positioning plate to weld one row of cables, one row of eight, and the positive and negative necklaces to be welded, with a distance of 20 mm in the middle.
After the 64 cables are welded, use 8 single strips to form a surface. At this time, the negative electrode is connected to the negative electrode, and the distance between each strip is 20mm. Adjust the pins by the way when welding, and do not short circuit. A total of 8 sides.
Welding Control Circuit
Instead of soldering the chip directly to the experimental board, solder the socket first, and then insert the chip in, so that the chip will not burn out.
74hc138 (X1 ~ X8) are soldered to a block that connects the Vcc and E3 of these 8 chips together in series for input voltage. GND and E2 are connected together in series and directly connected to ground, and then A, B, and C are connected in series and connected separately. The P1.0 port, P1.1 port, and P1.2 port of the single-chip microcomputer, Y0 ~ Y7 are respectively led out to the front. Each port is individually welded instead of connected in series. It is used to connect 64 points on the base, and E1 is separated from the front. Draw out a pin for connecting 74Hc138 (Z) (Y0 ~ Y7). After the welding is completed, use a multimeter to check whether there is any false welding or welding dislocation.
Stariver Group provides me PCB production and assembly.
Assembly
74hc138 (X1 ~ X8) are soldered to a block that connects the Vcc and E3 of these 8 chips in series to the input voltage. GND and E2 are connected together in series and directly connected to the ground. The P1.0 port, P1.1 port, and P1.2 port of the single-chip microcomputer, Y0 ~ Y7 are respectively led out to the front. Each port is individually welded instead of connected in series. It is used to connect 64 points on the base. Lead-out a pin for connecting 74Hc138 (Z) (Y0 ~ Y7)
74hc138 (Z) A, B, C ports are respectively connected to the P1.3, P1.4 and P1.2 ports of the microcontroller The 74hc73 (Y) D0 ~ D7 eight ports are connected to the eight ports of P0 of the microcontroller. OE and GNG are directly connected to the ground, and Vcc and LE are directly connected to the power supply. The remaining O0 ~ O7 ports are connected to each layer of the Y-axis respectively. It is directly installed completely.