Ö÷²¥´óÐã

« Previous | Main | Next »

Building things for the office - the final day

Post categories:

Yasser Rashid Yasser Rashid | 17:01 UK time, Wednesday, 17 September 2008

After three days of physical prototyping we made it! Behold Dog Vader...

Sorry, you need to update your Flash Player

You might be wondering what it does? Incoming SMS to Radio 1 affect the mood of the dog; when it sits up the dog is happy and when it's sad it lowers its head. Someone touching its paw causes it to read out the latest SMS that matches its current mood.

This diagram explains some of how it works.

process.jpg

Some Ruby code reads all the incoming SMS and matches each message against two lists, one of 'happy' positive words and the other of 'sad' or negative words. This is averaged over a number of messages to give a regularly updating mood score between one (sad) and nine (happy). Nic also managed to write code that reconstructs an average SMS based on words from all the messages queued up. Hopefully he will be able to explain more very soon.

This code then sends the messages and the mood score to a sketch which interacts with the board to raise and lower the dog's head (using a servo motor) and read from the sensor in the dog's paw. Whenever this is activated we use Apple text-to-speech to read out the SMS.

The team was fantastic and worked really hard to get everything up and running by 4pm today when they presented Dog Vader to the rest of the department. It went down really well with everyone. Finally, well done to the team:

Pete Warren - Kennel builder and mechanical genius.
Nat Gochin - LED and sensor maestro.
Conor Curran - Ruby master
Nic Ford - Super sub and SMS manipulator
David Cooper - Scavenger of materials
Chris Thorne - the Dog Father

Comments

  • No comments to display yet.
Ìý

Ö÷²¥´óÐã iD

Ö÷²¥´óÐã navigation

Copyright © 2015 Ö÷²¥´óÐã. The Ö÷²¥´óÐã is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.