supremeOne

mini small light cube 8*8*8 homemade 0805led patch cube

 
Overview

Small light cube. Use 0805led patch welding. The number of light cube LEDs is 8*8*8. The code is written in C language and the special effects are written by myself. The LED lamp uses the stc89c516 chip, runs the crystal oscillator at 24MHz, and the speed is set to double speed mode. It also comes with esp32, which is used to expand other devices and wireless connection light chips, etc. esp32 is connected to eeprom and sht20. The communication between esp32 and stc chip uses the pin header to connect Dupont line scheme, but the relevant code test has not been done yet.

 

An open source small light cube project, completely developed by myself (with shortcomings). The finished size of the light cube welding is 55*55*70, USB powered, and an automatic downloader is required to download the program.

 

There is no guarantee that all report components are completely correct. I soldered them myself and they still work.

 

Program entrance: Program Duck

 

1. Circuit:

 

 The corresponding circuit schematic diagram and corresponding pcb. I put it together. If you want to develop it yourself, be careful not to mix it up.

H0kvvS5PiSuq5JvuOICa4w3xVIJYasfMCC6MWYRl.png

 

A tool floor that I use to prevent finished parts from flying; light cube tools, newbies may need more, to fix 0805led lights.

f1BD2GzUSCmT1hZkJ3jhSBUQLr2baSc0ZU9ihC5F.png

 

Welded light cube esp board

I2h2g6h0vkhIzIdaPh4UX5Sxcrof9DKzFPXnjyID.png

 

 

light cube led board 

jsR3h7lZaUfy3U8so1vY5eWHc8DvTZgItIh4QfGu.png

 

The white board is the tool base and the green board is the light cube tool. Now it’s time to glue the green board to the white board to avoid scratching and making a mess.

QbmI1urnRHLx82L4TZHeONh27PEd738ZdBInnn2v.png

 

To make a light cube, you need a light cube LED board, a light cube chip board, a tool base plate, and a light cube tool. You need to buy all four boards .

 

2 welding

 

The motherboard is soldered quickly.

NucRLsyQmRig0Ksa8lqX2sponXhVXdZoCSLXEHsM.png

 

Complete the welding of the light cube LED board and the light cube esp board. The crystal oscillator uses 24M, and the stc chip uses stc89c516. This memory is large and requires downloading more than ten kilobytes of code.

After the board is welded, the next step is to weld the light cube LED three-dimensional lattice.

 

Get your LED and light cube tools ready. Use double-sided tape to stick the light cube tool to the tool base, being careful not to stick the tape near the hole. (Today I will make a square full of red LEDs)

EtWw6ZnLgGlanT2jXy8giZFo09E1eaMp8CtevbXr.png

 

Use tweezers to insert the 0805 LED into the mobile phone. The green dot on the LED should be facing inward. The angle and direction of all lights should be the same .

eNgBlxmBCXd34fJPpisPKtg7zWcOKdza69VvlQ87.png

Then stuffed, hahahahaha. Note that not all holes must be filled, they must be filled to the same size hole facade, be sure to find the hole you like. The fortress has 64 nicknames.

k1ujaUA6C6shiLgFzaTMsguoHNknhasdGKivw2YB.png

 

After stuffing, find 8 wires.

2OJFiRRow5QZJvbFm4RHSqesRT8zfRs8Wc8giMZC.png

The iron wire is 0.3mm silver. Easy to weld and the size is just right. Buy a roll and straighten it yourself by hand. Hahahahaha

mL6PO6mA8HrpLGLmpeY3Ln8tGX4m8YlQGw77nLjI.png

 

Weld the wire on. You can see how I welded it on the video screen. I need to weld 8 pieces. The craftsmanship still requires practice before you can weld it. Patience is also required. Take your time the first time.

6SxteoirnHqID8QB3HnYhhYBwjlbs3FFOezgo3OW.png

 

When welding, you need to pay attention to the fact that the wire below the LED leaks a little, probably at least 6mm, because it needs to be inserted into the LED board. After welding the wire, take out the LED. Therefore, try to do it in one go when welding, otherwise a lot of rosin will be left, which will make it impossible to pull it out. This is also so that the tool with this hole can be used multiple times. This is a green board. You can think of a way to make it yourself. It seems that what I made is a bit long.

DPaRn7bL8w7FqNntaudbsds519IJ1ztrezXTv7Bi.png

 

After taking it out, prepare 8 wires. You can also prepare more wire. You need 8*8 + 8*8 + 8*2 wire, about 8 cm in length. Then use the two long molds to fix each lamp like this, ready for the next step of welding.

bT1gMz2LVklna1pjpGaVKM1yxoqgkA8STkn3zlsy.png

 

Then weld the wire on, like this. When welding, if you find that the LED is crooked, you can straighten it a little. Use the hole on the green board below to roughly position it. You can watch the video on how to weld.

aNzZDeCgvhjJmyA7Q3vaqFOAZfPpWvGV70qr7zj8.png

 

Take it off after welding and that's it.

2RDPLCq4QSGEfjjPtx4CJyn6wl3CmrOMlA2m7I3O.png

Trim the wire. You need to leave a little length of wire inside the red circle. You can refer to mine, how to cut it as it looks good. The long wire is soldered to the circuit board, so it is recommended to leave 6mm. After welding, the entire LED is on a flat surface. If yours is a little crooked, you can adjust it here.

xiWnElsxGgaMGlLRITpwcfy6cb1p68jvyps1wQgj.png

 

After soldering, test whether the LEDs are all on. Be sure to pay attention to the voltage, otherwise the LED will be burned. The voltage of red LED and yellow LED is generally 2.2v, and the voltage of green LED, blue LED and white LED is 3v.

If it is burned out, or the LED is attached backwards during testing, you need to remove the broken one and solder a new one. There is a test LED video screen

9mdMfxI5P6Sb9wa2K83sBrZTJ2kJuAJt47qmIgIQ.png

 

Then put the LED weld bead on the board, paying attention to the direction. To straighten it out. After welding, you still need to wash it with board washing water. You can use a cotton swab dipped in some board washing water to wipe it clean. I wiped it 4 times. I need to wipe the bottom of the feet and the dirty LED. Now that we've started making a small light cube, let's make it cleaner and it will look better. (*^▽^*). At the same time, all your repair methods on this LED end here, and the welding repairs further down will be more difficult.

9YEi937QJZab1p5p9dGHVQsbTWPiDYwMxS3IE3Wa.png

 

 

If I soldered the lamp for 7 hours, it would be the last layer. If you can hold on, finish welding. Don't forget to wipe it when it's dirty.

IBo2audhvvOgmTGPbcosAOzik6wdx6OYgWROV0Ug.png

 

After soldering the last layer, connect the negative electrodes of each layer together. Be careful not to connect to the vertical wire. The front part of the picture is welded, and then the back part is also welded, for the sake of symmetry and good appearance.

XAxfo9J9PTdHaBwIn6B6U80T8ez3TcSOqTv6D5wo.png

Trim it after welding. Then use a thin enameled wire to connect to the negative electrode of the corresponding layer. The round pad circled in yellow is the first layer F1. When soldering the negative electrode, be careful not to burn the LED.

RraHAj1QBDNcrSU7XJDFXGAl0tDGmAXTegMrzjB4.png

 

After soldering, download the code for testing. Don't get excited, this is very fragile.

dyCDXJw930mFN9kraA9Z9H1XZpj8Uy5ANhxuXphU.png

 

Use the serial port automatic downloader to download the code of the stc chip to the chip. For convenience you can just use the code for the breathing light. The code is in the link at the top (as for how to download the chip, you need to find help yourself. If you don’t understand, it is recommended to ask a teacher for help.)

jgVZpDpxi1upmDoSfJYYfmPh6tI2ESZkluRRepiT.png

The stc chip download uses this serial port. The one above is for esp32 download.

xSosNcWcONoECQyT0G4qOqg1MccITS52BsLxWN4F.png

 

Finally, check whether the LED looks good. After that, prepare a 55*55*55mm regular 5-sided cube of acrylic. The acrylic should be 2mm thick and highly transparent.

2xc4CNrEV7Vwmb6yQE3zmWuQR8PX8C06xJQv6Ksm.png

 

Use acrylic glue to stick the acrylic, do not use other glues, and remove the protective film where it needs to be glued. This is a five-sided cube and cannot be made into a six-sided cube.

R5YaKfDbZQSfEDYDW2zF7zoNFxuDy2GaYJiFrz98.png

 

You can use non-whitening glue to stick the acrylic to the light cube, it must be non-whitening. You can also use highly transparent transparent tape to wrap a circle directly and fix it. Whether it sticks well or not, I can only rely on my craftsmanship.

6MVtnNjtu1JWIpvenPB71xhQmCIIR3q17p4YJ2kE.png

 

I attached it with glue. Remove the protective film. I bought 20 rolls of tape but didn't use it.

xVRDCZE3we3LgAEJrUPS5CwQnVEH0edrLVAP5Yv5.png

 

Rufiis7uYKHyg3DFvhJ4LHrYVa1gZfYAyC23OdPQ.png

 

Welcome to enjoy the video. There is no editing on the video screen, and the sound is the singing of Tmall Elf.

 

code

At present, there is only the test program for the light cube, which is the code of stc89c5. More functional codes have not been written yet.

Small light cube code

It probably has this function.1mN1VhgZeOCuPcnCSWjncRfJo722vHt10cGEnrET.png

 

The configuration of keil is like this

xaIfYDyfKaFttWhFTzsTCojvK66rqVdnRe3D8lWv.png

 

Click compile85FR3dWDNow4FmtMh26hMdnvWN0S5530ZDsVr7Hz.png

Generate HEX file. Or use it directly:

3dwZPBTw6gHhIJM1Bleuv4xstr8JASToh2NGL7Lj.png

 

Find the microcontroller model number. Click to open the program file and select mian.hex

XmG9TeGy5w1qooKiSIBeryaY5UJtYaVx50l4lWvy.png

I chose double speed mode to download to the microcontroller. Watch the video for the effect after downloading.

 

 

Special components purchase address:

Pin

mother seat

0805led is a nicer color

0.3mm iron wire silver gray

Buy stc89c516 chip

74hc573 narrow body

Wide body uln2803

Non-whitening glue

 

Find a manufacturer to customize the acrylic. The esp32 is not necessary. Other components are easy to buy. Just look at the catalog.

 

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-05 07:39:12

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号