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.
Explore Projects Built with Adafruit Crickit for microbit
Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
This circuit is designed to control multiple motors and servos using an Adafruit Crickit for microbit as the main controller, interfaced with a micro bit microcontroller. It includes two yellow hobby gear motors, two 9G micro servos, and two standard servos, all powered and controlled by the Crickit board. Additionally, there is a 0.96" OLED display for output and a piezo sensor, likely for input, connected to the Crickit, which is programmed via the micro bit.
This circuit integrates an Adafruit Circuit Playground Bluefruit with an Adafruit Crickit for Circuit Playground Express to control a temperature sensor, a loudspeaker, and a series of WS2812 RGB LED strips. The Crickit board reads temperature data, drives the loudspeaker, and controls the LED strips to create visual effects based on the sensor input.
This circuit features an Mtiny Uno ATmega328P microcontroller as its central processing unit, interfacing with a variety of sensors and peripherals. It includes a 0.96" OLED display and an MPU6050 accelerometer/gyroscope for user interface and motion sensing, respectively. The circuit also integrates a TF LUNA LIDAR for distance measurement, a DHT11 sensor for temperature and humidity readings, and uses a 9V battery with a 7805 voltage regulator for power management. Communication with a computer for programming and data exchange is facilitated by an Adafruit FTDI Friend module.
This circuit is a portable, battery-powered system featuring an Adafruit QT Py RP2040 microcontroller that interfaces with an OLED display, a proximity sensor, an accelerometer, and an RGB LED strip. The system is powered by a lithium-ion battery with a step-up boost converter to provide 5V for the LED strip, and it includes a toggle switch for power control. The microcontroller communicates with the sensors and display via I2C.
Powering the Crickit: Connect a suitable power supply (4.5V to 9V) to the Crickit's power jack.
Connecting the micro:bit: Insert the micro:bit into the edge connector on the Crickit board.
Wiring Actuators: Connect servos, motors, or other actuators to the appropriate output pins.
Connecting Sensors: Attach sensors or input devices to the analog/digital I/O pins.
Programming the micro:bit: Use the MakeCode editor or Python to write programs for the micro:bit that interact with the Crickit board.
Important Considerations and Best Practices
Ensure the power supply voltage is within the specified range to avoid damaging the board.
Do not exceed the current rating of 1A per output to prevent overloading the drivers.
Always disconnect the power before making or changing connections to the board.
Use external pull-up or pull-down resistors with digital inputs if required by the sensor.
Check the orientation of the micro:bit when inserting it into the Crickit to avoid reverse insertion.
Example Code for Arduino UNO
// 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
}
Troubleshooting and FAQs
Common Issues Users Might Face
Motors not working: Check the power supply and connections. Ensure the motors do not exceed the current rating.
Servos jittering: This can be due to insufficient power supply. Use a separate power source for servos if necessary.
Sensors not responding: Verify the wiring and check if pull-up/pull-down resistors are needed.
Solutions and Tips for Troubleshooting
Double-check all connections and ensure they are secure and correctly oriented.
Use a multimeter to verify power supply voltage and continuity of connections.
Review your code for any logical errors or incorrect pin assignments.
Consult the Adafruit Crickit forums and community for help and advice.
FAQs
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.