Shake LED Stick

Here I will show you how to make 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.

1. Prepare

Freaduino Micro MB_MIRCO Vibrating Sensor LED Perforated Circuit Board

2. Make

2.1 Cut perforated circuit board into halves

2.2 Connect the two pieces of boards

2.3 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”:

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:

  1. Improvement

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

3.1 Make motor paste on perforated circuit board

To know more, please visit