Bike Wheel Pov Display: Constructional Project
Bike Wheel Pov Display: Constructional Project
UÊ-
Ê Õ««ÀÌÊvÀÊVÀVÕÌÊÃ
iÀ>Ê
«À}À>}Ê
-*®Ê
UÊÊÎÓÊ
ÃÊÊi>V
ÊÃ`i
ÊvÊi>V
Ê*
Ê
L>À`ÊÈ{Ê
ÃÊ«iÀÊL
>À`]Ê£ÓÊ
ÃÊÌÌ>®Ê
UÊÊë>ÞÃÊ>ÊiLÞ
ÌiÊ>}iÊ
ÎÓÊ
ÃÊÝÊÓxÈÊÀ>`>ʼÀ
>ÃÌiÀÊiý®Ê
UÊ Ê Ê
ÃÊV>ÊLiÊ`ÀÛi
ÊÜÌ
ÊÓäÊ
>ÌÊ£ää¯Ê`ÕÌÞÊ`iwÊ
ÌiÞ°Ê/
ÃÊ
«À`ÕViÃÊ>ÊÛiÀÞÊLÀ}
ÌÊ>}i°
UÊÊ ÀÜ>ÀiÊÃ
ÕÌÃÊÌ
iÊV
ÀVÕÌÊ`ÜÊ
>ÕÌ>ÌV>ÞÊÜ
iÊÌ
iÊÛÌ>}iÊ
}iÌÃÊÌÊÜ]ÊÌÊ«ÀiÛi
ÌÊ`>>}iÊ
ÌÊÀiV
>À}i>LiÊL>ÌÌi
ÀÞÊ«>VÃ
UÊÊ/
iÊ*
ÊL>À`ÃÊwÊÌÊÓ
ÈV
ÊLiÊ
Ü
iiÃÊÀÊ>À}iÀ°
Persistence of vision
You probably don’t realise it, but you use POV every
day – when you watch TV. Movies also take advantage of
this phenomenon.
The TV and movie picture is not continuous, – rather
(in the case of TV), 25 individual pictures are displayed
every second. But your eyes and brain cannot follow the
25 individual frames of picture per second – instead, they
If you slowed down those frames to, say, 10 per second,
then you would be able to see the period between each
"
movies where the hero moves like a Thunderbirds puppet.
Let’s take this one step further. Say you had a moving light
– we’ll make it an LED because they can be turned on and
#" $
$
%
$
&
'*$
$
+
3*$
$
$
%
light – even though your brain knows full well that it is
$
That’s persistence of vision, and this is the basic theory be-
4678
$ #
for your brain to process, so they appear to be permanently on. Talk about a WOW! factor: this three-high static display uses
9
678
:;<
different coloured LEDs in each wheel to reveal three different
wheel, so they follow a circular path as the wheel rotates.
By using some clever circuitry to switch the LEDs on and third wheels are driven by friction between the tyres.
and off at particular moments, a pattern or picture can be
created – in fact, the display is almost unlimited. It can be
anything from geometric shapes to text, cartoon characters A Hall effect sensor measures the rotational speed of the
and even very high contrast pictures (see examples below).
<
This sensor sends speed pulses to a microcontroller, which
In a nutshell then turns the individual LEDs on and off in such a way
The display consists of three PC boards, each with a
$
row of 32 LEDs on each side (a total of 64 LEDs). These
boards are mounted radially in/on the spokes of a push- Circuit description
bike wheel and each has a battery pack mounted near The complete circuit for one POV display module is shown
the wheel’s hub. in Fig.1. Three such modules are required, arranged so that
Here are just a few of the images generated by the author: (from left) pagan star, ET, invisible unicorn, Saturn and evolution!
10 F GN D
100n F
16V 24 LED1 LED2 24 LED3 3 LED3 4
Vdd Vdd
5 A A 5 A A
O0 O0
K K K K
6 A A 6 A A
O1 O1
K K K K
7 A A 7 A A
O2 O2
K K K K PO WE R
8 A A 8 A A S1
10k O3 O3
K K K K
9 A A 9 A A
O4 O4
14 K K K K
Vdd
10 A A 10 A A
O5 O5
K K K K
10k
2 11 A A 11 A A
IC SP RA3 O6 O6
K K K K
SO CK ET
CO N1 12 A A 12 A A
Constructional Project
4 12 O7 O7
PG C IC 2 K K IC 3 K K
3 13 STP16C 596 STP16C 596
PG D 13 A A 13 A A
2 4 O8 O8
MC LR K K K K
14 A A 14 A A
O9 O9
1 15 K K K K
2 2
RA6 SDI SDI 7. 2–8. 4V *
IC 1
22 15 A A 22 15 A A Ni MH
PIC16F 628A SDO O1 0 SDO O1 0
16 3 K K 3 K K BATTERY
RA7 CLK CLK
11 4 16 A A 4 16 A A
RB5 LE O1 1 LE O1 1
K K K K * DO NO T
USE RED
23 17 A A 23 17 A A
1 Rext O1 2 Rext O1 2 LEDS WI TH
K K K K
Vc c 8. 4V
18 A A 18 A A BATTERY
1k O1 3 1k O1 3
HS1 K K K K
DN 6851
3 6
OU T RB0 21 19 A A 21 19 A A
OE O1 4 OE O1 4
(HALL 10k K K K K
SENS OR )
20 A A 20 A A
O1 5 O1 5
GN D Vss GN D K K GN D K K
2 5 1 LED3 1 LED3 2 1 LED6 3 LED6 4
0V 0V
'\*
In fact, after the initial start-up routine, 7
<-
G
<
ecution runs inside an interrupt routine. X
ZX-
-
-
*~**
*~
678
^
&;'&
:
-
G
&
In control
4X*&;'
<_****
9
678
9
9
678
:&;'QQ\Rj
&;'&
<
-
8
X
-
^9:'Q;3_Q
ZX
&;\&;`
-
678
<
678
&
678
<
- G
[\]
N^
Software
'Q 6+\_`'jz3
9
678
&;\
[R6*3&
EPE6
&;`
'Q
3]
access via www.epemag.com and also
-
Q]9 -
& :
"
9
^9:'Q;3_Q
:
:&;
+
7
-
"
<
contact details.
Four lines are used to control the
678
^8& j
$
Construction
;6
67
^
9
^8{ :{]
X
G
:{]8
7
[''
-
EPE PCB Service9
-
place and each pulse of the latch en- tioned earlier.
678
\
$
QBasic programs
{
&
j
:;
Z
#
'*:
9
':
'**'*PF capacitors. Of these,
:{]^6{:7Xj^
-
'*PF radial electrolytic capaci-
ɀ {
9
N
:;X
ɀ {
-
_*
N
to enter their respective holes in the
"
&;
Fig.1 (left): one POV display module –
4796G X<<<<<<<<}
-
three are required for the whole project.
47|'
With 64 LEDs per module it looks
:{]
{
daunting, but there are only 12 other
9
<
this project is solderi
components in each!
`\
HS1
(FAC E
DO WN )
(BEN D
DO WN 90 o)
CO N1
RE G
1
CLK
IC 1 PIC16F 628A
IC 3 STP16C 596
DAT
IC 2 STP 16C 596
100n F
10k
1
MC LR
UN DER SI DE &
TO P OF BO ARD &
SO LDERED UN DER
GN D
LEDS MO UN TED ON
LEDS MO UN TED ON
SO LDERED ON TO P
SO LDER-THROU GH LINK S
INNE R CO LUMN OF
OU TER CO LUMN OF
1k
GN
10 F
1k
+V
RED DO TS IN DICATE VIAS OR
10k
D
GN
D
10k
"
#
$
%
#
optional extra! Seriously, the boards should be coated with a PC board (ie, solder-through) lacquer immediately they are made to prevent this from happening –
&
&'
*
#+
#
0
'
&
FIRMWARE
Ian Paterson’s firmware for this project – 628h.
asm, povslope.bas and povimage.bas can
be down-loaded from his website at www.
ianpaterson.org/projects or from the EPE
website, www.epemag.com
&
Parts List –
POV Display *
9 10k:
image. The process is as follows: will know the microcontroller is do-
6 1k:
ɀ Create a 700×700 pixel, eight-bits ing its job.
Alternative Parts per pixel image and save it with an &
STMicroelectronics STP16C596
over and try again. The faster you wave
LED driver alternatives: ɀ Edit POVIMAGE.BAS so that it ref- the magnet in front of the sensor, the
Allegro A6276EA erences the new image and run the
678 $ &
Maxim MAX6969ANG program. It will save its output with fails to illuminate the LEDs, the most
Maxim MAX6971ANG a .ASM extension. likely causes are a defective Hall effect
ɀ Copy and paste the .ASM output into sensor or a bad program.
Panasonic DN6851 Hall effect
:{]
Q\R
sensor alternatives: ɀ ;
7
Batteries
Melexis US5881EUA program the POV board via the four- The battery voltage needs to be
Allegro A1101LUA-T pin in-circuit serial programming high enough to allow the regulator
Allegro A1103LUA-T &;^:
9
to provide 5V for the microcontroller
* This list is for all three modules does not supply power to the board and also just high enough to allow the
during programming, so you must 678
\*j
supply power from a battery pack or through each LED pair. Try using a
an external supply. [\]
678
low forward voltage (such as red) To mount the PC boards in the Mounting the magnet
and 8.4V for other colours (such as wheel, a protective backing was made To trigger the Hall effect sensors, the
white and blue). Be sure not to use a out of 3mm sintra (often used as a rigid author used a stack of four magnets
battery voltage that’s more than about backing onto which printed material from an old 3.5-inch hard drive.
2V higher than twice the forward LED can be mounted), one side was covered The stack of magnets were placed
voltage, otherwise the LED drivers with anti-static plastic (cut from a on the inside of one of the bike forks,
may be damaged. motherboard bag), and was attached to immediately above the region under
In the prototype, battery packs were the solder side of the PC boards using which the Hall effect sensor passed,
made up from AA NiMH cells. I used plastic cable ties. then secured in place with a strip of
700mAh cells, but with 2500mAh now We are not sure if the anti-static tape.
available, 1000mAh and even 1500mAh
Other suitable magnets would be one
are becoming quite cheap. The larger used as a precaution in case a static or more of the rare-earth or so-called
the capacity, the longer your display charge builds up on the sintra as the ‘super magnets’ which are enormously
will last. wheel spins. powerful for their size. EPE
You can use six cells (for 7.2V) or, as At one end of the sintra, a crescent-
long as you don’t use red LEDs, seven shaped notch was cut to match the More information?
cells (8.4V) in your battery packs – radius of the wheel front hub shaft. 9
$
it’s more a case of getting a suitable On the other end, a notch for the spoke
holder. All three packs should be the nipple was also cut. thor’s website, just set you browser to:
same weight to avoid unbalancing All that is needed to secure a PC www.ianpaterson.org/projects
the wheel. board to the wheel is two cable ties
An alternative, albeit a bit heavier, at the spoke nipple end – the other
is to buy 7.2V or 8.4V battery packs end stays put because the crescent- Reproduced by arrangement
with SILICON CHIP
intended for radio controlled models. shaped notch engages around the magazine 2009.
High power (3500mAh+ ) ones are ex- wheel hub. www.siliconchip.com.au
To keep the hub end of the boards
capacity types on eBay for less than in place, two short sections of plastic
£10. Just make sure you mount them hose were used. These were slit down
$ one side, wrapped around the hub shaft
and attached with cable ties. These act
Wheel mounting as spacers that prevent the boards from
The accompanying photo shows the sliding laterally along the length of the
position of the PC boards on the bike hub shaft.
wheel. It’s important to note that the N
\Q
inner edge of the PC board sits right or larger wheel. Also, when using
up on the axle and that the whole three boards, it’s easier to mount
thing is centred between the spokes, them in a wheel with a number of
so that the board is right in the centre spokes that’s divisible by three (eg,
of the wheel. `Q
Main Features:
PLEASE READ HT-MC-02 GETTING STARTED MANUAL BEFORE OPERATE THIS BOARD
INSTALL ACROBAT READER (AcrobatReader705 Application) TO OPEN AND PRINT ALL DOCUMENTS
http://www.handsontec.com
HandsOn Technology is a manufacturer of high
quality educational and professional electronics
kits and modules, uController
development/evaluation boards. Inside you will
find Electronic Kits and fully assembled and
tested Modules for all skill levels. Please check
back with us regularly as we will be adding many
new kits and products to the site in the near
future.
Do you want to stay up to date with electronics
and computer technology? Always looking for
useful hints, tips and interesting offers?
Inspiration and goals...
HandsOn Technology provides a multimedia and
interactive platform for everyone interested in
electronics. From beginner to diehard, from student to
lecturer... Information, education, inspiration and
entertainment. Analog and digital; practical and
theoretical; software and hardware...
HandsOn Technology provides Designs, ideas and
solutions for today's engineers and electronics
hobbyists.
http://www.handsontec.com