SlideShare a Scribd company logo
I <3 LilyPad Arduino Rain Ashford  |  http://rainycatz.wordpress
Arduino is one of a number of PCB microcontrollers for rapid prototyping. They’re a fantastic gateway to learning programming & electronics for children and adults alike, because there is so much documentation and easy to follow lessons, examples and code libraries shared via open source licenses online and in books.
The early seeds to this platform were born from experimentation at MIT Media Lab, in 2001, by Casey Reas & Ben Fry who explored ways of simplifying coding & electronics for artists & designers to prototype their projects – they came up with Processing, an open source, cross platform language & development environment - http://processing.org/
                                       Digital Arduino (my first in 2008) Wiring board image borrowed from, www.maartenlamers.com/ThisIsWiring/ borrowed Massimo Banzi's website www.potemkin.org It wasn’t too long before complementary open hardware projects came along building on the Processing language & environment – the Wiring project initiated by Hernando Barragán began in 2003, followed by the InstantSOUP project and first Arduino boards led by Massimo Banzi’s team at the Interaction Design Institute, Ivrea, Italy.
My first Arduino & project!..was this ‘Digital’ Arduino, a gift in April 2008 and I was rather amused, a bit bemused, but a lot inspired with a simple sketch I had tentatively running an LED sequence on a solderless breadboard.
..it did kick-off my interest in tinkering so I was very excited to attend Makers & Hackers, in February 2009, a one-day hack-a-thon where I first saw a sewing machine, soldering iron & Arduino side-by-side. It was a great day for sharing and learning for everyone.
..the ideas and possibilities that blossomed out of that day filled me with joy and brought some lovely new friends too with whom I was part of a team and made a very strange Arduino alarm clock! Arduino is great for collaborative projects!
..about 2 weeks later I attended the UK’s first Maker Faire in Newcastle where our BBC Backstage team built an even stranger RFID weather cock-bot tank and I met lots more ‘tinkerers’ with awesome and boggling projects - there was no going back!
Anyway… Somewhere along the line I heard about this thing called a LilyPad which sounded like just the ticket for my interactive art leanings!
LilyPad Arduino is a great platform… * Rapid prototyping* For my standalone interactive art projects* Wearable artworks* Learning about electronics and programming.             Twinkle Starduino 2009
What is it? The LilyPad Arduino is a microcontroller & suite of modules designed for wearables & e-textiles that can be sewn directly to fabric with conductive thread. It was designed and developed by Leah Buechley of MIT & Sparkfun Electronics.
Official Arduinos use the megaAVR series of chips, the first LilyPad board  used the ATmega168V, the low-power version of the ATmega168, newer LilyPads have an ATmega328 chip, the difference is 16K vs. 32K. Arduino clones & other microcontrollers use various processors, e.g. mbed uses an ARM chip.
The board runs on 2-5 volts from USB or battery. It comes pre-programmed with a bootloader that simplifies the uploading of programs to the on-chip flash memory, compared with other devices that typically need an external chip programmer.
The LilyPad has 22 pads / pins *Pin 1 - TX/D1Pins 2,3,4 - D2, D3, D4Pin 5 - GND or "-" (ground)Pin 6 - VCC or "+" (power)Pins 7,8,9,10,11,12,13,14,15 - D5 through to D13Pins 16,17,18,19,20,21 - A0 through to A5 (analog pins)
* It’s a good idea to familiarise yourself with what each of the pins are, their I/O and keep a track of what pins you are sewing to which modules!
..some more specsDigital I/O Pins14 (of which 6 provide PWM output) Analog Input Pins6 DC Current per I/O Pin40 mA Flash Memory16 KB (of which 2 KB used by bootloader) SRAM1 KB EEPROM512 bytes Clock Speed8 MHzCircular, approximately 50mm (2") in diameter. The board itself is .8mm (1/32") thick (approximately 3mm (1/8") where electronics are attached)Wash at your own risk!
LilyPad uses the Arduino IDE (integrated development environment) which is a cross-platform application for Linux, Mac OSX & Windows – the editor (above) allows you to compile ‘sketches’ in C programming language. Leah Buechley’s excellent tutorial to the whole process from installing IDE to basic programming explanations is  here: http://web.media.mit.edu/~leah/LilyPad/index.html
The Arduino IDE comes with access to tons of sketch libraries which are all open source and easily downloadable into your editor to use as they are, or customise to your specific needs and great for people just starting out with programming.
Load your sketches via a Sparkfun Basic FTDI breakout which you attach to the six pin male header and then connect via mini USB cable to your computer of choice. It allows a sketch to be loaded without hitting reset.
Sewing: to connect the modules, I use conductive thread from my Arduino supplier, though I’ve started looking at creating work with other conductive medium, such as safety pins, coloured metallic embroidery thread, hooks, silver conductive marker pens and paint!
For a glimpse of what you can do with LilyPad Arduino I’d like to show TwinkleTartiflette – a smorgorsboard of schema and debugging examples - a wearable, interactive sound artwork!
Inspiration - I recently played with a Stylophone BeatBox and pondered how one would make an interactive artwork using LilyPad and a stylus…
..this lead to some head scratching over complex sewing schematics!
I wanted to combine words, image and sound into an interactive experience, so created felt stars and began sewing my schema with conductive thread - I’m the first to admit I’m not great at embroidery!
After what seemed like quite a while later (about a week of evenings fitted round the day job) I had two stars with conductive thread words in the right order.
..which needed to fit the t-shirt, I was mindful to sew the words carefully so frayed thread did not touch and cause a catastrophe.
It was now time to deploy the schema – I’d mapped notes to words and then back to pins on the LilyPad.
A couple of weeks later I thought I’d sewn all the words to the right notes and pins, also adding buzzer and battery modules. There were some interesting insulations/bridging issues to be solved between the various paths of conductive thread too – but I was ready to extract code ideas from my brain to see if they’d compile!
The code I have written uses the speaker module to produce simple musical notes from connecting to  the words with a stylus. I used a chart to work out the frequencies of the different notes.As I mentioned before, Arduino has various libraries and code examples that are released under open source licence.
Code added and it’s time to test - annoyingly there was a problem! The buzzer is not playing notes correctly, after some thinking and testing with a multimeter, croc clips and a single resistor -  a solution was concluded – I’d have to add some resistors.
Unconnected the circuit is connected to high, but when the stylus touches a word it creates a simple circuit through the resistor and pulls it to low. Looking through a ton of resistors 10k ohm seemed like a good fit, but where and how to add them was another question!
A small LilyPad protoboard was just the job to attach the resistors. I have six notes, so the protoboard was just right – but I only had 5 x 10k ohm resistors, but found another resistor that was near enough!
After some soldering and complex routing of conductive thread for the resistors, I’d fix0red one problem, but then found I’d another to debug! Earlier, I said to be mindful of the pins, I had accidentally connected to pin 13 which is the LED pin, that has it’s own resistor and is too low for this project. This showed up in resistance testing with the multimeter.
The fix for the wrong pin incurred some more unpicking and re-routing. I used an analogue pin (as it was nearer and the least hassle) this time which required to be reflected in the code. Yep, a crocodile clip is the best thing to use as a stylus!
Yay, Twinkle Tartiflette lives! All that remains to do is tidy up a bit of sewing and try to ensure there are no trailing bits of conductive thread to cause shorts – textile glue is handy for this!
Here’s what finished Twinkle Tartiflette looks like! Visit my blog http://rainycatz.wordpress.com/ for more info on construction, video and code.
Finally, a quick look at my latest project I <3 0X0……an interactive artwork, game, musical fancy and experiment. * Created to test the usefulness of conductive Velcro* Wanted to make something that was both interactive and interesting
* I wanted to create something both interactive and playful * Decided 3 x 3 grid system used for a game of noughts and crosses would be simple in terms scale - maximum number conductivity points* Square grid that would be easy to contain
[object Object],[object Object],[object Object],[object Object]
Testing & tidying:* Hardware and code running as expected * Test all the conductive thread tracks and respective knots were all working properly and not touching each other or fraying* Tidy artwork by backing it onto some coloured fabric * Embellish with star sequins, which also acted as a way of securely sewing the two fabrics to each other* Add regular Velcro to back for portability
I <3 LilyPad Arduino  Thanks! Rain Ashford | http://rainycatz.wordpress @Rainycat
I Heart LilyPad Arduino
I Heart LilyPad Arduino
I Heart LilyPad Arduino

More Related Content

Viewers also liked

ThreadTech3
ThreadTech3ThreadTech3
ThreadTech3
Colleen Morgan
 
Search Presentation
Search  PresentationSearch  Presentation
Search PresentationDoug Green
 
Workshop iniciacion arduino d1
Workshop iniciacion arduino d1Workshop iniciacion arduino d1
Workshop iniciacion arduino d1
José Pujol Pérez
 
Taller Arduino espacio-RES 2ª Sesion
Taller Arduino espacio-RES 2ª SesionTaller Arduino espacio-RES 2ª Sesion
Taller Arduino espacio-RES 2ª Sesion
José Pujol Pérez
 
Iniciación a Arduino
Iniciación a ArduinoIniciación a Arduino
Iniciación a Arduino
José Pujol Pérez
 
Taller de introducción a Arduino OSL 2014
Taller de introducción a Arduino OSL 2014Taller de introducción a Arduino OSL 2014
Taller de introducción a Arduino OSL 2014
Jose Antonio Vacas
 

Viewers also liked (7)

ThreadTech3
ThreadTech3ThreadTech3
ThreadTech3
 
Search Presentation
Search  PresentationSearch  Presentation
Search Presentation
 
Iniciacion arduino
Iniciacion arduinoIniciacion arduino
Iniciacion arduino
 
Workshop iniciacion arduino d1
Workshop iniciacion arduino d1Workshop iniciacion arduino d1
Workshop iniciacion arduino d1
 
Taller Arduino espacio-RES 2ª Sesion
Taller Arduino espacio-RES 2ª SesionTaller Arduino espacio-RES 2ª Sesion
Taller Arduino espacio-RES 2ª Sesion
 
Iniciación a Arduino
Iniciación a ArduinoIniciación a Arduino
Iniciación a Arduino
 
Taller de introducción a Arduino OSL 2014
Taller de introducción a Arduino OSL 2014Taller de introducción a Arduino OSL 2014
Taller de introducción a Arduino OSL 2014
 

Similar to I Heart LilyPad Arduino

LilyPad Arduino = \o/
LilyPad Arduino = \o/LilyPad Arduino = \o/
LilyPad Arduino = \o/
Rain Ashford
 
Hard curves, soft electronics - code, tech & textiles
Hard curves, soft electronics - code, tech & textilesHard curves, soft electronics - code, tech & textiles
Hard curves, soft electronics - code, tech & textiles
Rain Ashford
 
small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)
small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)
small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)
ariannaschlegel
 
Arduino_Booklet.pdf
Arduino_Booklet.pdfArduino_Booklet.pdf
Arduino_Booklet.pdf
MarkYang62
 
Practicas con arduino
Practicas con arduinoPracticas con arduino
Practicas con arduino
Eduardo Suarez
 
small electronics for your makerspace (clc trendspotting - february 2014)
small electronics for your makerspace (clc trendspotting - february 2014)small electronics for your makerspace (clc trendspotting - february 2014)
small electronics for your makerspace (clc trendspotting - february 2014)
ariannaschlegel
 
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdf
WiseNaeem
 
Micro controllers
Micro controllersMicro controllers
Micro controllers
Susan S. Wells
 
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
WiseNaeem
 
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 1.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdf
WiseNaeem
 
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
ariannaschlegel
 
Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
Codemotion
 
Arduino Intro Guide 2
Arduino Intro Guide 2Arduino Intro Guide 2
Arduino Intro Guide 2
elketeaches
 
Getting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and ArduinoGetting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and Arduino
Chad Mairn
 
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
WiseNaeem
 
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdf
WiseNaeem
 
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdf
WiseNaeem
 
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
WiseNaeem
 
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
WiseNaeem
 
Report On Arduino
Report On  ArduinoReport On  Arduino
Report On Arduino
TongXu520
 

Similar to I Heart LilyPad Arduino (20)

LilyPad Arduino = \o/
LilyPad Arduino = \o/LilyPad Arduino = \o/
LilyPad Arduino = \o/
 
Hard curves, soft electronics - code, tech & textiles
Hard curves, soft electronics - code, tech & textilesHard curves, soft electronics - code, tech & textiles
Hard curves, soft electronics - code, tech & textiles
 
small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)
small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)
small electronics for your makerspace 2 (clc trendspotting - 26 march 2014)
 
Arduino_Booklet.pdf
Arduino_Booklet.pdfArduino_Booklet.pdf
Arduino_Booklet.pdf
 
Practicas con arduino
Practicas con arduinoPracticas con arduino
Practicas con arduino
 
small electronics for your makerspace (clc trendspotting - february 2014)
small electronics for your makerspace (clc trendspotting - february 2014)small electronics for your makerspace (clc trendspotting - february 2014)
small electronics for your makerspace (clc trendspotting - february 2014)
 
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdf
 
Micro controllers
Micro controllersMicro controllers
Micro controllers
 
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 1.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdf
 
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
Small Electronics for Your Makerspace (CLC Trendspotting - September 2014)
 
Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
Creating Art with a Raspberry Pi - Stephanie Nemeth - Codemotion Amsterdam 2017
 
Arduino Intro Guide 2
Arduino Intro Guide 2Arduino Intro Guide 2
Arduino Intro Guide 2
 
Getting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and ArduinoGetting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and Arduino
 
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-3.pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 3.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 3.pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects-5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects-5.pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
 
Report On Arduino
Report On  ArduinoReport On  Arduino
Report On Arduino
 

More from Rain Ashford

On Wearable Technology, Makers and Making
On Wearable Technology, Makers and MakingOn Wearable Technology, Makers and Making
On Wearable Technology, Makers and Making
Rain Ashford
 
Baroesque Barometric Skirt: Visualising Physiological & Environmental Data T...
Baroesque Barometric Skirt: Visualising Physiological & Environmental Data T...Baroesque Barometric Skirt: Visualising Physiological & Environmental Data T...
Baroesque Barometric Skirt: Visualising Physiological & Environmental Data T...
Rain Ashford
 
Visualising Physiological Data - Quantified Self Europe 2013
Visualising Physiological Data - Quantified Self Europe 2013Visualising Physiological Data - Quantified Self Europe 2013
Visualising Physiological Data - Quantified Self Europe 2013
Rain Ashford
 
Here Comes Wearable Technology!
Here Comes Wearable Technology!Here Comes Wearable Technology!
Here Comes Wearable Technology!
Rain Ashford
 
Thursday Club: Art-Creativity-Technology & Wellness
Thursday Club: Art-Creativity-Technology & WellnessThursday Club: Art-Creativity-Technology & Wellness
Thursday Club: Art-Creativity-Technology & Wellness
Rain Ashford
 
Wearable Technology (+ a bit of Open Sourcery)
Wearable Technology (+ a bit of Open Sourcery)Wearable Technology (+ a bit of Open Sourcery)
Wearable Technology (+ a bit of Open Sourcery)
Rain Ashford
 
Introduction to Wearable Technology
Introduction to Wearable TechnologyIntroduction to Wearable Technology
Introduction to Wearable Technology
Rain Ashford
 
Introduction to Wearable Technology for Creatives
Introduction to Wearable Technology for CreativesIntroduction to Wearable Technology for Creatives
Introduction to Wearable Technology for Creatives
Rain Ashford
 
Sensors for e-textiles creatives
Sensors for e-textiles creativesSensors for e-textiles creatives
Sensors for e-textiles creatives
Rain Ashford
 
Exploring wearable technology & electronic art using microcontrollers, sensor...
Exploring wearable technology & electronic art using microcontrollers, sensor...Exploring wearable technology & electronic art using microcontrollers, sensor...
Exploring wearable technology & electronic art using microcontrollers, sensor...
Rain Ashford
 
Sensing Wearables
Sensing WearablesSensing Wearables
Sensing Wearables
Rain Ashford
 
Thinking Digital : Ten Things
Thinking Digital : Ten ThingsThinking Digital : Ten Things
Thinking Digital : Ten Things
Rain Ashford
 
10 open source / homebrew games for handhelds in 10 minutess
10 open source / homebrew games for handhelds in 10 minutess10 open source / homebrew games for handhelds in 10 minutess
10 open source / homebrew games for handhelds in 10 minutess
Rain Ashford
 
BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009
Rain Ashford
 
BBC Backstage 2009
BBC Backstage 2009BBC Backstage 2009
BBC Backstage 2009
Rain Ashford
 

More from Rain Ashford (15)

On Wearable Technology, Makers and Making
On Wearable Technology, Makers and MakingOn Wearable Technology, Makers and Making
On Wearable Technology, Makers and Making
 
Baroesque Barometric Skirt: Visualising Physiological & Environmental Data T...
Baroesque Barometric Skirt: Visualising Physiological & Environmental Data T...Baroesque Barometric Skirt: Visualising Physiological & Environmental Data T...
Baroesque Barometric Skirt: Visualising Physiological & Environmental Data T...
 
Visualising Physiological Data - Quantified Self Europe 2013
Visualising Physiological Data - Quantified Self Europe 2013Visualising Physiological Data - Quantified Self Europe 2013
Visualising Physiological Data - Quantified Self Europe 2013
 
Here Comes Wearable Technology!
Here Comes Wearable Technology!Here Comes Wearable Technology!
Here Comes Wearable Technology!
 
Thursday Club: Art-Creativity-Technology & Wellness
Thursday Club: Art-Creativity-Technology & WellnessThursday Club: Art-Creativity-Technology & Wellness
Thursday Club: Art-Creativity-Technology & Wellness
 
Wearable Technology (+ a bit of Open Sourcery)
Wearable Technology (+ a bit of Open Sourcery)Wearable Technology (+ a bit of Open Sourcery)
Wearable Technology (+ a bit of Open Sourcery)
 
Introduction to Wearable Technology
Introduction to Wearable TechnologyIntroduction to Wearable Technology
Introduction to Wearable Technology
 
Introduction to Wearable Technology for Creatives
Introduction to Wearable Technology for CreativesIntroduction to Wearable Technology for Creatives
Introduction to Wearable Technology for Creatives
 
Sensors for e-textiles creatives
Sensors for e-textiles creativesSensors for e-textiles creatives
Sensors for e-textiles creatives
 
Exploring wearable technology & electronic art using microcontrollers, sensor...
Exploring wearable technology & electronic art using microcontrollers, sensor...Exploring wearable technology & electronic art using microcontrollers, sensor...
Exploring wearable technology & electronic art using microcontrollers, sensor...
 
Sensing Wearables
Sensing WearablesSensing Wearables
Sensing Wearables
 
Thinking Digital : Ten Things
Thinking Digital : Ten ThingsThinking Digital : Ten Things
Thinking Digital : Ten Things
 
10 open source / homebrew games for handhelds in 10 minutess
10 open source / homebrew games for handhelds in 10 minutess10 open source / homebrew games for handhelds in 10 minutess
10 open source / homebrew games for handhelds in 10 minutess
 
BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009
 
BBC Backstage 2009
BBC Backstage 2009BBC Backstage 2009
BBC Backstage 2009
 

Recently uploaded

Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 

Recently uploaded (20)

Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 

I Heart LilyPad Arduino

  • 1. I <3 LilyPad Arduino Rain Ashford | http://rainycatz.wordpress
  • 2. Arduino is one of a number of PCB microcontrollers for rapid prototyping. They’re a fantastic gateway to learning programming & electronics for children and adults alike, because there is so much documentation and easy to follow lessons, examples and code libraries shared via open source licenses online and in books.
  • 3. The early seeds to this platform were born from experimentation at MIT Media Lab, in 2001, by Casey Reas & Ben Fry who explored ways of simplifying coding & electronics for artists & designers to prototype their projects – they came up with Processing, an open source, cross platform language & development environment - http://processing.org/
  • 4. Digital Arduino (my first in 2008) Wiring board image borrowed from, www.maartenlamers.com/ThisIsWiring/ borrowed Massimo Banzi's website www.potemkin.org It wasn’t too long before complementary open hardware projects came along building on the Processing language & environment – the Wiring project initiated by Hernando Barragán began in 2003, followed by the InstantSOUP project and first Arduino boards led by Massimo Banzi’s team at the Interaction Design Institute, Ivrea, Italy.
  • 5. My first Arduino & project!..was this ‘Digital’ Arduino, a gift in April 2008 and I was rather amused, a bit bemused, but a lot inspired with a simple sketch I had tentatively running an LED sequence on a solderless breadboard.
  • 6. ..it did kick-off my interest in tinkering so I was very excited to attend Makers & Hackers, in February 2009, a one-day hack-a-thon where I first saw a sewing machine, soldering iron & Arduino side-by-side. It was a great day for sharing and learning for everyone.
  • 7. ..the ideas and possibilities that blossomed out of that day filled me with joy and brought some lovely new friends too with whom I was part of a team and made a very strange Arduino alarm clock! Arduino is great for collaborative projects!
  • 8. ..about 2 weeks later I attended the UK’s first Maker Faire in Newcastle where our BBC Backstage team built an even stranger RFID weather cock-bot tank and I met lots more ‘tinkerers’ with awesome and boggling projects - there was no going back!
  • 9. Anyway… Somewhere along the line I heard about this thing called a LilyPad which sounded like just the ticket for my interactive art leanings!
  • 10. LilyPad Arduino is a great platform… * Rapid prototyping* For my standalone interactive art projects* Wearable artworks* Learning about electronics and programming. Twinkle Starduino 2009
  • 11. What is it? The LilyPad Arduino is a microcontroller & suite of modules designed for wearables & e-textiles that can be sewn directly to fabric with conductive thread. It was designed and developed by Leah Buechley of MIT & Sparkfun Electronics.
  • 12. Official Arduinos use the megaAVR series of chips, the first LilyPad board used the ATmega168V, the low-power version of the ATmega168, newer LilyPads have an ATmega328 chip, the difference is 16K vs. 32K. Arduino clones & other microcontrollers use various processors, e.g. mbed uses an ARM chip.
  • 13. The board runs on 2-5 volts from USB or battery. It comes pre-programmed with a bootloader that simplifies the uploading of programs to the on-chip flash memory, compared with other devices that typically need an external chip programmer.
  • 14. The LilyPad has 22 pads / pins *Pin 1 - TX/D1Pins 2,3,4 - D2, D3, D4Pin 5 - GND or "-" (ground)Pin 6 - VCC or "+" (power)Pins 7,8,9,10,11,12,13,14,15 - D5 through to D13Pins 16,17,18,19,20,21 - A0 through to A5 (analog pins)
  • 15. * It’s a good idea to familiarise yourself with what each of the pins are, their I/O and keep a track of what pins you are sewing to which modules!
  • 16. ..some more specsDigital I/O Pins14 (of which 6 provide PWM output) Analog Input Pins6 DC Current per I/O Pin40 mA Flash Memory16 KB (of which 2 KB used by bootloader) SRAM1 KB EEPROM512 bytes Clock Speed8 MHzCircular, approximately 50mm (2") in diameter. The board itself is .8mm (1/32") thick (approximately 3mm (1/8") where electronics are attached)Wash at your own risk!
  • 17. LilyPad uses the Arduino IDE (integrated development environment) which is a cross-platform application for Linux, Mac OSX & Windows – the editor (above) allows you to compile ‘sketches’ in C programming language. Leah Buechley’s excellent tutorial to the whole process from installing IDE to basic programming explanations is here: http://web.media.mit.edu/~leah/LilyPad/index.html
  • 18. The Arduino IDE comes with access to tons of sketch libraries which are all open source and easily downloadable into your editor to use as they are, or customise to your specific needs and great for people just starting out with programming.
  • 19. Load your sketches via a Sparkfun Basic FTDI breakout which you attach to the six pin male header and then connect via mini USB cable to your computer of choice. It allows a sketch to be loaded without hitting reset.
  • 20. Sewing: to connect the modules, I use conductive thread from my Arduino supplier, though I’ve started looking at creating work with other conductive medium, such as safety pins, coloured metallic embroidery thread, hooks, silver conductive marker pens and paint!
  • 21. For a glimpse of what you can do with LilyPad Arduino I’d like to show TwinkleTartiflette – a smorgorsboard of schema and debugging examples - a wearable, interactive sound artwork!
  • 22. Inspiration - I recently played with a Stylophone BeatBox and pondered how one would make an interactive artwork using LilyPad and a stylus…
  • 23. ..this lead to some head scratching over complex sewing schematics!
  • 24. I wanted to combine words, image and sound into an interactive experience, so created felt stars and began sewing my schema with conductive thread - I’m the first to admit I’m not great at embroidery!
  • 25. After what seemed like quite a while later (about a week of evenings fitted round the day job) I had two stars with conductive thread words in the right order.
  • 26. ..which needed to fit the t-shirt, I was mindful to sew the words carefully so frayed thread did not touch and cause a catastrophe.
  • 27. It was now time to deploy the schema – I’d mapped notes to words and then back to pins on the LilyPad.
  • 28. A couple of weeks later I thought I’d sewn all the words to the right notes and pins, also adding buzzer and battery modules. There were some interesting insulations/bridging issues to be solved between the various paths of conductive thread too – but I was ready to extract code ideas from my brain to see if they’d compile!
  • 29. The code I have written uses the speaker module to produce simple musical notes from connecting to the words with a stylus. I used a chart to work out the frequencies of the different notes.As I mentioned before, Arduino has various libraries and code examples that are released under open source licence.
  • 30. Code added and it’s time to test - annoyingly there was a problem! The buzzer is not playing notes correctly, after some thinking and testing with a multimeter, croc clips and a single resistor - a solution was concluded – I’d have to add some resistors.
  • 31. Unconnected the circuit is connected to high, but when the stylus touches a word it creates a simple circuit through the resistor and pulls it to low. Looking through a ton of resistors 10k ohm seemed like a good fit, but where and how to add them was another question!
  • 32. A small LilyPad protoboard was just the job to attach the resistors. I have six notes, so the protoboard was just right – but I only had 5 x 10k ohm resistors, but found another resistor that was near enough!
  • 33. After some soldering and complex routing of conductive thread for the resistors, I’d fix0red one problem, but then found I’d another to debug! Earlier, I said to be mindful of the pins, I had accidentally connected to pin 13 which is the LED pin, that has it’s own resistor and is too low for this project. This showed up in resistance testing with the multimeter.
  • 34. The fix for the wrong pin incurred some more unpicking and re-routing. I used an analogue pin (as it was nearer and the least hassle) this time which required to be reflected in the code. Yep, a crocodile clip is the best thing to use as a stylus!
  • 35. Yay, Twinkle Tartiflette lives! All that remains to do is tidy up a bit of sewing and try to ensure there are no trailing bits of conductive thread to cause shorts – textile glue is handy for this!
  • 36. Here’s what finished Twinkle Tartiflette looks like! Visit my blog http://rainycatz.wordpress.com/ for more info on construction, video and code.
  • 37. Finally, a quick look at my latest project I <3 0X0……an interactive artwork, game, musical fancy and experiment. * Created to test the usefulness of conductive Velcro* Wanted to make something that was both interactive and interesting
  • 38. * I wanted to create something both interactive and playful * Decided 3 x 3 grid system used for a game of noughts and crosses would be simple in terms scale - maximum number conductivity points* Square grid that would be easy to contain
  • 39.
  • 40. Testing & tidying:* Hardware and code running as expected * Test all the conductive thread tracks and respective knots were all working properly and not touching each other or fraying* Tidy artwork by backing it onto some coloured fabric * Embellish with star sequins, which also acted as a way of securely sewing the two fabrics to each other* Add regular Velcro to back for portability
  • 41. I <3 LilyPad Arduino Thanks! Rain Ashford | http://rainycatz.wordpress @Rainycat