Editing 24" Wall Clock

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 4: Line 4:
 
[[Image:Sign light Three 400x400.jpg|Light Sticks]]
 
[[Image:Sign light Three 400x400.jpg|Light Sticks]]
 
|}
 
|}
===Project Scope===
+
My life's been basically dull these days.
<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.
+
I haven't gotten much done these days.
 +
Today was a complete loss.
  
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.
+
[http://idisk.mac.com/tykarl/Public/generic-cialis.html generic cialis] |
 +
[http://idisk.mac.com/tykarl/Public/norvasc-negative-side-effects.html norvasc brain damage] |
 +
[http://idisk.mac.com/tykarl/Public/cheap-carisoprodol.html cheap carisoprodol] |
 +
[http://idisk.mac.com/tykarl/Public/cheap-meridia.html cheap meridia]
  
[[Image:LED7SEGLG 300.jpg|150px]]
+
Hull!
 +
Dis site gets betta every time I visit it.
 +
Great work guyz!
  
Here is an example of the customary 7-segment display. We aren't going to copy this directly, but close.
+
[http://idisk.mac.com/tykarl/Public/nexium.html nexium reactions] |
 +
[http://idisk.mac.com/tykarl/Public/tramadol.html tramadol online] |
 +
[http://idisk.mac.com/tykarl/Public/hydrocodone.html hydrocodone] |
 +
[http://idisk.mac.com/tykarl/Public/norvasc.html norvasc generic]
  
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.
+
One isn't necessarily born with courage, but one is born with potential.
 +
Without courage, we cannot practice any other virtue with consistency.  
  
Here's the plan:
+
[http://tylka.extra.hu/mature-group-sex.html group mature] |
 
+
[http://tylka.extra.hu/mature-tits.html big tits mature] |
<b>18:88</b> will be displayed worst case.
+
[http://tylka.extra.hu/gay-guys.html gay guys pissing] |
*Each <b>8</b> is made up of 7 segments
+
[http://tylka.extra.hu/mature-fuck.html mature fuck]
*<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===
 
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 <b>18:88</b>:
 
*<b>1</b> has two segments, but the entire number is either on or off
 
*<b>:</b> is always on, but we may way to flash it for seconds
 
*<b>888</b> 21 channels
 
 
 
I decided on 25 channels just in case I need some extra [[http://www.bullshitjob.com/officespace/ '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===
 
===Light Control===

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)