Cette publication ne fait pas partie de la bibliothèque YouScribe
Elle est disponible uniquement à l'achat (la librairie de YouScribe)
Achetez pour : 13,02 € Lire un extrait

Lecture en ligne + Téléchargement

Format(s) : PDF - EPUB

sans DRM

Getting Started with Adafruit FLORA

De
113 pages

This book introduces readers to building wearable electronics projects using Adafruit's tiny FLORA board: at 4.4 grams, and only 1.75 inches in diameter, and featuring Arduino compatibility, it's the most beginner-friendly way to create wearable projects. This book shows you how to plan your wearable circuits, sew with electronics, and write programs that run on the FLORA to control the electronics. The FLORA family includes an assortment of sensors, as well as RGB LEDs that let you add lighting to your wearable projects.


Voir plus Voir moins

Vous aimerez aussi

Getting Started with Adafruit FLORA
Becky Stern and Tyler Cooper
Getting Started with Adafruit FLORA by Becky Stern and Tyer Cooper
Copyrîght © 2015 Becky Stern and Tyer Cooper. A rîghts reserved.
Prînted în the Unîted States o Amerîca.
Pubîshed by Maker Medîa Inc. 1160 Battery Street East Suîte 125 San Francîsco CA 94111.
Maker Medîa books may be purchased or educatîona busîness or saes promo-tîona use. Onîne edîtîons are aso avaîabe or most tîtes http://www.saaribook-sonline.com. For more înormatîon contact our corporateînstîtutîona saes depart-ment: 800-998-9938 orcorporate@oreilly.com.
Editor:Brîan Jepson Production Editor:Nîcoe Sheby Copyeditor:Phî Danger Proofreader:Rache Head Indexer:Judy McConvîe Interior Designer:Davîd Futato Cover Designer:Rîey Wîkînson Illustrator:Rebecca Demarest
February 2015:
Fîrst Edîtîon
Revîsîon Hîstory or the Fîrst Edîtîon
2015-02-04:
Fîrst Reease
Seehttp://oreilly.com/catalog/errata.csp?isbn=9781457183225or reease detaîs.
Make: Maker Shed and Maker Faîre are regîstered trademarks o Maker Medîa Inc. The Maker Medîa ogo îs a trademark o Maker Medîa Inc.Getting Started with Ada-ruit FLORAand reated trade dress are trademarks o Maker Medîa Inc.
Many o the desîgnatîons used by manuacturers and seers to dîstînguîsh theîr products are caîmed as trademarks. Where those desîgnatîons appear în thîs book and Maker Medîa Inc. was aware o a trademark caîm the desîgnatîons have been prînted în caps or înîtîa caps.
Whîe every precautîon has been taken în the preparatîon o thîs book the pubîsher and authors assume no responsîbîîty or errors or omîssîons or or damages resut-îng rom the use o the înormatîon contaîned hereîn.
978-1-457-18322-5
[LSI]
Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1/What You’ll Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Toos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Sewîng Neede. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Scîssors2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Embroîdery Hoop2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Conductîve Thread. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Cear Naî Poîsh or Fray Check4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sewîng Machîne5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dîsappearîng Markîng Pen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Cothes Iron6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Soderîng Iron. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Soder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Wîre Strîppers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Fush Dîagona Cutters8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mutîmeter9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Technîques. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Sewîng. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Soderîng10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Washîng Your Wearabe Projects11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2/Getting the Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Instaîng Arduîno Lîbrarîes16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Let’s Get Bînkîng!16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3/Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Lîtte, Round, Dîferent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 FLORA Power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Famîy o Add-ons25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LED Sequîns25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RGB NeoPîxes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 FLORA Acceerometer/Compass Modue (Motîon Sensor). . . . . . . . . . . . . 28 FLORA Acceerometer/Compass/Gyro (Motîon Sensor)29. . . . . . . . . . . . . .
iii
FLORA Lîght Sensor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 FLORA UV Index Sensor31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FLORA Coor Sensor32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . FLORA GPS (Locatîon Sensor)32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4/Making Stitches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Threadîng the Neede. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Usîng an Embroîdery Hoop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 The Runnîng Stîtch38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connectîng Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Tyîng and Seaîng Knots41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Attachîng Conductîve Thread Buses wîth a Sewîng Machîne43. . . . . . . . . . . . . .
5/Your First FLORA Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Layout and Cîrcuît Dîagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Sew the Cîrcuît. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Set Up48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Stîtch the Pîxe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Fîsh Fîn Swîtch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Get Your Code On51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hand Embroîderîng the Desîgn53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Battery53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6/Intermediate Project: Sparkle Skirt. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Layout and Cîrcuît Dîagram58. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sew the Cîrcuît61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Code and Battery65. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wear It!70. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7/Advanced Project: FLORA NeoGeo Watch. . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Layout and Cîrcuît Dîagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Assembe the Cîrcuît. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Assembe the Watch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 The Code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Usîng the Watch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Modîyîng Your NeoGeo Watch87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8/Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Connectîvîty. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Arduîno IDE Issues. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Compîatîon Errors90. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upoad Errors90. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv
Contents
Usage Issues91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Frequenty Asked Questîons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Manuacturer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
9/More Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Adaruît Onîne Resources93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other Onîne Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Prînt Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Contents
v
Preface
Wecome to the dawn o the age o wearabe eectronîcs. Every day there are new ways to augment flesh and bone wîth flashîng îghts bîts and bytes. Steve Mann’s eary wearabe tech getups have gîven way to styîsh devîces îke Googe Gass. It goes to show that any truy good îdea wî be refined and îterated upon untî the posîtîve user experîence outweîghs any drawbacks causîng ît to catch on. We are at that pîvota moment în DIY wearabe eectronîcs.
Wearable Electronics
From the badge-stye communîcators and Borg we see onStar Trekto the LED-soed sneakers that every kîd seems to have ît’s a perect tîme to both îmagîne and buîd the most creatîve wear-abe eectronîcs the word has seen. Wearabe eectronîcs are takîng of în ceebrîty perormance wear and red carpet ashîon. Couture prîce tags accompany custom desîgns drîppîng wîth pîxes seen on Katy Perry U2 Kanye West Lady Gaga Madonna Rîhanna OK Go and more.
At Adaruît we’ve been thînkîng about how we can provîde the best resources or those earnîng how to make wearabes un and useu. So we deveoped FLORA a tîny sewabe cîrcuît board and mîcroprocessor that can tak to sensors îght up coor-changîng LEDs aka NeoPîxes and much more. FLORA and the NeoPîxes get us coser to buîdîng a DIY vîdeo jacket at home wîthout the $20000 prîce tag.
O course most o us are aready carryîng a wearabe eectronîc devîce în the orm o a smartphone. We take them wîth us everywhere and theîr deveopment ues many technoogîca advances such as the mînîaturîzatîon o batterîes. Not satîsfied wîth of-the-she hardware we mod our phones or create ways to înteract beyond the screen by connectîng them to other hard-ware vîa Buetooth. From the typîca hands-ree headsets to the
vii
îPhone-controed LED dresses în CuteCîrcuît’s 2014 sprîng co-ectîon we expect to see a ot more deveopment o wearabes communîcatîng wîth phones vîa Buetooth în the next ew months.
Hîgh-tech accessorîes îke USB storage culînks are an updated take on the age-od quest to store data on the physîca body îke tattoos or mîîtary dog tags. Dîspayîng bîometrîc data such as heart rate vîa a bînkîng headband or pocket square opens new avenues o expressîon and communîcatîon.
Even wîthout a phone wearabes can augment our senses and wardrobes. DIY ashîon îtems îke GPS navîgatîon shoes or motîon-sensîtîve îght-up skîrts are startîng to ook seeker and more subte than ever beore. We ove the îdea that our cothes coud gîve us super powers such as guîdîng us home or turnîng of TVs so we can eat în peace at our avorîte restaurants.
Bîke projects have a specîa aure or wearabes makers sînce they arguaby împrove saety whîe ookîng great at the same tîme. We’ve seen wearabe turn sîgnas pop up on hoodîes and bags over the years and each tîme ît’s a more styîsh îteratîon that’s easîer to buîd wîth a smaer battery pack.
Peope who buîd wearabe eectronîcs have a passîon or com-bînîng technoogy ashîon and crats. We hope that readîng thîs book wî îgnîte that passîon în you.
What Is FLORA?
FLORA îs Adaruît’s Arduîno-compatîbe wearabe eectronîcs patorm. Measurîng ony 1.75în dîameter the FLORA maîn board Fîgure P-1 îs sma enough to embed înto any wearabe project and ît has arge pads or sewîng wîth conductîve thread. The round shape means there are no sharp corners to poke you through your garment. It’s engîneered to be the easîest-to-use way to buîd your own expressîve and unctîona eectronîc ash-îons înteractîve push toys papercrats data oggîng devîces and e-textîe experîments.
viii Preface
Un pour Un
Permettre à tous d'accéder à la lecture
Pour chaque accès à la bibliothèque, YouScribe donne un accès à une personne dans le besoin