Web Controlled Dark Crystal


[Reza] sent in his mood rock. Unlike other “mood” devices, instead of showing what mood you’re in, it shows what mood the internets are in. Two ShiftBrite modules are controlled by an AVR ATmega8 which then connects to a computer via USB. The assembly is placed inside of a piece of alabaster.

USB communications are controlled by the ATmega8 running V-USB (formerly AVR-USB) firmware. [Reza] wrote some code to control the colors from the web using Perl and AJAX. Head over to the web interface to set the colors yourself. We’d love it if a live webcam was added so we could see our mood on the rock itself.[youtube=http://www.youtube.com/watch?v=aUOcE_a_99c]

11 thoughts on “Web Controlled Dark Crystal

  1. I’ve got a web cam here – any suggestions for some software that’s reasonably lightweight to steam?

    The colors are already changing, kinda strange wondering who’s controlling it..

  2. Reza – I think it would be cool if you made it to where each time someone visited, they added a certain RGB value to one color, and took one away from the others. That way, it’s could indicate the mood of all visitors at one time. (Or maybe just have a sort of triangle set up – Each vertex stands for a color (I.e.: Red, Black, and Blue. People push an indicator to one of the corners of their choice for each visit, so slowly, it begins to indicate the mood of the collection of people for that day. That’d be awesome!)

  3. Pretty cool! Reza, what if you set it up to look for keywords in certain groups(eg. happy, sad, angry) on single pages, page groups or pages you’re looking at currently and have it change based on that.

  4. It’s still my intention to make one of these, to use as status notifications (green pulse for new mail, for example, in between more neutral fading) With the alabaster it looks awesome. How visible is this in day/office light?

  5. It’s actually quite visible and the web cam does not do it justice. Looks much better in person. I just updated the code so the forking step is removed and I stream updated values via pipes. It’s now almost instantaneous and suffers no lag as the value is updated.

  6. this is fun for no apparent reason! i just spent like 15 minutes going from color to color and watching it update! it only changed to a color i hadn’t picked once (darn internet people doing it faster than me!)


Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.