Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Completed

PRO MakerLab Small Light Cube

Small Light Cube

Project tags

License

GPL 3.0

License: GPL 3.0

Mode:

Mode

Editors' pick

Editors' pick

  • 27
  • 0
  • 0
Update time: 2024-10-16 08:57:14
Creation time: 2024-10-15 06:43:09
Description

Description

Project Description:

1. Light cube made using esp32 and STC51 chips.

2. Use 0805 SMD lamp beads and manually weld them into a light cube.

3. Finished product appearance size: 56*56*78mm.

4. The hardware circuit and source code are open source, and the host computer is open source (only optical cube)

5. You can connect to wifi and serial port to control the light cube.

6. Can be used independently or connected to a host computer.

7. The host computer is developed using unity3D, which has strong scalability. The host computer supports win computer terminal and mobile Android terminal.

8, support the development of Light Cube SDK: arduino esp32、unity3D packet、python、Android studio、C# winform、Do-It-Yourself.

9. You won't break up if you give it to your girlfriend.

 

Project Properties:

The Little Light Cube and related materials are all personal original works and are free and open source.

 

Project Progress:

Hardware complete. Software can develop more functions.

 

Design Information:

Link: https://pan.baidu.com/s/1S9MsWZ7Lz66SiAS-eFISFQ?pwd=2twt

Pwd:2twt 

All the data is about 6G and is placed on the network disk. We are still collecting questions for developer testing, and the information will be updated from time to time.

 

Function Introduction:

Here we only introduce the functions that Xiaoxiao Light Cube has implemented. For circuit welding, code uploading, use of the light cube, use of the host computer, etc., please go to the design materials to find relevant documents.

1. The tool set for welding light cubes is relatively simple, and there is basically no need for complicated processes. Just spend money to buy equipment. Light Cube uses a USB port to upload codes to esp32 and 51, and uses a self-locking switch to switch the upload mode without cumbersome operations. The light cube is small in size and uses carbon steel wire to connect the lamp beads, which is not easily damaged. The light cube comes with its own battery and can be used independently of other devices.

光立方电路板

2. First upload the default demo code to ensure that the light cube can run. Next, we will introduce the operation of light cube.There are four touch buttons on the light cube chip board, namely switch, mode, effect, and custom.

光立方按钮

The function of the switch is to turn on and off the control of esp32. When turned on, esp32 is used to control the operating effect of the light cube. When turned off, esp32 will not send information to the 51 chip.

光立方打开

The mode button is used to switch between several modes, including audio mode, animation mode, buzzer mode, temperature and humidity mode, and three-axis mode.

光立方模式

Effect switching effect in current mode.

光立方效果

Customize the custom functions in the code. The custom code is usually a light cube function written before and then pieced together to create the effect you want.

光立方自定义

3. The light cube can be controlled by a host computer. The host computer uses wifi control software developed by unity3D. The software supports win computers and Android phones.

光立方上位机unity

First open the software, find a way to find the light cube (there are tutorials in the host computer software), and finally enter the light cube laboratory. Using wsad to move the character, you can move around. There is a tutorial on how to operate the light cube.

光立方实验室场景

Light cube control, here you can control the body of the light cube object. Click on the little head to zoom in and out of the light cube, switch the arrangement of lights, hide and open circuit boards, acrylic, steel wires, etc.

光立方-光立方控制

Special effects control: Mainly controls the effects of light cube lights. Click on the special effects to enter the control interface. The special effects controls include: animation, music, wifi, customization.

光立方特效控制

Animation: Several demonstration animation buttons are reserved in the animation. Click on the corresponding animal, and the light cube will display the animation. Each animation is an animation that can be played infinitely.

Music: First find the music player (on the left), select your song to play it, and click the music button. Here you can display the FFT effect of the music, a cute animal, and a music effect. After clicking the animal, the effect will be The light cube jumps out.

光立方音乐播放器

光立方音乐

WIFI: To connect to the physical light cube here, you only need to change the IP address of the light cube, others are default. (The Light Cube wifi settings are modified in the Light Cube code) After clicking Connect, the computer and Light Cube can communicate. If the light cube is playing animation at this time, the physical light cube will also synchronize the animation content.

光立方wifi

There are also four buttons on wifi. These four buttons are equivalent to the four touch buttons of the light cube. The button control can be synchronized to the light cube. Don't press the synchronized three-axis function. The light cube will jump away as soon as you press it.

光立方按钮

Customize the light status used to control the light cube with the mouse. When the left mouse button slides the light, the light turns on. When the right mouse click slides the light, the light turns off.

光立方自定义

Color Here you can set the color of the light cube motherboard, as well as the color of each layer of light cube lamp beads.

光立方颜色

In the Light Cube laboratory, you can also see the Light Cube welding room and the Light Cube AR room.

光立方AR

The light cube welding room is mainly to show how the light cube is welded. Here you can also learn how to weld the light cube. The numbers on the table are the welding steps. There are too many things in the light cube welding room, which is a bit stuck.

光立方焊接室光立方焊接室顶面

Light Cube AR Room uses the floor of the light cube for AR recognition, so that you can have a virtual light cube appear on your computer in real life. The usage of this virtual light cube is the same as that of the host computer.

光立方ar测试

4. The computer-side speaker fft test controls the light cube, and the computer-side music player controls the light cube. These two programs are mainly used to display FFT effects. If you do not have high requirements for the software interface, you can use this software. The software is small, faster and more stable.

winform控制界面截图

5. The esp32 remote control board controls the light cube. The light cube can be connected to wifi and controlled using UDP. In order to control the specified device, the esp32 remote control board can also be used to control the light cube. It can be used as a remote control for the light cube and expand the wireless buttons of the light cube. Open source address: https://oshwhub.com/txdodo/xiao-xiao-guang-li-fang-de-yao-kong-qi

小小光立方遥控器

6. The android studio music player controls the light cube. Only the software's own music fft data can be used on the mobile phone. This software can be installed on an Android phone, and can play music from your phone, connect to the Light Cube using wifi or serial port, and perform audio-related control.

安卓开发光立方

7. Python controls the small light cube. The Little Light Cube is equivalent to a low-pixel 3D screen. If you want to implement more intelligent functions, the most convenient way is to use Python. Use your python to control the light cube, and the code is more convenient and concise to write.

python小小光立方

8. The host computer code is also open source. You can go to the Unity development market to find the light cube host computer package. To use the plug-in, you need to have a unity account. Pass it to this link, add the plug-in to your Assets, and then you can import it into your unity. https://assetstore.unity.com/packages/slug/271303

光立方开源unity

Welcome to copy...

 

Physical Display:

光立方1

光立方2

All demo videos can be viewed here.

[Open Source] Little Light Cube-Bilibili] https://b23.tv/Ka1G9oD

Designed by TXdodo (from OSHWHub)

Link:https://oshwhub.com/txdodo/little-light-cube

Design Drawing

Design Drawing

schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
Empty
Project Members

Project Members

Target complaint
Related Projects
Change a batch
Loading...

Comment

Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn