Keep Running: Light Cube on a Breadboard

Publisher:SereneWandererLatest update time:2015-07-03 Source: 51hei Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
 

       The plastic board I ordered online has not arrived yet, and I have not started to make the 8X8X8 light cube I want to make. One reason is that I don’t have enough materials, and more importantly, I always want to implement it when the plan is thorough and perfect. But I have not been idle. I made a 4X4X4 light cube prototype in the past few days, but I didn’t solder it to the board because there are many solutions that need to be tested and verified. I built it directly on two breadboards and two foam boards.

       This time the LED lights can finally flash. They are controlled by a 51 single-chip microcomputer, which is okay. However, I don’t plan to use 51 for the final 8X8X8 work. I plan to replace it with AVR. There are two main considerations. One is that AVR can support serial port communication between master and slave devices, which is easy to expand. Secondly, the price is only a few dollars more expensive than 51, and it runs faster and has a larger programmable space. Then the light cube can display more patterns.
    At the beginning of building the circuit, it is natural to draw the circuit diagram first:     If you want to do your work well, you must first sharpen your tools: electric drill, steel ruler, oil pen, needle-nosed pliers of different sizes... [page]    In order to facilitate the welding of the LED cube, you need to make a welding model to fix the LED tube, as shown in the figure, draw a grid on the discarded wooden board:    drilling:     arranging the light-emitting diodes, welding: the time to test patience has come:          the last 4X4X4 light cube was successfully built: connecting wires and building circuits: using discarded foam boards to fix the light cube and the messy wiring effect is amazing:    the main circuit part of the light cube: control and drive unit: full of wires, so scary,  but the final version will definitely not have these messy things, the final version should be a simple, concise, and perfect work of art  .     I wrote a simple program on the computer to cycle the lights and compiled it into the 51 single-chip microcomputer. This 4X4X4 light cube finally began to flash happily: but I haven't written a specific graphics library yet. This temporary guy is just a test field for myself. I have some uncertain ideas and I will implement them on it:
  



  




   

 

   





   


 
       






Reference address:Keep Running: Light Cube on a Breadboard

Previous article:It is also possible to use C language to design the game of greedy snake in single chip microcomputer
Next article:STC89C52 MCU drives CC1101 wireless module receiving C language program

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号