Tag Archives: lilypad arduino wearable electronics microcontroller hack pachubehack hacking code prototype sensor LED

Temperature sensing t-shirt (AKA: “Yr in mah face!”)

'Yr in mah face' temp-sensing t-shirt

At last weekend’s 24-hour Pachube Hackathon, I created an electronic wearable I wasn’t expecting to make! To clarify that statement, I intended to hack on a LoL Shield I’d recently soldered together (it has 126 LEDs = steady hands needed & much love to the soldering iron ;-)). Unfortunately, I’d mislaid an accelerometer to interact with the LEDs, so it was no go for that hack…

Spaghetti croc clip testing works!

After spreading out all my spare LilyPad Arduino components and kit from my toolbox on the table at Pachube Hackathon, I decided on a new hack – a temperature sensing t-shirt! I spent some time writing and debugging the code before it would happily compile in the Arduino IDE. I then tested the code by uploading it to the LilyPad and connecting all the modules together with crocodile clips, and yay it worked!

Creating my hack: big heart cat heads

I’m very interested in interactive wearables and so decided to create a t-shirt that would use loop poll Celsius data from a sensor on the t-shirt and average them, then visualise the results. The tshirt uses sewable LilyPad Arduino modules and conductive thread to sew all the connections together.

I didn’t have much time left, once I’d got the code to compile and uploaded it, then tested everything together with the crocodile clips, so the designing, cutting out from fabric and sewing all the fabric and components together with conductive thread was a manic rush. No prizes for tidy sewing and elegant design I’m afraid, but a prototype conceived designed and built is less than 24 hours!

Creating my hack: big heart cat heads

So here’s the amusing concept scenario… imagine you’re a shy and retiring geek like me, who might find themselves in a social situation, such as a loud, crowded bar. The temperature sensing t-shirt I’m wearing has two cat heads: one green – the colour of cool, calm collected cat – its LED eyes signaling temperatures of less than 27 degrees Celsius, if the wearer were to say have someone at close proximity talking loudly at them, the heat from their breath would push the sensor Celsius average over this point and the LEDs would turn off on the cool calm collected green cat head and come on, on the hot, red, angry coloured cat head!

Creating my hack: early conductive thread sewing

This would be a signal to whomever is causing the angry red cat’s LEDs eyes to light up, to back off “You’re in mah face” or perhaps if the wearer is hot and embarrassed, to have a nice sit down in a corner with a cool drink of lemonade.

Creating my hack: woo done in the nick of time!

Creating my hack: back view, negotiating tracks of conductive thread

But seriously, my t-shirt is a fun proof of concept, I’m very interested in how sensing tech such as temperature sensors can have wider and useful usage. For example, in a society where more of the population is living to a ripe old age, then smart wearables such as temperature and other sensing modules can help older or disabled people, who might need their health monitoring constantly, carry on living at home for longer and keep their independence. Also, I can think of various lifestyle and sporting uses, such as comfortable sports clothes that would also have reasons to track data, plus smart clothing for people who work with extreme temperatures, chemicals or in harsh environments.

Me and my hack - yay it works!