The Adafruit Crickit FeatherWing is a versatile add-on board designed for use with the Feather ecosystem. It is specifically tailored for robotics and automation projects, enabling users to control a wide array of actuators, sensors, and other electronic components. The Crickit FeatherWing simplifies the process of connecting complex circuits to a Feather board, making it an ideal choice for hobbyists, educators, and prototyping professionals.
Pin | Function | Description |
---|---|---|
GND | Ground | Common ground for all circuits |
3V3 | 3.3V Power | Regulated 3.3V power output |
VIN | Voltage Input | Input voltage for the board (4.5V to 13.5V) |
A1-A4 | Analog Inputs | Analog sensor inputs |
D5-D12 | Digital I/O | Digital input/output for sensors and actuators |
SDA/SCL | I2C Data/Clock | I2C communication pins |
RX/TX | UART Receive/Transmit | Serial communication pins |
Motor 1-4 | Motor Outputs | Outputs for connecting DC motors |
Servo 1-8 | Servo Outputs | Outputs for connecting hobby servos |
#include <Adafruit_Crickit.h>
// Initialize the Crickit Shield
Adafruit_Crickit crickit;
void setup() {
// Start the Crickit Shield
crickit.begin();
}
void loop() {
// Example: Control a servo on channel 1
crickit.servo1.write(90); // Set servo to 90-degree position
delay(1000); // Wait for 1 second
crickit.servo1.write(0); // Set servo to 0-degree position
delay(1000); // Wait for 1 second
}
Note: This example assumes that you have installed the Adafruit_Crickit
library. The code comments are kept under 80 characters per line to maintain readability.
For more detailed information and advanced usage, please refer to the official Adafruit Crickit FeatherWing guide and the Adafruit Learning System.