SlideShare ist ein Scribd-Unternehmen logo
1 von 34
LilyPad Arduino = / Rain Ashford  |  http://rainycatz.wordpress
LilyPad Arduino is a great platform for rapid prototyping, for my standalone interactive art projects and wearable artworks. As well as learning about electronics and programming.
..but my first Arduino wasn’t a LilyPad!It was this ‘Digital’ Arduino in April 2008 and I was rather amused, a bit bemused, but a lot inspired with a simple sketch running an LED sequence on a 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 then 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!
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 LilyPad board is based on the ATmega168V, the low-power version of the ATmega168, newer LilyPads use ATmega328, 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 for more info on construction, video and code.
Arduino LilyPad = /  Twinkle Tartiflette #OSHUG 01/07/10 Thanks! Rain Ashford | http://rainycatz.wordpress @Rainycat

Weitere Àhnliche Inhalte

Was ist angesagt?

Was ist angesagt? (10)

Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
 
IOTC08 The Arduino Platform
IOTC08 The Arduino PlatformIOTC08 The Arduino Platform
IOTC08 The Arduino Platform
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Intro arduino
Intro arduinoIntro arduino
Intro arduino
 
Using Arduino
Using ArduinoUsing Arduino
Using Arduino
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 Presentation
 
Arduino fast prototyping
Arduino fast prototypingArduino fast prototyping
Arduino fast prototyping
 
Robotics and Embedded Systems
Robotics and Embedded SystemsRobotics and Embedded Systems
Robotics and Embedded Systems
 

Ähnlich wie LilyPad Arduino = \o/

I Heart LilyPad Arduino
I Heart LilyPad ArduinoI Heart LilyPad Arduino
I Heart LilyPad ArduinoRain 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
 
Practicas con arduino
Practicas con arduinoPracticas con arduino
Practicas con arduinoEduardo Suarez
 
Advanced view arduino projects list part 4 use arduino for projects
Advanced view arduino projects list part 4 use arduino for projectsAdvanced view arduino projects list part 4 use arduino for projects
Advanced view arduino projects list part 4 use arduino for projectsWiseNaeem
 
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
 
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.pdfWiseNaeem
 
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 ArduinoChad Mairn
 
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 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.pdfWiseNaeem
 
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.pdfWiseNaeem
 
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.pdfWiseNaeem
 
295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lightsMaheshSrinivasan25
 
Arduino: Libros de proyectos para Arduino
Arduino: Libros de proyectos para Arduino Arduino: Libros de proyectos para Arduino
Arduino: Libros de proyectos para Arduino SANTIAGO PABLO ALBERTO
 
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.pdfWiseNaeem
 
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 2017Codemotion
 
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
 ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdfRuby Hermano
 
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.pdfWiseNaeem
 
Electronz_Introduction.pptx
Electronz_Introduction.pptxElectronz_Introduction.pptx
Electronz_Introduction.pptxMokete5
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1Felipe Belarmino
 
ARDUINO PROJECTS BOOK
ARDUINO PROJECTS BOOKARDUINO PROJECTS BOOK
ARDUINO PROJECTS BOOKMonique Carr
 

Ähnlich wie LilyPad Arduino = \o/ (20)

I Heart LilyPad Arduino
I Heart LilyPad ArduinoI Heart LilyPad Arduino
I Heart LilyPad Arduino
 
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)
 
Practicas con arduino
Practicas con arduinoPracticas con arduino
Practicas con arduino
 
Advanced view arduino projects list part 4 use arduino for projects
Advanced view arduino projects list part 4 use arduino for projectsAdvanced view arduino projects list part 4 use arduino for projects
Advanced view arduino projects list part 4 use arduino for projects
 
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)
 
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
 
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
 
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 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-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-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
 
295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights295889096 music-reactive-multicolor-led-lights
295889096 music-reactive-multicolor-led-lights
 
Arduino: Libros de proyectos para Arduino
Arduino: Libros de proyectos para Arduino Arduino: Libros de proyectos para Arduino
Arduino: Libros de proyectos para Arduino
 
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
 
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 OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.pdf
 ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf ARDUINO OVERVIEW HARDWARE  SOFTWARE AND INSTALLATION.pdf
ARDUINO OVERVIEW HARDWARE SOFTWARE AND INSTALLATION.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
 
Electronz_Introduction.pptx
Electronz_Introduction.pptxElectronz_Introduction.pptx
Electronz_Introduction.pptx
 
Arduino spooky projects_class1
Arduino spooky projects_class1Arduino spooky projects_class1
Arduino spooky projects_class1
 
ARDUINO PROJECTS BOOK
ARDUINO PROJECTS BOOKARDUINO PROJECTS BOOK
ARDUINO PROJECTS BOOK
 

Mehr von Rain Ashford

On Wearable Technology, Makers and Making
On Wearable Technology, Makers and MakingOn Wearable Technology, Makers and Making
On Wearable Technology, Makers and MakingRain 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 2013Rain 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 & WellnessRain 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 TechnologyRain Ashford
 
Introduction to Wearable Technology for Creatives
Introduction to Wearable Technology for CreativesIntroduction to Wearable Technology for Creatives
Introduction to Wearable Technology for CreativesRain Ashford
 
Sensors for e-textiles creatives
Sensors for e-textiles creativesSensors for e-textiles creatives
Sensors for e-textiles creativesRain 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 WearablesRain Ashford
 
Thinking Digital : Ten Things
Thinking Digital : Ten ThingsThinking Digital : Ten Things
Thinking Digital : Ten ThingsRain 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 minutessRain Ashford
 
BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009BBC Backstage: APIs & Feeds 2009
BBC Backstage: APIs & Feeds 2009Rain Ashford
 
BBC Backstage 2009
BBC Backstage 2009BBC Backstage 2009
BBC Backstage 2009Rain Ashford
 

Mehr von 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
 

KĂŒrzlich hochgeladen

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂșjo
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

KĂŒrzlich hochgeladen (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

LilyPad Arduino = \o/

  • 1. LilyPad Arduino = / Rain Ashford | http://rainycatz.wordpress
  • 2. LilyPad Arduino is a great platform for rapid prototyping, for my standalone interactive art projects and wearable artworks. As well as learning about electronics and programming.
  • 3. ..but my first Arduino wasn’t a LilyPad!It was this ‘Digital’ Arduino in April 2008 and I was rather amused, a bit bemused, but a lot inspired with a simple sketch running an LED sequence on a breadboard.
  • 4. ..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.
  • 5. ..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!
  • 6. ..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 then there was no going back!
  • 7. Anyway.. Somewhere along the line I heard about this thing called a LilyPad which sounded like just the ticket for my interactive art leanings!
  • 8. 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.
  • 9. Official Arduinos use the megaAVR series of chips, the LilyPad board is based on the ATmega168V, the low-power version of the ATmega168, newer LilyPads use ATmega328, the difference is 16K vs. 32K. Arduino clones & other microcontrollers use various processors, e.g. mbed uses an ARM chip.
  • 10. 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.
  • 11. 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)
  • 12. * 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!
  • 13. ..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!
  • 14. 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
  • 15. 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.
  • 16. 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.
  • 17. 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!
  • 18. 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!
  • 19. Inspiration - I recently played with a Stylophone BeatBox and pondered how one would make an interactive artwork using LilyPad and a stylus

  • 20. ..this lead to some head scratching over complex sewing schematics!
  • 21. 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!
  • 22. 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.
  • 23. ..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.
  • 24. It was now time to deploy the schema – I’d mapped notes to words and then back to pins on the LilyPad.
  • 25. 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!
  • 26. 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.
  • 27. 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.
  • 28. 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!
  • 29. 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!
  • 30. 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.
  • 31. 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!
  • 32. 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!
  • 33. Here’s what finished Twinkle Tartiflette looks like! Visit my blog for more info on construction, video and code.
  • 34. Arduino LilyPad = / Twinkle Tartiflette #OSHUG 01/07/10 Thanks! Rain Ashford | http://rainycatz.wordpress @Rainycat