0% found this document useful (0 votes)
73 views10 pages

Bike Wheel Pov Display: Constructional Project

Uploaded by

Mauro Morandi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views10 pages

Bike Wheel Pov Display: Constructional Project

Uploaded by

Mauro Morandi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Constructional Project

UÊ-
Ê Õ««œÀÌÊvœÀʈ˜‡VˆÀVՈÌÊÃ
iÀˆ>Ê
«Àœ}À>““ˆ˜}Ê­
-*®Ê
UÊÊÎÓÊ Ãʜ˜Êi>V…ÊÈ`i
ʜvÊi>V…Ê*
Ê
Lœ>À`Ê­È{Ê ÃÊ«iÀÊLœ
>À`]Ê£™ÓÊ
 ÃÊ̜Ì>®Ê
UÊÊ ˆÃ«>ÞÃÊ>ʜ˜i‡ŽˆœLÞ
Ì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>LiÊL>ÌÌi
ÀÞÊ«>VŽÃ
UÊÊ/…iÊ*
ÊLœ>À`ÃÊwÊÌÊÓ
ȇˆ˜V…ÊLˆŽiÊ
܅iiÃʜÀʏ>À}iÀ°

BIKE WHEEL POV DISPLAY


This project uses POV to produce a spectacular glowing
display on a rotating pushbike wheel as you ride along.
So what is POV? It stands for ‘persistence of vision’.
It’s a term that’s applied to devices that rely on
the human eye’s tendency to ‘see’ an image
for a short time after it has disappeared.
Designed by Ian Paterson

24 Everyday Practical Electronics, June 2009


Constructional Project

H OW WOULD YOU LIKE to own the most talked-about


pushbike in the school/street/suburb. . . galaxy? Build
this POV display and you’ll be well on the way.
You really have to see it to believe it – and we’ve even
made it easy for you. As well as the images printed here,
there are several more you can view online at www.ianpa-
terson.org/projects
OK, you’ve now seen them and you’d have to agree that
they look pretty spectacular. You want to do the same for
your bike? Just make sure you keep it chained up, because
everyone will want it!

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!

Everyday Practical Electronics, June 2009 25


2
REG1 LM2931A Z-5
+5V +7. 2 – +8. 4V *
OU T IN

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

DN 6851 LM2931A Z-5 LEDS


1 CH AM FER
2 CO M K
BIKE WHEEL POV DISPLAY MODULE 3
IN OU T A

Everyday Practical Electronics, June 2009


Constructional Project

 
'\*



 In fact, after the initial start-up routine,  7    
  


  
 

 


 
  

 
 

<-    



 
G 

<


 ecution runs inside an interrupt routine. X
 

 ZX -
 
   
    -  

 



-



 

:;  Hall effect 


 4jG 
 9
 
  

9
 
  :;  
  G
 


8NQR3' [**~[** <

  
 <

 Q‚   
678`\ Hall effect sensor yet. Its purpose is to  
 <

 

 
 

 
j678

 







  *~**€ 
 
*~€


  

    678   
   
  
 ^   
   
 

  

 
    
  
 
  &;'&


 
 
 :    
   -


 


     
  
  
 
  G



 
 
 &   
  

  


 

 

In control  4X*&;'
< ‚_****

9
678 


  9   
  
     
 9 
678   
:&;'Q„Q\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
      
  
   
  "

„ \  ^


 
ɀ One to reset all counters and update
 
  
   
   

:; 
 

 

  




 
:{]^6{:7Xj^ 
   678

ƒ 





  
<

 
- 
 


 
ɀ {
   678

  
 
 



 


 :{]&+j|7Xj^

  N
<

 

&;

 

    
 
  € 


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!  
  

`\
 
    


Everyday Practical Electronics, June 2009 2


2
Constructional Project
A
K

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
'
&

Everyday Practical Electronics, June 2009


you don’t get lacquer in the two connectors.
Constructional Project

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

Because they are sensitive to both mechanical and


thermal stress, you must use great care when attaching
them to the circuit board. Their leads must be bent
down 90° towards the face which has a chamfered
edge on its top. This means that the face will actually

 
:;  



When bending the leads, you must hold the sensor
lead with needle-nose pliers between the plastic case
and the point at which the lead is being bent. This is
to prevent mechanical stress at the point where the
leads enter the sensor’s case.
When soldering, you must also use needle-nose
pliers as a heatsink to prevent damage from excessive
heat. Once the sensors have been successfully soldered
onto the board, there is little risk of further damage.

Soldering the LEDs


You have probably noticed that we have left the
LEDs until last. That’s because there are a lot of them
and they can also be a bit tricky to solder. There are
32 LEDs to be soldered to each side of the PC board.
N
  

 
   

  

678"

 $  

the LED next to the cathode (labelled ‘K’ on the circuit
diagram). Also, the anode (A) lead is usually longer.
On the top (component side) of the PC board, the
LEDs are arranged with their cathodes (K) oriented
towards CON1 (the 4-pin connector) while on the
bottom side, the reverse is true – see Fig.2.
The LEDs are controlled in pairs, one for each side
of the board. This ensures that your chosen POV
image can be viewed from both sides of the bike.
The LED pairs are connected in series with small
jumper wires (red dots on the component layout
diagram) through the PC board that serve the same
purpose as a PC board ‘via’ – they connect together
the copper tracks on both sides of the PC board
where required.
The biggest challenge in soldering these jumpers
is that the heat from your soldering iron will travel
along the wire and melt the connection on the other
side of the board. I found it helpful to use those ‘third
hand’ soldering aids with alligator clips to hold the
wire in place.
If you are able to obtain or make PC boards with
vias, then these jumpers are not necessary.
Finally, plug the three ICs into their sockets. Be
careful to line up the notch in the end of the IC with

Pictured here are the same PC boards shown opposite;


 

3

 
'
+

#

mounting on the wheel. Note the semi-circle notches



 





 
3





&



 


Everyday Practical Electronics, June 2009 2


Constructional Project

Parts List –
POV Display *

3 PC boards, each 50 x 245mm,


code 711, (available from the
EPE PCB Service as a set)
3 18-pin IC sockets
6 24-pin IC sockets
3 7.2V or 8.4V 700mAh (or
higher) battery packs (do not
use 8.4V with red LEDs) – see
text
3 4-pin PCB keyed header pin
strips (CON1)
3 3-pin PCB keyed header pin
strips
3 miniature On/Off slider switches
for battery packs
3 magnets – see text
Material for backing plates – see
text
Semiconductors
3 PIC16F628A microcontroller
programmed with 628h.hex
(IC1) In daylight, you can see the arrangement of the PC boards and batteries inside
 
'
#
 
 


+
&
578

&
 
 +


6 STP16C596 LED driver (IC2,


against the axle and are secured at the rim end via a couple of cable ties onto the
IC3) – see alternatives below spokes. It’s important to keep the battery packs (which ever form you use) close
3 DN6851 Hall effect sensors to the axle to prevent the wheel getting out of balance.
(HS1) – see alternatives below
3 LM2931AZ-5 low-dropout the notch in the end of the socket. A Testing
regulators (REG1) second check is a small paint dot or Test the operation of the POV board
192 high brightness LEDs indent beside pin 1 – you must make 

< 
 
& 
(LEDs 1 to 64) sure this goes where pin 1 is shown on

< 


  
Capacitors the component overlay. on the bike! Of course, the microcontrol-
3 10PF 16V radial electrolytics ler should be programmed at this stage.
Loading an image Apply power and wave a magnet
3 100nF MKT polyester or
monolithic Since this POV design stores the im- in front of the Hall effect sensor. You
age in program memory space, the mi- should see the LEDs illuminate. They
crocontroller must be re-programmed  
 





Resistors (5%, 0.25W carbon film)
every time you want to load a new 
 


€ 

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   

Everyday Practical Electronics, June 2009


Constructional Project

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 
€

Get your magazine ‘instantly’ anywhere in the world – buy and


download from the web.
TAKE A LOOK, A FREE ISSUE IS AVAILABLE
A one year subscription (12 issues) costs just
$18.99(US)
Back issues are also available

Everyday Practical Electronics, June 2009 31


HandsOn Technology

Low Cost 8051C Starter Kit/ Development Board HT-MC-02

HT-MC-02 is an ideal platform for small to medium scale embedded systems


development and quick 8051 embedded design prototyping. HT-MC-02 can be used as
stand-alone 8051C Flash programmer or as a development, prototyping and
educational platform

Main Features:

 8051 Central Processing Unit.


 On-chip Flash Program Memory with In-System Programming (ISP) and In Application
Programming (IAP) capability.
 Boot ROM contains low level Flash programming routines for downloading code via the
RS232.
 Flash memory reliably stores program code even after 10,000 erase and program cycles.
 10-year minimum data retention.
 Programmable security for the code in the Flash. The security feature protects against
software piracy and prevents the contents of the Flash from being read.
 4 level priority interrupt & 7 interrupt sources.
 32 general purpose I/O pins connected to 10pins header connectors for easy I/O pins
access.
 Full-duplex enhanced UART – Framing error detection Automatic address recognition.
 Programmable Counter Array (PCA) & Pulse Width Modulation (PWM).
 Three 16-bits timer/event counters.
 AC/DC (9~12V) power supply – easily available from wall socket power adapter.
 On board stabilized +5Vdc for other external interface circuit power supply.
 Included 8x LEDs and pushbuttons test board (free with HT-MC-02 while stock last) for fast
simple code testing.
 Industrial popular window Keil C compiler and assembler included (Eval. version).
 Free Flash Magic Windows software for easy program code down loading.

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.

Creativity for tomorrow's better living...


HandsOn Technology believes everyone should have the tools, hardware, and resources to play
with cool electronic gadgetry. HandsOn Technology's goal is to get our "hands On" current
technology and information and pass it on to you! We set out to make finding the parts and
information you need easier, more intuitive, and affordable so you can create your awesome
projects. By getting technology in your hands, we think everyone is better off
We here at HandsOn like to think that we exist in the same group as our customers >> curious
students, engineers, prototypers, and hobbyists who love to create and share. We are
snowboarders and rock-climbers, painters and musicians, engineers and writers - but we all have
one thing in common...we love electronics! We want to use electronics to make art projects,
gadgets, and robots. We live, eat, and breathe this stuff!!
If you have more questions, go ahead and poke around the website, or send an email to
[email protected]. And as always, feel free to let your geek shine - around here, we
encourage it...

http://www.handsontec.com

You might also like