24" Wall Clock

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
(Undo revision 12581 by 211.97.70.252 (Talk))
Line 1: Line 1:
[http://coribergquist.ifrance.com/pages/watch-a-women.html watch a women give birth] [http://cried.sixth.biz/topic/wwwjunocom.html www.juno.com] [http://gildachoice.ifrance.com/small/tractor.html tractor] [http://coribergquist.ifrance.com/pages/oregon-state-private.html oregon state private investigators] [http://gwenluttrell.ifrance.com/wiki/kids-sucking-dick.html kids sucking dick] [http://maryannecrossle.ifrance.com/blog/ww1-women-at-war.html ww1 women at war] [http://char-zheckz.ibelgique.com/pro-deo-advocaat.html pro deo advocaat] [http://shenitayoungqui.ifrance.com/homes-for-sale.html homes for sale by owner] [http://wildafenstermac.ifrance.com/library/chinese-furniture.html chinese furniture] [http://char-zheckz.ibelgique.com/online-store-delivery.html online store delivery] [http://myrtiswillis.iespana.es/extreme-insertion.html extreme anal insertion sex] [http://alyshabeery.ifrance.com/blog/proform-treadmills.html proform treadmills] [http://ships.xxuz.com/resources/female-feet-licking.html female feet licking] [http://canyondrey.ibelgique.com/topic/childcare.html childcare] [http://lexiehorton.ifrance.com/airline-booking.html airline booking class codes] [http://cdn-slave.isuisse.com/blog/goodman-manufacturing.html goodman manufacturing] [http://lapsed.trickip.net/insurance.html insurance] [http://libbiemorphis.ifrance.com/blog/etienne-aigner.html etienne aigner] [http://ships.xxuz.com/resources/ryan-shupe.html ryan shupe] [http://aladdill.ourprofile.info/articles/fathers-day-trivia.html fathers day trivia] [http://lexiehorton.ifrance.com/hard-anodize.html hard anodize] [http://moot-hest.iespana.es/bang-moms.html bang moms] [http://huldagriggs.ifrance.com/articles/teen-chat-room.html teen chat room] [http://tandraverdugo.ifrance.com/wiki/gastric-bypass.html plastic surgery after gastric bypass] [http://letishablumberg.iespana.es/q/peter-north-filmography.html peter north filmography] [http://daniel.ygto.com/wiki/mushingcom.html mushing.com] [http://lestenger.ifrance.com/resources/tampa-florida.html tampa florida county] [http://spend.vizvaz.com/saisaki-restaurant.html saisaki restaurant] [http://laynephillips.ifrance.com/article/hanting.html hanting] [http://wildafenstermac.ifrance.com/library/instruments.html instruments] [http://laynephillips.ifrance.com/article/free-antivirus-software.html free antivirus software] [http://astridorona.ifrance.com/search-engine.html search engine ranking improvement] [http://huldagriggs.ifrance.com/articles/airline-continental.html airline continental flight schedule] [http://renatamonty.ifrance.com/booty.html booty] [http://giant.ns02.biz/blog/real-estate-orlando.html real estate orlando florida] [http://joyegrundy.ifrance.com/article/desk-lamps.html desk lamps] [http://keshiacalfee.ifrance.com/description/copper-river.html copper river salmon] [http://karigalles.jushige.cn/blog/real-estate-agents.html real estate agents in nevada] [http://cried.sixth.biz/topic/if-i-told-you.html if i told you youre wonderful lyrics] [http://brittanyelwood.ifrance.com/topic/republic-garden.html republic garden] [http://desiraecosby.ifrance.com/library/2pac-lyrics.html 2pac lyrics] [http://joyegrundy.ifrance.com/article/pot-racks.html pot racks] [http://antionetterikar.ifrance.com/small/refinance-loan.html refinance loan online] [http://cdn-slave.isuisse.com/blog/mickie-krause.html mickie krause mp3] [http://shenitayoungqui.ifrance.com/nordette.html nordette] [http://lakeshiacoria.ifrance.com/animal-cartoon.html animal cartoon clipart free] [http://joyegrundy.ifrance.com/article/thank-you-poems.html thank you poems] [http://scourg.ikwb.com/new/nightwish.html nightwish] [http://antionetterikar.ifrance.com/small/gwen-stefani-overweight.html gwen stefani overweight] [http://alyshabeery.ifrance.com/blog/fur-coat.html fur coat] [http://mala-gorie.ibelgique.com/article/its-a-boy-baby.html its a boy baby shower invitations] [http://swill.ns1.name/article/magazine-prince.html magazine prince prince wife woman] [http://libbiemorphis.ifrance.com/blog/neurotin.html neurotin] [http://swill.ns1.name/article/lazy-snl-sunday.html lazy snl sunday video] [http://lexiehorton.ifrance.com/39564.html 39564] [http://roseleeheredia.ifrance.com/bisexual.html bisexual] [http://shenitayoungqui.ifrance.com/free-motorola.html free motorola phone tool download] [http://azzietorgerson.ifrance.com/pre-employment.html pre employment screening] [http://char-zheckz.ibelgique.com/adhd-brain-function.html adhd brain function] [http://tee-docs.isuisse.com/web/rankings.html rankings] [http://daniel.ygto.com/wiki/32-in-flat-screen.html 32 in flat screen lcd] [http://gwenluttrell.ifrance.com/wiki/jockstrap-fantasies.html jockstrap fantasies] [http://kimimattingly.ifrance.com/view/top-notebook.html notebook top] [http://scourg.ikwb.com/new/cloud-9.html cloud 9] [http://candicepray.ifrance.com/blog/cody-pickett.html cody pickett] [http://loving-skate.isuisse.com/pages/vw-passat-headlight.html vw passat headlight bulb] [http://spend.vizvaz.com/rachel-robertson.html rachel robertson actress] [http://canyondrey.ibelgique.com/topic/ugo-networks-inc.html ugo networks inc] [http://cristinamassey.ifrance.com/escort-nyc-site.html escort nyc site myspace.com] [http://poni-tto.isuisse.com/pages/wits-end-org.html wits end org] [http://linharward.profil.in/james-david.html james david carter] [http://renatamonty.ifrance.com/julie-chen.html julie chen] [http://alyshabeery.ifrance.com/blog/endicom.html endi.com] [http://kimimattingly.ifrance.com/view/small-cell-sarcoma.html small cell sarcoma] [http://leonoreswaney.ifrance.com/listing-of-doctors.html listing of doctors in my town] [http://antionetterikar.ifrance.com/small/email.html email] [http://departiz.jushige.cn/giantess-high.html giantess high heel crush] [http://canyondrey.ibelgique.com/topic/kissed-vegetas-cock.html kissed vegetas cock lips] [http://huldagriggs.ifrance.com/articles/california-car.html california car insurance] [http://huldagriggs.ifrance.com/articles/cingular-go-phone.html cingular go phone] [http://poni-tto.isuisse.com/pages/nvidia-bios-flasher.html nvidia bios flasher] [http://departiz.jushige.cn/jane-katz.html jane katz] [http://brittanyelwood.ifrance.com/topic/mini-chopper-motorcycle.html mini chopper motorcycle] [http://itinerantsphinx.iespana.es/blog/cardiac-catherization.html cardiac catherization] [http://gildachoice.ifrance.com/small/nissan-car.html nissan car] [http://lapsed.trickip.net/lake-placid-florida.html lake placid florida] [http://x-accipiter.isuisse.com/small/jean-luke-picard.html jean luke picard] [http://dessiegiancola.ifrance.com/express-payday.html express payday loan] [http://predicygirl.jushige.cn/styles/nextel-i730-mp3.html nextel i730 mp3 ringtone] [http://departiz.jushige.cn/the-white-tigers.html the white tigers] [http://dessiegiancola.ifrance.com/weather-uk.html weather uk] [http://daniel.ygto.com/wiki/tuxedo-sports.html tuxedo sports] [http://selphie-jazz.ibelgique.com/cellphone-wallpapers.html download cellular phone wallpaper] [http://itinerantsphinx.iespana.es/blog/american-express.html american express service travel] [http://swill.ns1.name/article/democratic-party.html democratic party] [http://x-accipiter.isuisse.com/small/new-york-non-resident.html new york non resident income tax form] [http://cristinamassey.ifrance.com/wall-safe.html wall safe] [http://spend.vizvaz.com/raymour-and-flannigan.html raymour and flannigan furniture store] [http://selphie-jazz.ibelgique.com/lamborginis.html lamborginis] [http://renatamonty.ifrance.com/santa-fe-casita.html santa fe casita rentals] [http://cdn-slave.isuisse.com/blog/hed.html hed p e] [http://janniekilroy.ifrance.com/content/sims-2-nude-skins.html sims 2 nude skins] [http://leonoreswaney.ifrance.com/abacus-electronics.html abacus electronics california] [http://renatamonty.ifrance.com/reformation.html reformation] [http://keelynall.ifrance.com/content/discount-bedding.html discount bedding online] [http://laynephillips.ifrance.com/article/spinal-tap-headache.html spinal tap headache] [http://swill.ns1.name/article/delta-airline-jobs.html delta airline jobs] [http://lestenger.ifrance.com/resources/exxon-gas-card.html exxon gas card] [http://keshiacalfee.ifrance.com/description/homes-for-sale.html homes for sale arizona] [http://maryannecrossle.ifrance.com/blog/prom-hairdos.html prom hairdos] [http://cindisheen.ifrance.com/view/free-birthday.html free birthday ecards] [http://daniel.ygto.com/wiki/list-of-free-government.html list of free government grants] [http://dessiegiancola.ifrance.com/marine-batteries.html marine batteries] [http://shainarainville.ifrance.com/web/online-golf.html online golf instruction] [http://mairarolston.ifrance.com/eva-longoria-fhm.html eva longoria fhm photos] [http://myrtiswillis.iespana.es/barbi.html barbi com] [http://letishablumberg.iespana.es/q/winnie-the-pooh.html winnie the pooh baby shower invitations] [http://coribergquist.ifrance.com/pages/the-dive-from-clausens.html the dive from clausens pier by ann packer] [http://antionetterikar.ifrance.com/small/decorative-columns.html decorative columns] [http://tee-docs.isuisse.com/web/barnett-shale.html barnett shale] [http://x-accipiter.isuisse.com/small/ramada-inn-new.html ramada inn new carrollton maryland] [http://giant.ns02.biz/blog/the-modern-seismograph.html the modern seismograph] [http://gildachoice.ifrance.com/small/novelty-phone.html novelty phone] [http://coribergquist.ifrance.com/pages/penile-erection.html penile erection] [http://lapsed.trickip.net/river-city-cycle.html river city cycle] [http://trilingualgirl.ourprofile.info/library/ligacoes.html ligacoes] [http://lakeshiacoria.ifrance.com/land-for-sale.html land for sale springfield missouri] [http://aldaboykins.profil.in/resources/pour-encourager.html pour encourager les autres voltaire] [http://shonnaculbert.ifrance.com/lib/mosh-song-lyrics.html mosh song lyrics] [http://kimimattingly.ifrance.com/view/mazda-6.html mazda 6] [http://leonoreswaney.ifrance.com/grand-opening.html grand opening banners] [http://daniel.ygto.com/wiki/pearl-harbor.html pearl harbor] [http://sergeshestakov.ourprofile.info/description/wocozi.html wocozi] [http://huldagriggs.ifrance.com/articles/threeway-mmf.html threeway mmf] [http://sanadche.ibelgique.com/blog/peacock-pic.html peacock pic] [http://azzietorgerson.ifrance.com/sleeping-bag.html sleeping bag liner] [http://oliviagrimaldo.ifrance.com/view/kiss-slowly-quotes.html kiss slowly quotes] [http://alyshabeery.ifrance.com/blog/oldham-county.html oldham county kentucky board of education] [http://lestenger.ifrance.com/resources/johnson-family.html johnson family name] [http://giant.ns02.biz/blog/reverse-cellular.html reverse cellular lookup free trial] [http://maryannecrossle.ifrance.com/blog/it-show-tv-yourself.html it show tv yourself] [http://trilingualgirl.ourprofile.info/library/video-production.html video production service] [http://cried.sixth.biz/topic/2005-bewerbungs.html 2005 bewerbungs master] [http://shainarainville.ifrance.com/web/free-hosting.html free hosting] [http://agued.ns01.info/library/near-line-storage.html near line storage solutions] [http://carleehallum.ifrance.com/comments/underage-female.html underage female models] [http://kerenfenske.jushige.cn/new/partypoker-bonus.html partypoker bonus] [http://shainarainville.ifrance.com/web/renault-clio.html renault clio 2005] [http://kimimattingly.ifrance.com/view/magical-spell.html magical spell] [http://libbiemorphis.ifrance.com/blog/certified-pharmacy.html certified pharmacy technician salary] {| align=right
+
{| align=right
 
|-
 
|-
 
|  
 
|  
Line 58: 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.
 
----
 
----
  

Revision as of 09:42, 2 January 2008

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

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 Port 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