Router/Twitter/Arduino clock

posted Sep 16th 2009 9:00am by
filed under: arduino hacks, led hacks

ledclock

[Kyle] decided to build the above LED clock for his church. Though it may look impressive enough, it is also hiding loads of features. [Kyle] wanted to make the clock as easy to control as possible, so rather than use buttons or dials to control what is being displayed, he used Twitter. The clock is connected to the internet through a Linksys WRT54GL. The router was hacked so not only does it supply the connection to Twitter, it also parses all of the replies the clock’s feed gets. The clock responds to commands to turn it on or off, run a countdown before service, display the number of viewers on the church’s live stream, and display a sequence of numbers. The time never needs to be set, as it is synched from the internet. The circuit for actually driving the display is based off a PIC, but it was changed to run off an Arduino.



57 Responses to Router/Twitter/Arduino clock

  • lindan says:

    it should tweet the pastor when his sermon starts going over, man my pastor could really use that…

  • thedudefrommiamivice says:

    Does it count down to the second coming of christ?

    Or would that cause a runtime error, possibly an infinite loop since the condition can’t be met.

    Little anti-theist humor there.

    Cool none the less, well done.

  • sly says:

    none will know the time…

    but all will know what is the time…

  • strider_mt2k says:

    Does anybody really know what time it is?

    Does anybody really care?

  • salsa says:

    Would be funny to program this to run progressively more slowly over the course of a service.

  • DC says:

    More unnecessary use of twitter…

  • farthead says:

    it uses twitter for the sake of using it.

    with what he has there is ZERO need to use twitter.

  • Yrb says:

    Religion sucks ass, more hacks.. less ass.

  • Hearing Aids says:

    That’s a pretty good idea. Well done.

  • monkeyslayer56 says:

    SWEET twitter AND an arduino :) does it get much better then that.

  • TJ says:

    “as easy to control as possible”

    Translated into needing an entire computer, an internet connection, a web browser and two twitter accounts, instead of … “buttons or dials”

    Human Interface Design Fail.

  • Klaymen says:

    @monkeyslayer56

    the phrase is “doesn’t get much better than that”. and yes it does. not everyone is hung up on the twitter and arduino craze. to most of us, this is pretty pointless. just because it uses a popular web “service” and a popular microprocessor does not automatically make it an awesome processor.

  • Klaymen says:

    @monkeyslayer56

    the phrase is “doesn’t get much better than that”. and yes it does. not everyone is hung up on the twitter and arduino craze. to most of us, this is pretty pointless. just because it uses a popular web “service” and a popular microprocessor does not automatically make it an awesome project.

  • Tom says:

    Good thing they avoided those complicated buttons, nothing like trendy Web 2.0 services to streamline your usability.

  • andrew says:

    @Klaymen: i’m pretty sure it was a joke.

  • monkeyslayer56 says:

    @Klaymen
    it was more of a joke then anything and i said “DOES it get much better then that” not “it doesn’t get much better then that”

  • Hackius says:

    so it uses twitter AND arduino AND convulted logic. It’s like it was designed to spite the readers and complainers here

  • _matt says:

    In the interest of making it easy to control, he’s made a Rube Goldberg clock/timer/counter….

    I like it

  • rofl says:

    Hackius: “so it uses twitter AND arduino AND convulted logic”

    Jacob Woj: “[Kyle] decided to build the above LED clock for his church.”

    good fit

  • jan says:

    0mf6 +h1Z 1Z +h3 fUck1n6 4++4ck 0f +h3 l33+ h4x0R

    4RdU1n0 5+Yl3 m33+Z +w1++3R..

  • cantido says:

    It’s weird how there are “techy” people, who should be fairly rational, believe in fairy tales.

    Anyhow.. that’s a lot of hardware/pointless stuff to implement this. I would have been more impressed if he used twitter but drove the display from the WRT’s GPIO. Otherwise the WRT is just a waste.. why not one of the ethernet shields off of ebay? or just some buttons instead of twitter?

  • rofl says:

    @jan It worries me that I can understand that.

  • samurai1200 says:

    why do all these anti-religion nuts always feel compelled to trash-talk religion? the article didn’t push any views. it simply used the word “church”. how horribly intolerant…

  • thedudefrommiamivice says:

    @samuri
    Yeah because the church has NEVER been intolerant of outside views. The crusades were probably more like a pillow fight than the bloody masacre history makes them out to be.

    Logic ftw

  • cantido says:

    >anti-religion nuts

    People that believe in sky fairies, stoning people to death, covering up sexual abuse etc etc shouldn’t really go about saying others are nuts IMHO.

  • Mike says:

    If it’s connected to the internet, why receive the time settings from twitter? Why not just get them from an Internet Time Server such as http://tf.nist.gov/tf-cgi/servers.cgi ?

    Mike

  • trialex says:

    This project, posted on HaD, linked to my project as part of the background info. That’s gotta be worth some nerd points.

  • Taylor says:

    @cantido:
    So what exactly do you believe then?

  • Tim says:

    @monkeyslayer56 – I imagine the complaint about language was the use of “then” instead of “than”. “Then” is a relative point in time, while “than” is used for comparison. Since you used the same word not only in the original post but also in the follow-up, it indicates a lack of awareness of which word should be used rather than a simple typo. In addition, the structure of your OP is a query, so should have been terminated with a question mark rather than a period. I’m not the grammar police, but the increasing confusion between “then” and “than” is annoying.

  • name (required says:

    will all of you guys shut up and stay on topic?

    p.s. JESUS FTW

  • Gilliam says:

    antitheist ftw.

    god said let them have no buttons, then god said “lol ok, maybe they can use twitter and a keyboard full of buttons” and he thusly lol’d(and caused a thunderstorm). thus god made the story of “the large church LED clock” longer than it ever needed to be… and had it added to the new testament… and also in microbible print… and also onto the shell of a tortoise, which he taunted Buddha with.

  • Raged says:

    I don’t see what all the hate about twitter is. What I see is someone who used a technology to expand it’s original function. Maybe he wanted the commands user readable.

    Not only do you have a simple, prebuilt, no real need to maintain way to communicate two parallel functions; he also creates a readable log (maybe someone else wants the notifications).

    There are other (more efficent) ways to do this, so give suggestions. I don’t use an adrino in production but I have a twitter account for my apps to do SMS for me. When ever it breaks I don’t have to worry about it, twitter’s tech crew is working on it.

  • Zymastorik says:

    @ Raged, Twitter is a useless pile of shit and so is Plurk and all of the other ‘social’ websites.

    Other than the fact that this is way too much effort for something so simple I guess you can bank another cha-ching on your Arduino advert points yes? It Twitter kicking in now too?

  • therian says:

    It scary that such people might become engineers and make new products…. For something simple as this make it into full web server.. when all it need cheapest uC and IR for remote control

  • luke says:

    ( insert anti religious comment here)
    can we get back on topic about the hack ?
    its a VERY cool hack, sure somewhat un-necessary and over engineered but, thats what hacks are sometimes about !
    ( insert statement about what religion/s i do/dont belong to )

  • monkeyslayer56 says:

    @tim
    sry for missuing the word i guess i wasn’t in “school mode” and as for the fowlow up same resaon and the ctrl+c ctrl+p :)
    btw again i must say cool hack

  • enufalready says:

    “somewhat un-necessary and over engineered”

    i’m totally unsure what you mean by “somewhat”

  • Jacob Woj says:

    Twitter may seem like overkill, but it is cleverly implemented for remote control. The clock could have had its own server set up for receiving commands, or use a service (in an unconventionally way) that runs on much more secure and reliable servers (Twitter). The fact that it was built for a church does not relate to the quality of the hack (in any technical sense) rendering a good portion of the comments irrelevant.

  • Thedudefrommiamivice says:

    Flying spaghetti monster FTW!!!

    Bow to my noodly appendages.

  • hey jebbus says:

    Please please please keep religious vomit out of my hackaday at all costs.

  • stunmonkey says:

    Twitter isn’t entirely useless. Surprisingly, there have been two good uses its been put to;

    First, rioters have used it to keep ahead of police movements in real-time. Definite win.

    Secondly, us old farts have discovered a message with embedded link with a tag that is really heavily searched at that moment will get literally tens of thousands of young’uns that don’t get the reference to Goatse themselves over their smartphones simultaneously, like a herd of lemmings.
    That’s gotta be worth something. Not much, but something.

  • hairyjuan says:

    @everyone knocking on god: you gonna burn

    @every one knocking on twitter: you gonna burn twice

    http://twitter.com/god

  • darwin says:

    ——————————
    cantido said:
    It’s weird how there are “techy” people, who should be fairly rational, believe in fairy tales.
    ——————————-

    You’re right. How could any *rational* person believe that one day, for *no* reason at all, a pin-dot appeared, exploded, and then became an entire universe. Not only that, but randomly, pi, planck’s constant, gravitation constants, the values for strong and weak nuclear forces, e, the speed of light, and a hundred other critical universal parameters just happened to be right to allow for the formation of stars and fusion processes to form heavier elements. Then, magically, a planet was formed at the perfect distance from the correct-sized and aged sun, surrounded by a moon that was just right to stabilize the spin of that planet and induce tides. Then, molecules randomly assembled themselves to form living structures that scientists, after a 100 years of study, still cannot reproduce. Lets not forget that these primitive structures then developed, on the basis of natural selection and mutation, into beings capable of pondering god and their own creation (a talent, by the way, that has no “evolutionary” benefit, and should not have developed via “evolution.”

    I expect scientists to be brutally honest about objective data. The idea that all of this happened by chance is absurd. The *data* shows evidence of refined design. As an engineer, I can recognize the difference between random events and design. Can you?

    You are correct that there are *large* numbers of otherwise rational people who are buying into utter bullshit, but it’s not the people you think.

  • octel says:

    @darwin
    “randomly, pi, planck’s constant, gravitation constants, the values for strong and weak nuclear forces, e, the speed of light, and a hundred other critical universal parameters just happened to be right to allow for the formation of stars and fusion processes to form heavier elements.”

    These forces and constants were only “right” because we are alive to observe them. See this page for more details:
    http://en.wikipedia.org/wiki/Anthropic_principle

    “Then, magically, a planet was formed at the perfect distance from the correct-sized and aged sun, surrounded by a moon that was just right to stabilize the spin of that planet and induce tides.”
    Not magically, but scientifically. There are clearly defined laws and guidelines which define how and when planets can form. Also, as far as the earth, moon, and sun being correctly positions, please refer to the page on the anthropic principle.

    “Then, molecules randomly assembled themselves to form living structures that scientists, after a 100 years of study, still cannot reproduce.”
    This is absurd. What molecules can’t scientists reproduce? Name one.

    “Lets not forget that these primitive structures then developed, on the basis of natural selection and mutation, into beings capable of pondering god and their own creation (a talent, by the way, that has no “evolutionary” benefit, and should not have developed via “evolution.””

    Not everything has to have an “evolutionary” benefit. Evolved traits only come into play in a critical way when they they determine the lifespan/number of offspring or the creature in question. Maybe the ability to ponder “god” is actually an evolutionary DETRIMENT, since when too many humans ponder “god” differently they end up mass-murdering each other over conflicting beliefs.

    “The *data* shows evidence of refined design.”

    Prove it.

    “You are correct that there are *large* numbers of otherwise rational people who are buying into utter bullshit, but it’s not the people you think.”
    Die in a fire.

    “As an engineer, I can recognize the difference between random events and design.”
    If, as an engineer, you believe in “intelligent design” (creationism), that’s your decision. However, thanks for advertising the fact that you’re unfit to be a scientist. You might be able to design some widget, but a scientist you are not.

  • Chris says:

    @darwin

    I’ve always put it this way to religous fanatics – Sure god (or whatever surpreme being(s) you believe in) may have created us, evolution is HOW we were created.

  • raged says:

    @Zymastorik

    So how would you have done it? Would you have it read a database or a dynamic web page for updates? What is your more simplistic time? and how much R&D time does it take to design the simplest way?

  • samurai says:

    @octel
    scientist != !religious
    religious != !scientist

  • octel says:

    @samurai:
    I never claimed a blanket statement about religion and science. Many intelligent people can integrate both, but keep them in their separate realms.

    I was specifically saying that “darwin” was not thinking scientifically because of his blatantly erroneous claims and conclusions.

  • samurai says:

    @octel

    that’s cool. as long as you just leave me be to design comm equipment AND go to church.

  • monkeyslayer56 says:

    funny how most of the comments are not even relevant to the hack

  • darwin says:

    >See this >page for more details:
    >http://en.wikipedia.org/wiki/Anthropic_principle

    Tell you what… I haven’t insulted your intelligence by quoting the bible, so don’t insult my intelligence by quoting “wikipedia.”

    But, since you think *you* are a scientist, why don’t you quantify for me what you think the numerical odds are that the universe would turn out the way it is, given that all things are random.

    >Not magically, but scientifically. There are >clearly defined laws and guidelines…

    I love that! Since when do random events result in “laws and guidelines?” Laws and guidelines are generated by *intelligence.* They don’t emerge when you throw a fistful of crap against a wall.

    >Also, as far as the earth, moon, and sun being >correctly positions, please refer to the page on >the anthropic principle.

    Blah blah blah.

    >“Then, molecules randomly assembled themselves >to form living structures that scientists, after >a 100 years of study, still cannot reproduce.”
    >This is absurd. What molecules can’t scientists >reproduce? Name one.

    In your zest to impress us, you’ve demonstrated that you don’t read very carefully. I said that the thing that scientists cannot reproduce are *living things.* The best they can do is modify living things, or combine parts of living things. They cannot create them from scratch. When and if they ever do, this will not undermine the argument for intelligent design, it underscores it. In other words, how is it that advanced technology is required to reproduce an effect that you claim was caused by nothing more than the flip of a coin?

    >Not everything has to have an “evolutionary” >benefit. Evolved traits only come into play in a >critical way when they they determine the >lifespan/number of offspring or the creature in >question. Maybe the ability to ponder “god” is >actually an evolutionary DETRIMENT, since when >too many humans ponder “god” differently they >end up mass-murdering each other over >conflicting beliefs.

    I see. I suppose in your mind this trait must have arisen from a gamma ray that disrupted some DNA somewhere and created a mutation. Man, are you reaching.

    “The *data* shows evidence of refined design.”
    >Prove it.

    Easy. Let’s conduct an experiment. Each of us will receive 10 tons of earth with minerals in it. I will take my 10 tons, and through intelligent design, refine the minerals, cast, extrude, forge and machine parts, and then assemble a working pocket watch. You, on the other hand, will observe your pile of dirt sit as it undergoes “random” natural processes.

    I hope you are honest enough to admit that the universe will be a cold, dark, dead place, in which every star has burned it self out, long before enough time has passed for your dirt to have spontaneously assembled itself into a watch– or anything else for that matter.

    “You are correct that there are *large* numbers of otherwise rational people who are buying into utter bullshit, but it’s not the people you think.”
    >Die in a fire.

    Funny. You connect belief in god with mass-murder, and then you, an enlightened non-believer, wish me death. Obviously I touched a nerve.

    The funny thing is that, of the two of us, *you* are the religious one. You are the one who has invested yourself in a faith in theories that are short on answers, and full of holes. On the other hand, I’m willing to look at explanations that match the data, even if it offends my (or other peoples’) secular sensibilities.

    >However, thanks for advertising the fact that >you’re unfit to be a scientist. You might be >able to design some widget, but a scientist you >are not.

    I don’t think you know what a scientist is. The hallmark of a *real* scientist is the ability to be *objective,* and to fit the theory to the data, not the other way around. Given your obviously rigid belief system, and your desire to see people who disagree with you “die in a fire,” I submit that it is *you* who is unfit to be a scientist. You are incapable of viewing the world from any vantage point but your own.

    Do some research on pons and fleischmann. these people were objective enough to report an observed physical effect, even though it did not fit in with accepted models. the two were, pardon the phrase, “crucified” for doing so by people with your attitude. Emerging research is beginning to show that they were correct. I wonder how many of the pompous experts that assailed them have the character to apologize.

  • darwin says:

    @chris-

    >I’ve always put it this way to religous fanatics >– Sure god (or whatever surpreme being(s) you >believe in) may have created us, evolution is HOW >we were created.

    I don’t think I would disagree with you.

    I would make this point, however. “evolution” is not “a” thing or “a” theory. It is a collection of theories.

    Some parts are well established and beyond dispute. This is because they can be observed and/or replicated in the laboratory. I can *prove* the principles associated with natural selection, or example, using some bacterial cultures and some watered-down antibiotics. If you don’t believe in natural selection, you’re not being objective.

    however, another part of evolution… trans-species evolution for example, is much more theoretical. No one has over observed one species turning into another.

    In fact, experiments of this nature have been conducted on fruit flies to try to demonstrate this, by applying the mututation-effects of radiation. They’ve dosed, zapped, and bred millions of fruit flies. They’ve produced flies with too many wings, no head, missing legs, double bodies, strange hairs or weird colors, but not once have they ever produced a different species of fly… let alone a lizard, a rat, or a chimp.

    In the absence of better evidence, it is prudent to take this aspect of evolution with a grain of salt.

  • Kyle says:

    There seems to be a lot of hate for twitter interfaces. Knobs and buttons? The thing is on a balcony, and the arduino was out of I/O in my design. Twitter is the easiest thing for non-techie people to use.

    @mike it does use an ntp server, I’m not using a RTC so the timing is not 100%, it requires daily syncing.

    @cantido GPIO on the wrt, now that would be tight. I didn’t think about that. I needed the router instead of a shield because I needed the ability to connect to my vpn, and be a little more reliable. The church doesn’t control the network there so it needs to be a dumb dhcp client and phone home.

    @therian I was going to do IR, but the thing is people always lose remotes. If I had more IO and time I would have done both IR and twitter

  • anon says:

    This is a TROLL HACK you guys. Hack-a-day community is trolled.

  • It was an interesting project, but still, serious overkill, all you need is a cheap open-wrt router and an avr with a rtc (yes, I’m a PIC hater). No need for Arduino and $80 Linksys.

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks










         




    Hacks

    Resources