Shake LED Stick

Shake LED Stick

The principle of shake LED stick is based on that people have persistence of visual senses. When you light up a column LED at different moments in different ways, shake it, and a very beautiful picture will display before your eyes. It not only can display pictures but also can display characters, both static and dynamic. The pictures will be very nice. We can equip this kind of LED on our bicycles and fans, and other things. It’s good choice for DIY. http://youtu.be/NEmaOzHT80I

1. Prepare

shake led stick prepare, 2.1	Freaduino Micro MB_MIRCO, 2.2	Vibrating Sensor, 2.3	LED, 2.4	Perforated Circuit Board 

1.1  Freaduino Micro MB_MIRCO 
1.2  Vibrating Sensor 
1.3  LED
1.4  Perforated Circuit Board  

 

2. Make

2.1 Cut perforated circuit board into halves

perforated circuit board 

2.2 Connect the two pieces of boards

connect two pieces of boards 

2.3 Solder LED, vibrating sensor

  Solder LED, Vibrating sensor Solder LED, Vibrating sensor   

2.4 Program analysis

2.4.1 You must get data of the characters that you want to display, and data mode is column by column, for example “12”: Program analysis, data mode, column by column

 Column by column data mode is: first, get the first column data, then get the second data, and by this analogy. The LEDs have a common anode, so I need to invert the data. You can get the character data from the below URL, as displayed in the above picture: 2.4.2 Data Update When you are shaking LED stick, vibrating switch will switch on and off and MCU can catch this variation level. We can enter interruption function and update data. So why do we need this vibrating switch? Because we can’t update at any time, we need a reference point to make sure that the position of picture will not change. First, we set the first column data, and delay, then set the second column data, and delay, by this analogy, you will see a picture if the delay time is too short. The performance is as below: Data Update, shaking LED stick, vibrating switch 

3. Improvement

It is so weary to use our hands, why not use a motor? Now, let’s see my improvement, and you need:

circuit board, motors  

3.1 Make motor paste on perforated circuit board

 perforated circuit board,  motor, paste 

3.2 Use infrared sensor instead of vibrating sensor, and infrared sensor’s position must be situated suitably. My method is: equip infrared sensor near rotating shaft, because when infrared sensor detect motor it will output a signal, vice versa, then MCU can update data

 infrared sensor, rotating shaft, MCU update data 

3.3 Due to the circuit board rotates as the motor runs, we need to install MCU and the battery on rotary stick, and make it balance

circuit board, motor, MCU, battery  

This is to use infrared sensor to get a reference, and update data column by column. You can use your imagination, and display more beautiful pictures, next is my rotary clock, expect your share.

led stick number display   led stick number display

I have some other ideas: I want to display an expression or a small key, or an animal. It will be amazing if the animal can move and run. Do you have better idea? Download codes here: shake LED stick