It is fun to carry on a wearable electronics but developing them is
great fun too. I love electronics and I like to sew and now I am
enjoying developing sewable electronics. I am making some fun stuffs
with Adafruits’s wearable platform “Flora”. Working with Flora is very
easy, you can yourself make your Party shoes, LED dress necklace,
Motion Sensing Gloves or any cool wearable with this. We will be making
our Wearable in the upcoming parts, in the first part of the series we
will be learning about Adafruit’s Flora and setting up its development
environment.
Requirements
Adafruit Flora main board
Adafruit Flora accelerometer
Mini USB cable
LiPoly battery
Conductive thread
Adafruit Flora
Flora is an Arduino Compatible
wearable platform. It is very small about 1.75” in diameters, round and
sewable. It's built around the Atmega32u4 chip and has a built- in USB
support. You just need to plug in and get started making your
wearables. Flora is beginner friendly, if you have accidentally
connected the battery backwards it won’t destroy the microcontroller.
It has an onboard regulator that will prevent it from damage. The power
supply is designed to be flexible and easy to use. There is an onboard
polarized 2 JST battery connector with protection schottky diode for
use with external battery packs from 3.5v to 16v DC in. Can be used
with LiIon/LiPoly, LiFe, alkaline or rechargeable NiMh/NiCad batteries
of any size. It does not have a LiPo charger to keep it safe and reduce
risk of fire as it is not recommended to charge these batteries on
fabric. Flora is fabric friendly too, it does not use FTDI headers and
won’t destroy the delicate garments. There are 14 sewing tap pads for
attachment and electrical connections and you can program with Arduino
IDE by using Adafruit’s libraries.
Getting Started with Flora on Windows
Download Software
Installing Flora Drivers
- Plug Adafruit Flora to your PC with Micro B USB cable. If you are using Flora v1 you will need a Mini B USB cable.
- Download the drivers for windows xp, windows 7 & 8 from undefined.
- Unzip the folder.
- Go to Device Manager, expand Other devices. You will find Adafruit flora with a notification marki>
- Right click on that and select Update Driver Software.
- Browse and locate the unzipped folder of drivers and select next.
- If it will prompt for Windows Security, select Install anyway.
- Now you will find Flora listed under Ports with a port number. Remember this port name.
Setting up Arduino IDEWith the Arduino IDE version 1.6.4 and greater you can easily add 3rd party boards directly from the stock IDE.
- Open Arduino IDE (version 1.6.4 or higher), Under File menu select Preferences
- A dialog will open. Here under Additional Boards Manager URL’s we will be adding a new URL. This list of URL is comma separated
means you can add many, we need only one for Flora. Paste this https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
- Save the preference settings.
- Go to Tools, Board, then Boards Manager
- A dialog Box will open, click on the category drop down menu on the top left hand side of the window and select Contributed.
- You
will then be able to select and install the boards supplied by the
URLs added to the preferences. Here, we have to install support for Adafruit AVR Boards, but the same way we can install other boards too. Click Install
- Restart Arduino IDE.
- Now you will notice the Flora Board listed in the Tool, then Board menu
Blink onboard LED
- Connect your board by plugging the USB cable and select it in Arduino IDE.
- Select the correct COM Port on which Flora is connected
- Paste the code.
- Upload and run the code by clicking the arrow like uploading button
- You will notice an LED blinking on Flora which is connected to D7, right after the USB port.
- There is also a reset button on Flora, you can press it to reset the program.
- Now take the USB cable out and connect it to the battery. The sketch will automatically run on startup and you will notice the LED blinking.
LED blinking on Flora which is connected to D7
We have successfully set up Flora’s environment for development of our Wearables. In the next part we will see Conductive Sewing (Sewing with steel) and some more advance stuff.
Comments