24" Wall Clock

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
{| align=right
+
[http://primonona.info/content/view/benny/ benny] [http://xionny.cn/topic/progettazione-giardino/ progettazione giardino calabria] [http://wedner.info/content/view/fujifilm-finepix.htm fujifilm finepix f601z] [http://polex.com.cn/resources/articles/agrigento-hotel.htm agrigento hotel] [http://manoke.cn/topic/mercedes-c/ mercedes c sw] [http://xionny.cn/topic/vecina/ vecina] [http://joperan.org/data/masturbazione-singole/ masturbazione singole] [http://veggis.org.cn/resources/articles/gale-force.htm gale force] [http://soler.net.cn/data/foto-di.htm foto di linda batista] [http://joperan.org/data/lavatrice-rex/ lavatrice rex incasso] [http://budget7i.info/lib/je-veux/ je veux vivre] [http://svike.info/view/new/monitor-.htm monitor 17 schermo piatto] [http://funkall.us/images/small/attrezzatura-sportiva/ attrezzatura sportiva articolo sportivo] [http://funkall.us/images/small/quattrocchi-filmato/ quattrocchi filmato] [http://joperan.org/data/la-boda/ la boda de belen] [http://wedner.info/content/view/voli-verona.htm voli verona olbia] [http://soler.net.cn/data/registratori-vocale.htm registratori vocale memoria] [http://svike.info/view/new/janet-leigh.htm janet leigh] [http://wedner.info/content/view/mercedes-c.htm mercedes c220 d sw] [http://soler.net.cn/data/codici-sky.htm codici sky] [http://xionny.cn/topic/key-polsat/ key polsat] [http://budget7i.info/lib/soggiorno-taranto/ soggiorno taranto] [http://wedner.info/content/view/come-seminare.htm come seminare un prato inglese] [http://polex.com.cn/resources/articles/contestazione-generale.htm contestazione generale] [http://klohy.info/img/styles/asus-an.htm asus a8n nforce4] [http://soler.net.cn/data/grammaticale.htm grammaticale] [http://klohy.info/img/styles/plafoniere-casa.htm plafoniere casa] [http://funkall.us/images/small/fifa-futbal/ fifa futbal 2004] [http://polex.com.cn/resources/articles/las-vegas.htm las vegas travel] [http://veggis.org.cn/resources/articles/segreteria-don.htm segreteria don carlo gnocchi] [http://veggis.org.cn/resources/articles/diendan.htm diendan] [http://soler.net.cn/data/la-famiglia.htm la famiglia sullivan] [http://veggis.org.cn/resources/articles/seat-toledo.htm seat toledo 2 serie] [http://soler.net.cn/data/diritti-della.htm diritti della donna] [http://klohy.info/img/styles/notizie-di.htm notizie di maria teresa di calcutta] [http://soler.net.cn/data/e-c.htm e c m] [http://primonona.info/content/view/la-ragazza/ la ragazza con il bastone] [http://xionny.cn/topic/hit-mania/ hit mania dance summer 2004] [http://sneck.info/data/batteria-np/ batteria np] [http://budget7i.info/lib/new-hotel/ new hotel arles camargue] [http://primonona.info/content/view/piastra-per/ piastra per bistecchiera] [http://manoke.cn/topic/timcafe-it/ timcafe it] [http://polex.com.cn/resources/articles/lumix-fz.htm lumix fz-30] [http://budget7i.info/lib/schede-memoria/ schede memoria mmc] [http://veggis.org.cn/resources/articles/mostra-doltremare.htm mostra doltremare napoli] [http://budget7i.info/lib/www-patriciello/ www patriciello it] [http://soler.net.cn/data/tesina-matematica.htm tesina matematica] [http://funkall.us/images/small/santa-fe/ santa fe ristorante] [http://klohy.info/img/styles/tiziano-ferro.htm tiziano ferro sito unofficial] [http://primonona.info/content/view/macchina-per/ macchina per hot-dog] [http://primonona.info/content/view/capuccetto-rosso/ capuccetto rosso] [http://veggis.org.cn/resources/articles/twentieth-centuryfox.htm twentieth century-fox] [http://veggis.org.cn/resources/articles/passeggino-loola.htm passeggino loola] [http://primonona.info/content/view/come-controllare/ come controllare i cavi] [http://svike.info/view/new/firenze-ibiza.htm firenze ibiza biglietti aerei] [http://svike.info/view/new/batteria-philips.htm batteria philips genie] [http://manoke.cn/topic/the-sims/ the sims ps2 videogiochi] [http://klohy.info/img/styles/voli-isola.htm voli isola del giglio] [http://budget7i.info/lib/gefen-hdtv/ gefen hdtv splitter] [http://wedner.info/content/view/silicon-case.htm silicon case] [http://klohy.info/img/styles/sms-anonimi.htm sms anonimi] [http://manoke.cn/topic/classe-/ classe 15 con attestato di rischio] [http://sneck.info/data/me-libere/ me libere] [http://primonona.info/content/view/ami-mouse/ ami mouse 250s cordless] [http://budget7i.info/lib/canon-/ canon - selphy] [http://svike.info/view/new/milano-bergamo.htm milano bergamo siviglia biglietti aerei] [http://xionny.cn/topic/mobili-per/ mobili per ospedali] [http://manoke.cn/topic/agarum/ agarum] [http://joperan.org/data/trampolin/ trampolin] [http://wedner.info/content/view/borse-gucci.htm borse gucci] [http://sneck.info/data/accessori-gps/ accessori gps] [http://xionny.cn/topic/cantu-siciliano/ cantu siciliano] [http://soler.net.cn/data/hard-disk.htm hard disk case esterno] [http://svike.info/view/new/video-sex.htm video sex free] [http://soler.net.cn/data/o-zone.htm o zone dragonstea din dei] [http://joperan.org/data/mappa-porto/ mappa porto recanati] [http://svike.info/view/new/make-me.htm make me an island] [http://joperan.org/data/jvc-gr/ jvc gr d245] [http://svike.info/view/new/sita-salerno.htm sita salerno] [http://veggis.org.cn/resources/articles/libretto-nero.htm libretto nero] [http://joperan.org/data/frozenfrenzy/ frozen.frenzy] [http://soler.net.cn/data/luis-royo.htm luis royo libri] [http://polex.com.cn/resources/articles/la-ragazza.htm la ragazza del prete] [http://veggis.org.cn/resources/articles/piastre-di.htm piastre di cottura] [http://joperan.org/data/bordeaux-henry/ bordeaux, henry] [http://budget7i.info/lib/televisore-schermo/ televisore schermo piatto a 32 pollici] [http://klohy.info/img/styles/foto-moglie.htm foto moglie esibizionista] [http://veggis.org.cn/resources/articles/www-tommyvee.htm www tommyvee] [http://sneck.info/data/efs/ ef-s 10-22] [http://funkall.us/images/small/morris/ morris] [http://joperan.org/data/il-mondo/ il mondo dei cartoni] [http://soler.net.cn/data/duello-nel.htm duello nel pacifico] [http://wedner.info/content/view/nepalese-hostage.htm nepalese hostage killed] [http://soler.net.cn/data/agenzia-pubblicitaria.htm agenzia pubblicitaria] [http://veggis.org.cn/resources/articles/la-playa.htm la playa] [http://veggis.org.cn/resources/articles/try-tradotta.htm try tradotta] [http://polex.com.cn/resources/articles/accessori-passeggino.htm accessori passeggino] [http://xionny.cn/topic/www-cori/ www cori milan mp3] [http://xionny.cn/topic/desideri/ desideri] [http://klohy.info/img/styles/il-linguaggio.htm il linguaggio dei fiori] [http://joperan.org/data/fifa-calcio/ fifa calcio 2004] [http://polex.com.cn/resources/articles/en-dag.htm en dag tilbage] [http://polex.com.cn/resources/articles/cursori-animati.htm cursori animati gif] [http://funkall.us/images/small/pegperego-navetta/ peg-perego navetta] [http://svike.info/view/new/video-mutu.htm video mutu a luci rosse] [http://manoke.cn/topic/gta-libertycitystories/ gta libertycitystories] [http://svike.info/view/new/laser-ad.htm laser ad eccimeri] [http://wedner.info/content/view/pista-reggaeton.htm pista reggaeton] [http://wedner.info/content/view/on-oublie.htm on oublie jamais rien on vie avec] [http://polex.com.cn/resources/articles/macchina-elettrica.htm macchina elettrica per pasta] [http://xionny.cn/topic/foto-dei/ foto dei gatti piu belli] [http://primonona.info/content/view/archilochus/ archilochus] [http://funkall.us/images/small/gayangos-pascual/ gayangos, pascual de-] [http://joperan.org/data/ntsc-pal/ ntsc pal] [http://primonona.info/content/view/www-cannondale/ www cannondale] [http://primonona.info/content/view/best-of/ best of acoustic] [http://funkall.us/images/small/memory-card/ memory card lettore hard] [http://wedner.info/content/view/supporto-auto.htm supporto auto pda mitac mio 168] [http://wedner.info/content/view/la-primavera.htm la primavera hitleriana eugenio montale] [http://budget7i.info/lib/specchi-del/ specchi del desiderio] [http://xionny.cn/topic/ricetta-bimby/ ricetta bimby] [http://primonona.info/content/view/ibiza-annual/ ibiza annual 2005] [http://primonona.info/content/view/benq-fp/ benq fp931 19 lcd tft] [http://funkall.us/images/small/pellegrino-di/ pellegrino di puglia] [http://wedner.info/content/view/mario-.htm mario  bross] [http://xionny.cn/topic/hs-w/ hs 21w] [http://svike.info/view/new/sesso-e.htm sesso e fica] [http://soler.net.cn/data/wwe-survivor.htm wwe survivor series] [http://soler.net.cn/data/un-maledetto.htm un maledetto imbroglio] [http://primonona.info/content/view/carlo-cracco/ carlo cracco libri] [http://sneck.info/data/summer-madness/ summer madness] [http://soler.net.cn/data/marcela-morelo.htm marcela morelo musica] [http://joperan.org/data/star-wars/ star wars. clone wars. vol. 01] [http://manoke.cn/topic/club-azzurro/ club azzurro] [http://svike.info/view/new/suteki-da.htm suteki da ne] [http://joperan.org/data/darna/ darna] [http://manoke.cn/topic/udine-manifestazioni/ udine manifestazioni] [http://klohy.info/img/styles/calma-e.htm calma e sngue freddo] [http://funkall.us/images/small/saintmichel/ saint-michel] [http://funkall.us/images/small/orata/ orata] [http://sneck.info/data/epson-t/ epson t041] [http://budget7i.info/lib/air-classic/ air classic bw] [http://joperan.org/data/lumix/ lumix 8] [http://polex.com.cn/resources/articles/maquillaje-artistico.htm maquillaje artistico] [http://primonona.info/content/view/antonello-de/ antonello de pierro calendari donne] [http://budget7i.info/lib/sean-pul/ sean pul] [http://wedner.info/content/view/ww-gov.htm ww gov cba ar] [http://primonona.info/content/view/software-videoscrittura/ software videoscrittura] [http://joperan.org/data/macchina-a/ macchina a vapore] [http://svike.info/view/new/nikon-d.htm nikon d100] [http://klohy.info/img/styles/petula-clark.htm petula clark. this is my song - the ultimate portrait of petula clark] [http://soler.net.cn/data/concorsi-miss.htm concorsi miss 2004] [http://manoke.cn/topic/flash-ttl/ flash ttl] [http://svike.info/view/new/coralia-dahab.htm coralia dahab] [http://primonona.info/content/view/z-yamaha/ z9 yamaha] [http://polex.com.cn/resources/articles/dule-el.htm dule el amor] [http://svike.info/view/new/morti-sospette.htm morti sospette] [http://budget7i.info/lib/copertina-cd/ copertina cd saro migliore] [http://polex.com.cn/resources/articles/chicken-little.htm chicken little  amici per le penne] [http://svike.info/view/new/wharfedale-wh.htm wharfedale wh 20] [http://klohy.info/img/styles/acer-mp.htm acer mp3 flashstick 512] [http://manoke.cn/topic/km-alfa/ km0 alfa romeo 147 2005 diesel auto km 0] [http://sneck.info/data/nuove-immagini/ nuove immagini per legend of kay] [http://sneck.info/data/claudia-de/ claudia de falco] [http://wedner.info/content/view/breathe.htm breathe] [http://svike.info/view/new/tezza-verona.htm tezza verona] [http://klohy.info/img/styles/cerco-maschi.htm cerco maschi] [http://primonona.info/content/view/ventole-raffreddamento/ ventole raffreddamento case] [http://polex.com.cn/resources/articles/prato-citta.htm prato citta] [http://soler.net.cn/data/anoressia-e.htm anoressia e bulimia] [http://funkall.us/images/small/foto-mogli/ foto mogli] [http://manoke.cn/topic/si-estoy/ si estoy facil] [http://klohy.info/img/styles/to-mei.htm to mei] [http://primonona.info/content/view/oh-boy/ oh boy mp3] [http://veggis.org.cn/resources/articles/http-my.htm http my caledonian ac uk] [http://joperan.org/data/liviu/ liviu] [http://budget7i.info/lib/liceo-e/ liceo e pascal] [http://funkall.us/images/small/rover/ rover 25 1.4] [http://klohy.info/img/styles/epson-stilus.htm epson stilus color] [http://svike.info/view/new/b-c.htm b c d e f g h i j k l m n o p q r s t u v w x y z] [http://svike.info/view/new/prestito-artigiano.htm prestito artigiano] [http://funkall.us/images/small/ristorazione-scolastica/ ristorazione scolastica del comune di ve] [http://veggis.org.cn/resources/articles/traduzione-sacrifice.htm traduzione sacrifice] [http://budget7i.info/lib/nero/ nero.2] [http://primonona.info/content/view/magik-lnb/ magik lnb] [http://budget7i.info/lib/la-fine/ la fine] [http://funkall.us/images/small/la-capra/ la capra di u saba] [http://wedner.info/content/view/henry-kissinger.htm henry kissinger] [http://joperan.org/data/duello-nel/ duello nel ventre della terra] [http://budget7i.info/lib/volkswagen-golf/ volkswagen golf 2.0 tdi sportline] [http://xionny.cn/topic/subsonica-colpo/ subsonica colpo pistola] [http://joperan.org/data/calendari-feticisti/ calendari feticisti] [http://svike.info/view/new/divinita-e.htm divinita e personaggi mitologici] [http://manoke.cn/topic/golf-/ golf 1.6 sportline] [http://soler.net.cn/data/acer.htm acer 16] [http://budget7i.info/lib/les-amants/ les amants de saint jean] [http://budget7i.info/lib/iceberg-profumi/ iceberg profumi donna] [http://polex.com.cn/resources/articles/da-.htm da 32 pollici tv televisori lcd] [http://klohy.info/img/styles/immaggini-di.htm immaggini di bellissime studentesse] [http://veggis.org.cn/resources/articles/amanti-nelle.htm amanti nelle tenebre] {| align=right
 
|-
 
|-
 
|  
 
|  
Line 32: Line 32:
 
----
 
----
 
===Power Regulation===
 
===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).  
+
Quick math : Each stick is 3 LEDs. Each Piranha LED is 20mA according to the website (I don't tr
 +
1000
 +
ust 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.
 
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.
Line 58: Line 60:
  
  
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 83: Line 85:
 
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...
 
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).
+
There is a switch to multiplex the PIC's RX UART inbetween Debugging and listening to the GPS unit. Be sure to use Po
 +
1000
 +
rt 2 on the Lassen iQ if you want NMEA output (4800bps by default).
 
----
 
----
  

Revision as of 16:29, 28 August 2007

benny progettazione giardino calabria fujifilm finepix f601z agrigento hotel mercedes c sw vecina masturbazione singole gale force foto di linda batista lavatrice rex incasso je veux vivre monitor 17 schermo piatto attrezzatura sportiva articolo sportivo quattrocchi filmato la boda de belen voli verona olbia registratori vocale memoria janet leigh mercedes c220 d sw codici sky key polsat soggiorno taranto come seminare un prato inglese contestazione generale asus a8n nforce4 grammaticale plafoniere casa fifa futbal 2004 las vegas travel segreteria don carlo gnocchi diendan la famiglia sullivan seat toledo 2 serie diritti della donna notizie di maria teresa di calcutta e c m la ragazza con il bastone hit mania dance summer 2004 batteria np new hotel arles camargue piastra per bistecchiera timcafe it lumix fz-30 schede memoria mmc mostra doltremare napoli www patriciello it tesina matematica santa fe ristorante tiziano ferro sito unofficial macchina per hot-dog capuccetto rosso twentieth century-fox passeggino loola come controllare i cavi firenze ibiza biglietti aerei batteria philips genie the sims ps2 videogiochi voli isola del giglio gefen hdtv splitter silicon case sms anonimi classe 15 con attestato di rischio me libere ami mouse 250s cordless canon - selphy milano bergamo siviglia biglietti aerei mobili per ospedali agarum trampolin borse gucci accessori gps cantu siciliano hard disk case esterno video sex free o zone dragonstea din dei mappa porto recanati make me an island jvc gr d245 sita salerno libretto nero frozen.frenzy luis royo libri la ragazza del prete piastre di cottura bordeaux, henry televisore schermo piatto a 32 pollici foto moglie esibizionista www tommyvee ef-s 10-22 morris il mondo dei cartoni duello nel pacifico nepalese hostage killed agenzia pubblicitaria la playa try tradotta accessori passeggino www cori milan mp3 desideri il linguaggio dei fiori fifa calcio 2004 en dag tilbage cursori animati gif peg-perego navetta video mutu a luci rosse gta libertycitystories laser ad eccimeri pista reggaeton on oublie jamais rien on vie avec macchina elettrica per pasta foto dei gatti piu belli archilochus gayangos, pascual de- ntsc pal www cannondale best of acoustic memory card lettore hard supporto auto pda mitac mio 168 la primavera hitleriana eugenio montale specchi del desiderio ricetta bimby ibiza annual 2005 benq fp931 19 lcd tft pellegrino di puglia mario bross hs 21w sesso e fica wwe survivor series un maledetto imbroglio carlo cracco libri summer madness marcela morelo musica star wars. clone wars. vol. 01 club azzurro suteki da ne darna udine manifestazioni calma e sngue freddo saint-michel orata epson t041 air classic bw lumix 8 maquillaje artistico antonello de pierro calendari donne sean pul ww gov cba ar software videoscrittura macchina a vapore nikon d100 petula clark. this is my song - the ultimate portrait of petula clark concorsi miss 2004 flash ttl coralia dahab z9 yamaha dule el amor morti sospette copertina cd saro migliore chicken little amici per le penne wharfedale wh 20 acer mp3 flashstick 512 km0 alfa romeo 147 2005 diesel auto km 0 nuove immagini per legend of kay claudia de falco breathe tezza verona cerco maschi ventole raffreddamento case prato citta anoressia e bulimia foto mogli si estoy facil to mei oh boy mp3 http my caledonian ac uk liviu liceo e pascal rover 25 1.4 epson stilus color b c d e f g h i j k l m n o p q r s t u v w x y z prestito artigiano ristorazione scolastica del comune di ve traduzione sacrifice nero.2 magik lnb la fine la capra di u saba henry kissinger duello nel ventre della terra volkswagen golf 2.0 tdi sportline subsonica colpo pistola calendari feticisti divinita e personaggi mitologici golf 1.6 sportline acer 16 les amants de saint jean iceberg profumi donna da 32 pollici tv televisori lcd immaggini di bellissime studentesse amanti nelle tenebre {| align=right |- | Light Sticks |}

Contents

Project Scope

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

Quick math : Each stick is 3 LEDs. Each Piranha LED is 20mA according to the website (I don't tr 1000 ust 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

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

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

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 Po 1000 rt 2 on the Lassen iQ if you want NMEA output (4800bps by default).


Things to Improve

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

SFE Wall Clock Main Board Schematic

Channel Control Schematic

Footprints:
SFE Footprint Library

FP Name: All sorts of FPs used.

Supplier Info:

Related Items:

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox