The Adafruit Crickit for micro:bit is a versatile robotics extension board that transforms your BBC micro:bit into a powerful platform for robotics and interactive projects. It is designed to control motors, servos, solenoids, and other actuators, while also providing additional inputs and outputs for sensors and devices. This board is ideal for educators, hobbyists, and anyone interested in exploring the world of electronics and robotics.
Pin | Function | Description |
---|---|---|
1 | Signal | Servo motor control signal |
2 | Signal | Servo motor control signal |
3 | Signal | Servo motor control signal |
4 | Signal | Servo motor control signal |
A1 | Analog/Digital I/O | General-purpose I/O pin |
A2 | Analog/Digital I/O | General-purpose I/O pin |
A3 | Analog/Digital I/O | General-purpose I/O pin |
A4 | Analog/Digital I/O | General-purpose I/O pin |
A5 | Analog/Digital I/O | General-purpose I/O pin |
A6 | Analog/Digital I/O | General-purpose I/O pin |
A7 | Analog/Digital I/O | General-purpose I/O pin |
A8 | Analog/Digital I/O | General-purpose I/O pin |
5V | Power | 5V output for powering external devices |
GND | Ground | Ground reference for circuits |
// Note: The Adafruit Crickit for micro:bit is not directly compatible with Arduino UNO.
// This section is for illustrative purposes only.
#include <Servo.h>
Servo myservo; // create servo object to control a servo
void setup() {
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop() {
myservo.write(90); // sets the servo position to 90 degrees
delay(1000); // waits for a second
myservo.write(0); // sets the servo back to 0 degrees
delay(1000); // waits for a second
}
Q: Can I use the Crickit with an Arduino UNO? A: The Crickit is designed for the micro:bit and does not directly interface with an Arduino UNO. However, you can use similar motor driver shields that are compatible with Arduino.
Q: What programming languages can I use with the Crickit? A: You can use the MakeCode editor, which provides a block-based interface, or you can write code in Python.
Q: How many servos can the Crickit control? A: The Crickit can control up to four servos simultaneously.
For further assistance, please refer to the Adafruit Crickit for micro:bit guide available on the Adafruit website.