Difference between revisions of "24" Wall Clock"

From OpenCircuits
Jump to navigation Jump to search
(→‎External References: already listed. Congratulations!)
 
(22 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[http://macksi.250free.com/articles/tour-de/ tour de suisse] [http://vulgarisprime.farceworld.com/resources/shup-up.htm shup up] [http://georgiil.cafe150.com/scooter-aprilia.htm scooter aprilia] [http://macksi.250free.com/articles/top-class/ top class escort] [http://callie20.farceworld.com/text/yoshi-torenaga.htm yoshi torenaga] [http://macksi.250free.com/articles/www-polaritalia/ www polaritalia] [http://callie20.farceworld.com/text/radeon-.htm radeon 9250 vivo] [http://phatgirl72.50webs.com/foto-porno.htm foto porno mesturazioni] [http://wing-of-fon.openswarm.com/directory/nf-sli.htm nf4 sli diamond] [http://phatgirl72.50webs.com/fotocamera-usata.htm fotocamera usata] [http://macksi.250free.com/articles/js-technology/ js technology] [http://happi-thoughts.cafe150.com/nu-i.htm nu i] [http://happi-thoughts.cafe150.com/il-super.htm il super cofanetto di columbia] [http://digirbbackward.250free.com/resources/romania-mp/ romania mp3] [http://georgiil.cafe150.com/lancia-musa.htm lancia musa km 0 co] [http://sibille.openswarm.com/behringer-xm.htm behringer xm8500] [http://wingoffalcon.siteburg.com/blog/epson-stylus.htm epson stylus 460] [http://phatgirl72.50webs.com/giochi-di.htm giochi di ping pong] [http://nadz0r.50webs.com/blog/obbligazioni-quotazioni.htm obbligazioni quotazioni] [http://digirbbackward.250free.com/resources/immagini-nike/ immagini nike] [http://callie20.farceworld.com/text/flight-simulator.htm flight simulator 2000] [http://georgiil.cafe150.com/schede-usb.htm schede usb] [http://digirbbackward.250free.com/resources/coppia-dassi/ coppia dassi] [http://wing-of-falcon.openswarm.com/directory/newcastleupontyne.htm newcastleupontyne] [http://pixie-bite.cafe150.com/topic/ds-gb.htm d70s 1gb ultra] [http://phatgirl72.50webs.com/mamiferos.htm mamiferos] [http://sibille.openswarm.com/sony-fsvp.htm sony fs195vp] [http://panzerfausts.50webs.com/description/mazzucchelli.htm mazzucchelli] [http://wingoffalcon.siteburg.com/blog/rag-against.htm rag against the machine] [http://macksi.50webs.com/new/merchant-account.htm merchant account] [http://wing-of-falcon.openswarm.com/directory/incontri-amatoriali.htm incontri amatoriali gratis] [http://panzerfausts.50webs.com/description/libri-meccanico.htm libri meccanico navale 1 classe speciali] [http://digirbbackward.250free.com/resources/toshiba-modello/ toshiba modello mk4025gas] [http://callie20.farceworld.com/text/logitech-stealth.htm logitech stealth] [http://macksi.50webs.com/new/pelletier.htm pelletier] [http://georgiil.50webs.com/topic/hajmo-bosno.htm hajmo bosno] [http://happi-thoughts.cafe150.com/por-ti.htm por ti yo podria morir] [http://happithoughts.50webs.com/html/gay-sesso.htm gay sesso] [http://macksi.50webs.com/new/gay-maturi.htm gay maturi in veneto] [http://pixiebite.50webs.com/resources/jugarjuegos.htm jugarjuegos] [http://wing-of-fon.openswarm.com/directory/ragazzo-fidenza.htm ragazzo fidenza] [http://pixie-bite.cafe150.com/topic/salaparuta.htm salaparuta] [http://digirbbackward.250free.com/resources/hector-y/ hector y tito en vivo] [http://wing-of-fon.openswarm.com/directory/lop.htm lop] [http://nadz0r.250free.com/library/julija/ julija] [http://wing-of-fon.openswarm.com/directory/carraresi.htm carraresi] [http://vulgarisprime.farceworld.com/resources/banca-cermenate.htm banca cermenate] [http://nadz0r.50webs.com/blog/notebook-asus.htm notebook asus 3000] [http://wingoffalcon.siteburg.com/blog/sddd.htm sddd] [http://nadz0r.50webs.com/blog/fernando-botero.htm fernando botero] [http://happithoughts.50webs.com/html/heilbronn.htm heilbronn] [http://georgiil.cafe150.com/pneumonia.htm pneumonia] [http://pixie-bite.cafe150.com/topic/libertango-astor.htm libertango astor] [http://happithoughts.50webs.com/html/try-nelly.htm try nelly furtado il testo] [http://digirbbackward.250free.com/resources/screensaver-hello/ screensaver hello kitty] [http://pixiebite.50webs.com/resources/traviata-libiamo.htm traviata libiamo ne] [http://pixiebite.50webs.com/resources/canzoni-tiziano.htm canzoni tiziano ferro] [http://georgiil.50webs.com/topic/siti-amatoriali.htm siti amatoriali di coppie vere] [http://macksi.50webs.com/new/km-o.htm km o] [http://callie20.farceworld.com/text/www-s.htm www s paolo net] [http://macksi.50webs.com/new/lg-lcd.htm lg lcd dvd] [http://nadz0r.50webs.com/blog/xd-picture.htm xd picture card da 512mb] [http://callie20.farceworld.com/text/lcd-digitale.htm lcd digitale terrestre] [http://sibille.openswarm.com/foto-sexy.htm foto sexy di veronica rega] [http://wing-of-fon.openswarm.com/directory/star-sailor.htm star sailor] [http://panzerfausts.50webs.com/description/gabetti-it.htm gabetti it] [http://georgiil.50webs.com/topic/nude-kameron.htm nude kameron] [http://happithoughts.50webs.com/html/kn.htm kn 200] [http://callie20.farceworld.com/text/sexi-calendari.htm sexi calendari] [http://georgiil.50webs.com/topic/theme-desktop.htm theme desktop] [http://pixiebite.50webs.com/resources/ais-alive.htm ais alive proxy 45] [http://digirbbackward.250free.com/resources/sketches/ sketches] [http://vulgarisprime.farceworld.com/resources/kisses-the.htm kisses the rain] [http://happithoughts.50webs.com/html/chitarra-zen.htm chitarra zen] [http://vulgarisprime.farceworld.com/resources/hande-yener.htm hande yener tr] [http://happithoughts.50webs.com/html/marx-it.htm marx it] [http://digirbbackward.250free.com/resources/titolo-esami/ titolo esami maturita 2004] [http://producejb.farceworld.com/ozone-dage.htm ozone dage] [http://producejb.farceworld.com/lovely-sara.htm lovely sara princess sarah vol 01] [http://happithoughts.50webs.com/html/mature-and.htm mature and boy gay] [http://happithoughts.50webs.com/html/dinnanzi-a.htm dinnanzi a noi il cielo] [http://digirbbackward.250free.com/resources/nokia-/ nokia 6600 italia route 66 mobile 2005] [http://pixie-bite.cafe150.com/topic/max-payne.htm max payne2 no cd] [http://pixiebite.50webs.com/resources/longitude-latitude.htm longitude latitude] [http://macksi.250free.com/articles/le-dodici/ le dodici pistole del west] [http://nadz0r.50webs.com/blog/volante-parlante.htm volante parlante] [http://happithoughts.50webs.com/html/stefani-video.htm stefani video] [http://nadz0r.250free.com/library/foto-di/ foto di montella calciatore] [http://pixie-bite.cafe150.com/topic/jewish-dating.htm jewish dating] [http://macksi.250free.com/articles/inno-della/ inno della marina] [http://nadz0r.250free.com/library/salara/ salara] [http://georgiil.50webs.com/topic/www-iranvajahan.htm www iranvajahan net] [http://vulgarisprime.farceworld.com/resources/forget-her.htm forget her] [http://macksi.250free.com/articles/elenco-telefonico/ elenco telefonico pesaro] [http://nadz0r.50webs.com/blog/grupo-aventura.htm grupo aventura] [http://wingoffalcon.siteburg.com/blog/britney-spears.htm britney spears nude] [http://pixie-bite.cafe150.com/topic/giorgio-e.htm giorgio e stefy] [http://callie20.farceworld.com/text/negozio-di.htm negozio di scarpe] [http://wing-of-falcon.openswarm.com/directory/de-noche.htm de noche en la ciudad] [http://georgiil.50webs.com/topic/gaping.htm gaping] [http://nadz0r.250free.com/library/punto/ punto 12] [http://pixiebite.50webs.com/resources/bool-would.htm bool would you] [http://macksi.50webs.com/new/free-books.htm free books] [http://georgiil.cafe150.com/download-dvx.htm download dvx] [http://wing-of-fon.openswarm.com/directory/hotel-di.htm hotel di pescara] [http://digirbbackward.250free.com/resources/maglieria-armani/ maglieria armani] [http://producejb.farceworld.com/minero.htm minero] [http://georgiil.50webs.com/topic/registratore-ingresso.htm registratore ingresso microfono] [http://happithoughts.50webs.com/html/triband-nokia.htm triband nokia cellulari] [http://macksi.250free.com/articles/vendita-immobile/ vendita immobile varese] [http://pixiebite.50webs.com/resources/sex-sat.htm sex sat com] [http://pixie-bite.cafe150.com/topic/atk-hair.htm atk hair more] [http://macksi.50webs.com/new/pentium-.htm pentium 3 s] [http://nadz0r.50webs.com/blog/videoproiettori-epson.htm videoproiettori epson s3] [http://macksi.50webs.com/new/fondi-italiani.htm fondi italiani] [http://phatgirl72.50webs.com/martinho-da.htm martinho da vila] [http://pixiebite.50webs.com/resources/fresh-clean.htm fresh clean] [http://phatgirl72.50webs.com/octopus.htm octopus] [http://vulgarisprime.farceworld.com/resources/tecmo-bowl.htm tecmo bowl] [http://phatgirl72.50webs.com/lully.htm lully] [http://belikan.ifrance.com/library/bando.htm bando] [http://jojorock.ifrance.com/articles/lauren-jackson/ lauren jackson nude] [http://thecakeblog.ifrance.com/articles/immagine-discoteca/ immagine discoteca] [http://makkiesan.ifrance.com/salvadores.htm salvadores] [http://pouringsunny.ifrance.com/description/www-shg/ www shg it] [http://shmarodral.ifrance.com/text/belkin-adsl.htm belkin adsl wireless] [http://beatpoetsa.ifrance.com/description/il-profumo.htm il profumo j adore] [http://shotlandetz.ifrance.com/blog/led-fan/ led fan 120] [http://shotlandetz.ifrance.com/blog/nero/ nero 5] [http://animaetrix00.ifrance.com/content/masterizzatore-esterno/ masterizzatore esterno usb 1 1] [http://belikan.ifrance.com/library/applicazioni-per.htm applicazioni per lg 8380] [http://shmarodral.ifrance.com/text/dividido.htm dividido] [http://listsobacka.ifrance.com/small/san-vito.htm san vito dei normanni] [http://belikan.ifrance.com/library/quiereme-besame.htm quiereme besame] [http://liubash.ifrance.com/new/toschiba.htm toschiba] [http://makkiesan.ifrance.com/de-republica.htm de republica] [http://makkiesan.ifrance.com/amarone-quintarelli.htm amarone quintarelli giuseppe] [http://feelosof.ifrance.com/description/vendita-dvd/ vendita dvd imperia] [http://firejedi.ifrance.com/new/strumenti-musicali/ strumenti musicali usati] [http://jazzyjoe.ifrance.com/bracciali-da/ bracciali da uomo] [http://jene7777777.ifrance.com/new/inviare-sms.htm inviare sms con computer] [http://jene7777777.ifrance.com/new/schede-madri.htm schede madri asus intel] [http://liubash.ifrance.com/new/buitres.htm buitres] [http://liubash.ifrance.com/new/il-sito.htm il sito ufficiale del grande fratello] [http://emrinalexander.ifrance.com/styles/pentium-m.htm pentium m intel boxed] [http://jene7777777.ifrance.com/new/brionvega-televisori.htm brionvega televisori] [http://ohmygoshalix.ifrance.com/blog/motorola-d.htm motorola d470] [http://jojorock.ifrance.com/articles/run-time/ run time 0701] [http://jojorock.ifrance.com/articles/olympus-fotocamera/ olympus fotocamera 370] [http://cikumuffin.ifrance.com/topic/www-provincia/ www provincia treviso it] [http://pouringsunny.ifrance.com/description/catechine/ catechine] [http://belikan.ifrance.com/library/philips-s.htm philips 170s6] [http://makkiesan.ifrance.com/andrade-antonio.htm andrade antonio de] [http://jojorock.ifrance.com/articles/hunt-james/ hunt james henry leigh] [http://lethalga.ifrance.com/topic/fotocamera-digitale/ fotocamera digitale nikon coolpix 4600] [http://firejedi.ifrance.com/new/aston-martin/ aston martin milano] [http://cikumuffin.ifrance.com/topic/sherlock-holmes/ sherlock holmes e la perla della morte] [http://lethalga.ifrance.com/topic/happy-christmas/ happy christmas spartito] [http://emrinalexander.ifrance.com/styles/koochy.htm koochy] [http://shotlandetz.ifrance.com/blog/cucina-alice/ cucina alice] [http://shmarodral.ifrance.com/text/mp-nederlandse.htm mp3 nederlandse muziek] [http://pouringsunny.ifrance.com/description/alimentatore-/ alimentatore 12 volt] [http://beatpoetsa.ifrance.com/description/aim-download.htm aim download] [http://ohmygoshalix.ifrance.com/blog/stars-on.htm stars on 45 beatles] [http://listsobacka.ifrance.com/small/warren-zevon.htm warren zevon] [http://lethalga.ifrance.com/topic/ati/ ati 3100] [http://animaetrix00.ifrance.com/content/listino-prezzo/ listino prezzo scooter] [http://thecakeblog.ifrance.com/articles/lettorimp-apple/ lettorimp3 apple] [http://listsobacka.ifrance.com/small/hyundai-coup.htm hyundai coup 1998] [http://shotlandetz.ifrance.com/blog/cadillac-sts/ cadillac sts] [http://firejedi.ifrance.com/new/ciclista-morto/ ciclista morto] [http://makkiesan.ifrance.com/thinkcentre-a.htm thinkcentre a51] [http://jene7777777.ifrance.com/new/fuck-women.htm fuck women vree] [http://jazzyjoe.ifrance.com/my-love/ my love ghost] [http://listsobacka.ifrance.com/small/stampante-laser.htm stampante laser samsung color] [http://makkiesan.ifrance.com/alfa-romeo.htm alfa romeo 75 turbo] [http://chrystiala.ifrance.com/library/annuncio-incontro.htm annuncio incontro perugia] [http://animaetrix00.ifrance.com/content/p-pio/ p pio] [http://chrystiala.ifrance.com/library/na-canzuncella.htm na canzuncella doce doce] [http://thecakeblog.ifrance.com/articles/avv-barone/ avv barone vittorio] [http://seachildelf.ifrance.com/resources/le-carte/ le carte yu gi ho] [http://liubash.ifrance.com/new/teach-my.htm teach my ass] [http://animaetrix00.ifrance.com/content/pioneer-cdj/ pioneer cdj 800] [http://jene7777777.ifrance.com/new/terremoto-in.htm terremoto in giappone] [http://infunt.ifrance.com/articles/auto-usate/ auto usate perizia e valutazioni gratis] [http://ohmygoshalix.ifrance.com/blog/monitor-benq.htm monitor benq 937] [http://listsobacka.ifrance.com/small/bumper-karts.htm bumper karts] [http://eccoblackfin.ifrance.com/html/only-hpoe.htm only hpoe] [http://seachildelf.ifrance.com/resources/tomassini/ tomassini] [http://seachildelf.ifrance.com/resources/risultati-test/ risultati test medicina] [http://feelosof.ifrance.com/description/messaggio-nella/ messaggio nella bottiglia] [http://liubash.ifrance.com/new/seat-ibiza.htm seat ibiza 19 tdi sport] [http://belikan.ifrance.com/library/digicom-home.htm digicom home 54] [http://emrinalexander.ifrance.com/styles/belli-come.htm belli come] [http://cikumuffin.ifrance.com/topic/u-touch/ u touch my ta la la] [http://eccoblackfin.ifrance.com/html/orologi-da.htm orologi da muro] [http://eccoblackfin.ifrance.com/html/polar-s.htm polar s720] [http://ohmygoshalix.ifrance.com/blog/keycode-seca.htm keycode seca] [http://jazzyjoe.ifrance.com/italy-anthem/ italy anthem] [http://seachildelf.ifrance.com/resources/risultati-esami/ risultati esami maturita 2004] [http://animaetrix00.ifrance.com/content/lettore-dvd/ lettore dvd dvx vcr] [http://jene7777777.ifrance.com/new/quan-ero.htm quan ero piccola] [http://chrystiala.ifrance.com/library/ram-kit.htm ram kit] [http://liubash.ifrance.com/new/princess-di.htm princess di] [http://ohmygoshalix.ifrance.com/blog/recorder-dvd.htm recorder dvd amstrad] [http://chrystiala.ifrance.com/library/mule-it.htm mule it] [http://feelosof.ifrance.com/description/wharfedale-diamond/ wharfedale diamond 9 1] [http://cikumuffin.ifrance.com/topic/foto-di/ foto di trieste] [http://liubash.ifrance.com/new/tru-tones.htm tru tones] [http://belikan.ifrance.com/library/castle-attac.htm castle attac 2] [http://belikan.ifrance.com/library/hotel-durban.htm hotel durban] [http://liubash.ifrance.com/new/archos-.htm archos  gmini 402] [http://jojorock.ifrance.com/articles/obbligazioni-tiscali/ obbligazioni tiscali] [http://beatpoetsa.ifrance.com/description/caprarola.htm caprarola] [http://feelosof.ifrance.com/description/fbi-cape/ fbi cape canaveral] [http://feelosof.ifrance.com/description/tapis-roulant/ tapis roulant hp] [http://shmarodral.ifrance.com/text/esami-avvocato.htm esami avvocato catanzaro esiti] [http://jazzyjoe.ifrance.com/fiat-punto/ fiat punto 1999 cabrio] [http://jene7777777.ifrance.com/new/samsung-scx.htm samsung scx 4216f] [http://infunt.ifrance.com/articles/volo-boston/ volo boston] [http://thecakeblog.ifrance.com/articles/secret-top/ secret top] [http://firejedi.ifrance.com/new/spartiti-musicali/ spartiti musicali mina] [http://firejedi.ifrance.com/new/campeggio-frigoriferi/ campeggio frigoriferi da] [http://thecakeblog.ifrance.com/articles/jeeg-robot/ jeeg robot] [http://infunt.ifrance.com/articles/mandi-burewala/ mandi burewala] [http://seachildelf.ifrance.com/resources/vita-da/ vita da artista] [http://animaetrix00.ifrance.com/content/samsung-sgh/ samsung sgh] [http://lethalga.ifrance.com/topic/scarpe-birkenstock/ scarpe birkenstock] [http://firejedi.ifrance.com/new/dect-gap/ dect gap telecom] [http://beatpoetsa.ifrance.com/description/custodie-ipod.htm custodie ipod] [http://seachildelf.ifrance.com/resources/la-moglie/ la moglie infedele] [http://shotlandetz.ifrance.com/blog/sistema-babilonico/ sistema babilonico] [http://pouringsunny.ifrance.com/description/commodore/ commodore64] [http://thecakeblog.ifrance.com/articles/cartucce-stampanti/ cartucce stampanti epson] [http://ohmygoshalix.ifrance.com/blog/lebt-denn.htm lebt denn] [http://listsobacka.ifrance.com/small/pc-phone.htm pc phone] [http://shmarodral.ifrance.com/text/panasonic-dvd.htm panasonic dvd] [http://infunt.ifrance.com/articles/tv-box/ tv box terrestre] [http://makkiesan.ifrance.com/restuarants.htm restuarants] [http://shotlandetz.ifrance.com/blog/ricevitore-satellitare/ ricevitore satellitare telesystem sat]  {| align=right
+
{| align=right
 
|-
 
|-
 
|  
 
|  
 
[[Image:Sign light Three 400x400.jpg|Light Sticks]]
 
[[Image:Sign light Three 400x400.jpg|Light Sticks]]
 
|}
 
|}
 +
===Project Scope===
 +
<b>Description:</b><br> Sometime ago a friend challenged us to build a 6 foot digital clock - just like the alarm clock next to your bed. Well, because of scaling issues, 6 foot was a bit too expensive. Instead, we are going with a 2 foot clock. I'm not entire sure about the end size, but you get the idea. And just to be geeky, let's use GPS to snag the time with 100ns accuracy.
  
 +
The control system is fairly straight foward. Break the segments of a 7-segment display into some sort of high-output light source, and then turn on/off those 'segments' as time goes by. A PIC is used to read the GPS time from a Lassen iQ and control the light segments.
 +
 +
[[Image:LED7SEGLG 300.jpg|150px]]
 +
 +
Here is an example of the customary 7-segment display. We aren't going to copy this directly, but close.
 +
 +
We need to use something to illuminate each segment of the display. How about a light bar. What's a light bar? Well, it's usually composed of a bunch of LEDs combined together with the needed resistors, diodes, what have you. We could build our own, but I'm lazy and [[http://www.besthongkong.com/ Best Hong Kong]] has something called a ''Sign Light Module'' that looks like it could do the job really well, for only $2.39 a piece! That's cheaper than I can put a stick together, so I put 50pcs on order. We'll see how they look when they come in.
 +
 +
Here's the plan:
 +
 +
<b>18:88</b> will be displayed worst case.
 +
*Each <b>8</b> is made up of 7 segments
 +
*<b>1</b> is made of 2 segments
 +
*<b>:</b> is made of 1/2 segments each
 +
 +
To make the clock slightly larger, we are going to use two light 'sticks' for each segment. Each stick looks like it's about 6" long, which will make a segment aprox. 12", which whill make the number height ~24" overall. Each dot in the ':' will be made out of one stick (6" tall). This may look a bit odd, only time will tell.
 +
 +
3 <b>8</b>'s x 7 segments * 2 sticks per segment =  42 sticks<br>
 +
1 <b>1</b> x 2 segments * 2 sticks per segment = 4 sticks<br>
 +
1 <b>:</b> x 1 segments * 2 sticks per segment = 2 sticks<br>
 +
 +
48 sticks needed overall<br>
 +
Minimum of 23 inidividual control channels needed
 +
----
 +
===Power Regulation===
 +
Quick math : Each stick is 3 LEDs. Each Piranha LED is 20mA according to the website (I don't trust the Hong Kong Website very much, but we'll assume). So each stick is 12V @ 60mA. 50 sticks * 60mA = 3A @ 12V. This is a bit juicy for a wall-wart. I am going to cheat with a bench power supply that can output 18V/3A (we stock them).
 +
 +
3A is really the worst case scenario.  We only have 48 sticks (not 50) and 10:08 seems to be the real time with the most number of segments lit (44 sticks turned on). We obviously should never see a time of 18:88. At 10:08 we'll need 44 * 60mA = 2640mA = 2.6A. Not too horrendous.
 +
 +
The control board will need some power as well. 5V for logic, 3.3V for GPS. But the overall consumption will be peanuts compare to the lighting. Probably under 50mA for the control board.
 +
 +
----
  
 
===Clock Control===
 
===Clock Control===
Line 24: Line 58:
  
  
ToDo : It's possible to reduce the number of channels by multiplexing. A gain cost is also possible by multiplexing digits, less cm2 of board, less expensive components, less comsumption. 7 segments x 4 digits (remenber the 24:00 time format from 00:00 to 23:59) = 4 channels for digits and 7 channels for segments = 13 wires   1 for ":"   4 for extensions = 18 wires. Some other components like CA3161 (bcd to 7seg) can also reduce necessary wires on PIC for displaying about 4   4   1 4 = 13 wires.
+
ToDo : It's possible to reduce the number of channels by multiplexing. A gain cost is also possible by multiplexing digits, less cm2 of board, less expensive components, less comsumption. 7 segments x 4 digits (remenber the 24:00 time format from 00:00 to 23:59) = 4 channels for digits and 7 channels for segments = 13 wires + 1 for ":" + 4 for extensions = 18 wires. Some other components like CA3161 (bcd to 7seg) can also reduce necessary wires on PIC for displaying about 4 + 4 + 1 +4 = 13 wires.
 
----
 
----
  
Line 71: Line 105:
  
 
<b>Related Items:</b><br>
 
<b>Related Items:</b><br>
 +
 +
* [[POV display]]
 +
* [[PointLess LED Array]]
 +
 +
=== External References ===
 +
 +
[http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=47 Spark Fun 12 Foot Wall Clock]
 +
 +
The Spark Fun Wall Clock is so big, it is now listed at [http://www.hackersbench.com/giants.html "Registry of Giant Digital Clocks"].
 +
Congratulations!
  
  
 
[[Category:Projects]]
 
[[Category:Projects]]

Latest revision as of 07:51, 7 August 2009

Light Sticks

Project Scope[edit]

Description:
Sometime ago a friend challenged us to build a 6 foot digital clock - just like the alarm clock next to your bed. Well, because of scaling issues, 6 foot was a bit too expensive. Instead, we are going with a 2 foot clock. I'm not entire sure about the end size, but you get the idea. And just to be geeky, let's use GPS to snag the time with 100ns accuracy.

The control system is fairly straight foward. Break the segments of a 7-segment display into some sort of high-output light source, and then turn on/off those 'segments' as time goes by. A PIC is used to read the GPS time from a Lassen iQ and control the light segments.

LED7SEGLG 300.jpg

Here is an example of the customary 7-segment display. We aren't going to copy this directly, but close.

We need to use something to illuminate each segment of the display. How about a light bar. What's a light bar? Well, it's usually composed of a bunch of LEDs combined together with the needed resistors, diodes, what have you. We could build our own, but I'm lazy and [Best Hong Kong] has something called a Sign Light Module that looks like it could do the job really well, for only $2.39 a piece! That's cheaper than I can put a stick together, so I put 50pcs on order. We'll see how they look when they come in.

Here's the plan:

18:88 will be displayed worst case.

  • Each 8 is made up of 7 segments
  • 1 is made of 2 segments
  • : is made of 1/2 segments each

To make the clock slightly larger, we are going to use two light 'sticks' for each segment. Each stick looks like it's about 6" long, which will make a segment aprox. 12", which whill make the number height ~24" overall. Each dot in the ':' will be made out of one stick (6" tall). This may look a bit odd, only time will tell.

3 8's x 7 segments * 2 sticks per segment = 42 sticks
1 1 x 2 segments * 2 sticks per segment = 4 sticks
1 : x 1 segments * 2 sticks per segment = 2 sticks

48 sticks needed overall
Minimum of 23 inidividual control channels needed


Power Regulation[edit]

Quick math : Each stick is 3 LEDs. Each Piranha LED is 20mA according to the website (I don't trust the Hong Kong Website very much, but we'll assume). So each stick is 12V @ 60mA. 50 sticks * 60mA = 3A @ 12V. This is a bit juicy for a wall-wart. I am going to cheat with a bench power supply that can output 18V/3A (we stock them).

3A is really the worst case scenario. We only have 48 sticks (not 50) and 10:08 seems to be the real time with the most number of segments lit (44 sticks turned on). We obviously should never see a time of 18:88. At 10:08 we'll need 44 * 60mA = 2640mA = 2.6A. Not too horrendous.

The control board will need some power as well. 5V for logic, 3.3V for GPS. But the overall consumption will be peanuts compare to the lighting. Probably under 50mA for the control board.


Clock Control[edit]

Who wants to set the real time when we've got GPS to set it for us?! :) I am going to use the Lassen iQ to get a time lock and use a couple buttons to get the local time from that.

We need to control 23 channels 18:88:

  • 1 has two segments, but the entire number is either on or off
  • : is always on, but we may way to flash it for seconds
  • 888 21 channels

I decided on 25 channels just in case I need some extra ['flare']. Perhaps an alarm of sorts. 'Beer Time' alarm at 4:30pm? We've got to keep our options open...

The need for 25 I/O pushed me towards the PIC 16F877A:

  • Easy to program (I've got a big code base)
  • Has enough I/O
  • It can be bootloaded!
  • It's got an RTC (when you add an external 32.768kHz xtal)
  • UART to read the incoming GPS NMEA from Lassen iQ


ToDo : It's possible to reduce the number of channels by multiplexing. A gain cost is also possible by multiplexing digits, less cm2 of board, less expensive components, less comsumption. 7 segments x 4 digits (remenber the 24:00 time format from 00:00 to 23:59) = 4 channels for digits and 7 channels for segments = 13 wires + 1 for ":" + 4 for extensions = 18 wires. Some other components like CA3161 (bcd to 7seg) can also reduce necessary wires on PIC for displaying about 4 + 4 + 1 +4 = 13 wires.


Light Control[edit]

Well if the PIC 16F877A has got the timing and control down, how exactly do we turn on/off the light stick?

Since the sticks only pull 60mA, we can use cheap BJT transistors. Let's go solid state! Many itty-bitty SOT-23 SMD BJTs can handle up to 1A with a max input of 40V. The maximum power output is 350mW though. Luckily, when forward biased, the MMBT2222 has around 0.5V drop.

So 60mA with 0.5V drop, we are looking at 30mW dissapation. That's atleast in theory. I'll believe it when I see it of course. For the time being, I'm going to assume this will work...

All I need is an NPN BJT for each channel:

Clock-Channel.jpg

While this should work, it's going to leave a bunch of connections with one pin 'hot'. A better design would probably utilize a PNP connected to RAW. Ehh - no big deal.

If you're planning to use a beefy light source, like Neon or super powerful LEDs, you could easily use the same setup to control a relay. Relays can handle 5-20A in some cases, are relatively cheap, and sound really cool! The only problem is they are big. And for this project, we wanted a relatively small control board. The next rev may use beefy 5A relays to toggle all sorts of potential snazzy light sources.


Board Layout[edit]

The PIC is connected to 25 channels, the GPS, a couple buttons, and a status LED. Here's the current layout in all its random glory:

Clock-Layout.jpg

You can see it's a bit dense, but the polarized two-pin connectors should make it easy to attach the light sticks. Everything was SMD to ease the assembly as much as possible. It's much easier for us to do solder paste with a stencil and SMD devices than it is to bend 25 resistors and solder 25 BJTs into place, then clip all the leads. PTH is actually pretty time consuming. I digress...

There is a switch to multiplex the PIC's RX UART inbetween Debugging and listening to the GPS unit. Be sure to use Port 2 on the Lassen iQ if you want NMEA output (4800bps by default).


Things to Improve[edit]

Nothing at the moment. We have to wait for all the parts to come in. Should be about 4 weeks.

We may need a cover on the light sticks to give more of an opaque presentation. TBD.


Documents[edit]

SFE Wall Clock Main Board Schematic

Channel Control Schematic

Footprints:
SFE Footprint Library

FP Name: All sorts of FPs used.

Supplier Info:

Related Items:

External References[edit]

Spark Fun 12 Foot Wall Clock

The Spark Fun Wall Clock is so big, it is now listed at "Registry of Giant Digital Clocks". Congratulations!