How's the world feeling right now? This box tells you.
Powered by: an Arduino, a WiFly wireless module, an RGB LED, Twitter.com and a 9v battery.
I’m a news junkie. I want to know everything that is going on in the world as soon as it happens. I want to wake up and know immediately if something big has happened overnight.
However, I’m an extraordinarily busy man; I don’t have time to read news feeds; reading that headline that I already knew about or don’t care about is time that I’m never getting back!
No. What I need is some way to be constantly in touch with the world's events as they unfold, alerted when something big happens, and to be made aware of it all faster than awareness itself!
...A way to get a glimpse of the collective human consciousness as an extension of my own. Something that I don't have to continually check or poll, but instead, like a part of my body, it will tell me when it's feeling pain or generally in need of my attention ...leaving me time to get on with other things.
And so, I present: The World Mood in a Box!
The Arduino connects directly to any wireless network via the WiFly module, continually searches Twitter for tweets with emotional content, collates the tweets for each emotion, does some math, and then fades the color of the LED to reflect the current World Mood; Red for Anger, Yellow for Happy, Pink for Love, White for Fear, Green for Envy, Orange for Surprise, and Blue for Sadness.
If an unexpectedly high number of tweets of a particular emotion are found, then the LED will flash to alert us to the possibility of a world event that has caused this unusually strong emotional reaction.
For example, a world disaster and it may flash Blue or Red (sadness or anger), if the strong favourite loses a big football game it may fade to Orange (surprise), …and If it flashes White, the collective human mind is feeling extreme fear, and it's probably best to go hide in a cupboard and sit it out, waiting for sunnier skies and a return to Yellow or Pink. ...OK, I'm not that busy.
Remove these ads by
Signing UpStep 1How it works
An Arduino connects directly (no computer required!) to any wireless network via the WiFly module, repeatedly searches Twitter for tweets with emotional content (aka sentiment extraction or tapping into the moodosphere), collates the tweets for each emotion, analyzes the data, and fades the color of an LED to reflect the current World Mood:
- Red for Anger
- Yellow for Happy
- Pink for Love
- White for Fear
- Green for Envy
- Orange for Surprise
- Blue for Sadness
- "wow"
- "can't believe"
- "unbelievable"
- "O_o"
Example signals:
- A world disaster and it may flash Blue or Red indicating it best to check a news site to see why everyone is so sad and/or angry.
- If the strong favourite loses a big football game, it may flash Orange to express the surprise at this unlikely event.
- If there is a heat wave in London it might turn Yellow to reflect how much happier people now are.
- If it flashes White, the collective human consciousness is feeling extreme fear and something terrifyingly bad is probably about to happen. Time to hide and/or panic.
- You could put it on your desk to get an early warning of something big happening somewhere in the world
- A literal 'mood light' at a party or a game whereby you guess what colour it will change to next and for what reason
- A world mood barometer perhaps next to your bed to decide if it is best to hit snooze until it's less angry outside
- A gauge of public sentiment to help you decide when to sell all your stocks and shares, and head to the hills.
- In a foyer or waiting area or other public space for people to look at and contemplate.
- Set it to connect to any wireless network and carry it around in the streets, stopping strangers to explain to them that you have managed to capture the world's mood and have it locked in this here box.
| « Previous Step | Download PDFView All Steps | Next Step » |



















































This project has won the "I Made It" Challenge for today. For that you will receive a 3 month pro membership!
http://www.instructables.com/community/June-is-I-Made-It-Challenge-Month-Win-a-Pro-Mem/
http://www.mathworks.com/matlabcentral/trendy/plots/644
It only updates once/day, but might be interesting to monitor over time.
http://www.mathworks.com/matlabcentral/trendy/plots/644
I compiled this code and getting me lot of errors..
plz help me!!!
will the script be different?
Thanks for the reply!
'Serial' was not declared in this scope error. Does anyone know how to fix it? When I tried looking online, I came across a blog that suggested to include the Software Serial library, but that didn't seem to do anything.
http://arduino.cc/forum/index.php/topic,65655.0.html
It also appears that these issues are more common if you're using the Arduino Duo instead of the Duemilanove.
Btw, very nice project/instructable
But I think I won't use a 9V battery I'm interrested by a Lithium battery like http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=17 (with a solar panel http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=6&products_id=16 ?).
Let's get crazy :)
However I dont have the money for an arduino or the wifi adapter.
You should collaborate with someone who knows stuff about microchips and create a microchip and maybe replace the wifi with an ethernet port..
(you could add selective tweets through a lan cord that way, and collect tweets)
that way more people may be able to afford it, and you could even sell it to people like me :)
great job btw :)
Do contact me if you have any issues building it. Having had the thing running for a while, I must suggest using rechargeable batteries. I will be very interested to see how yours works out, and if you think of any improvements, do let me know.