The Adafruit Flora v3 is a compact, user-friendly wearable electronic platform designed to enrich the world of e-textiles and wearable technology. It is built around the ATmega32u4 microcontroller, which is the same chip used in the popular Arduino Leonardo, making it fully compatible with Arduino software. The Flora is specifically engineered for sewing into clothing and fabric with conductive thread, and it can also be used with traditional electronic wires, sensors, and actuators for versatile project applications.
Pin Number | Name | Description |
---|---|---|
1 | GND | Ground pin, used for circuit completion |
2 | VBATT | Battery input for an external power source |
3 | D3 | Digital I/O, PWM capable |
4 | D2 | Digital I/O |
5 | D1/TX | Digital I/O, UART transmit |
6 | D0/RX | Digital I/O, UART receive |
7 | SDA | I2C data line |
8 | SCL | I2C clock line |
9 | D9 | Digital I/O, PWM capable |
10 | D10 | Digital I/O, PWM capable |
11 | D6 | Digital I/O, PWM capable |
12 | D12 | Digital I/O |
13 | # | Not connected |
14 | A5 | Analog input |
15 | A4 | Analog input |
16 | A3 | Analog input |
17 | A2 | Analog input |
18 | 3.3V | 3.3V power output |
19 | RST | Reset pin |
Q: Can I power the Flora with a USB cable? A: Yes, the Flora can be powered via USB when connected to a computer or USB power source.
Q: Is the Flora washable? A: The Flora itself is not washable, but it can be made washable by using waterproof coatings and enclosures for the electronics.
Q: How do I connect the Flora to a computer? A: Connect the Flora to a computer using a micro-USB cable capable of data transfer.
Q: What programming language is used for the Flora? A: The Flora is programmed using Arduino C/C++, which is supported by the Arduino IDE.
Here is a simple example of how to blink an LED connected to pin D9 on the Flora:
// Define the LED pin
const int ledPin = 9;
void setup() {
// Set the LED pin as an output
pinMode(ledPin, OUTPUT);
}
void loop() {
// Turn the LED on
digitalWrite(ledPin, HIGH);
// Wait for one second
delay(1000);
// Turn the LED off
digitalWrite(ledPin, LOW);
// Wait for one second
delay(1000);
}
Remember to select "Adafruit Flora" from the Tools > Board menu in the Arduino IDE before uploading this sketch.