The GEMMA v2 is a tiny microcontroller board designed specifically for wearable electronics projects. It is built around the ATtiny85 microcontroller, which is a versatile and low-power chip ideal for small-scale projects. The GEMMA v2 is perfect for adding interactive elements to clothing, accessories, and other fabric-based projects due to its small size and ease of use.
Pin Number | Name | Description |
---|---|---|
1 | Vout | 3.3V output from the onboard regulator |
2 | A1/D2 | Analog input 1 or Digital I/O pin 2 |
3 | A2/D0 | Analog input 2 or Digital I/O pin 0, also PWM capable |
4 | A3/D1 | Analog input 3 or Digital I/O pin 1, also PWM capable |
5 | GND | Ground |
6 | BAT | Battery input for an external power source |
7 | 3Vo | 3.3V output, can be used to power external sensors or components |
8 | USB | Micro USB connection for programming and power |
// Blink example for GEMMA v2
void setup() {
// Initialize digital pin D1 as an output.
pinMode(1, OUTPUT);
}
void loop() {
digitalWrite(1, HIGH); // Turn on the LED
delay(1000); // Wait for a second
digitalWrite(1, LOW); // Turn off the LED
delay(1000); // Wait for a second
}
Q: Can I power the GEMMA v2 with a 5V supply? A: No, the recommended input voltage is 4-16V via the battery port. The onboard regulator will bring it down to 3.3V.
Q: How do I sew the GEMMA v2 onto fabric? A: Use conductive thread to sew through the large pads around the edge of the board. Make sure to knot and seal the ends to prevent fraying.
Q: Is the GEMMA v2 washable? A: The GEMMA v2 is not waterproof. Remove it from your project before washing.
For further assistance, consult the Adafruit forums or the extensive online community resources dedicated to GEMMA and wearable electronics.