Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Adafruit Crickit for microbit: Examples, Pinouts, and Specs

Image of Adafruit Crickit for microbitDesign with Adafruit Crickit for microbit in Cirkit Designer

Introduction

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!
Image of Adafruit Crickit Controlled Robotics Platform with Micro:bit: A project utilizing Adafruit Crickit for microbit in a practical application
Adafruit Crickit Controlled Robotics Platform with Micro:bit

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.

Open Project in Cirkit Designer
Image of ATmega328P-Based Sensor Hub with OLED Display and LIDAR: A project utilizing Adafruit Crickit for microbit in a practical application
ATmega328P-Based Sensor Hub with OLED Display and LIDAR

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.

Open Project in Cirkit Designer
Image of Battery-Powered Smart Light with Proximity Sensor and OLED Display using Adafruit QT Py RP2040: A project utilizing Adafruit Crickit for microbit in a practical application
Battery-Powered Smart Light with Proximity Sensor and OLED Display using Adafruit QT Py RP2040

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.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

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

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Crickit: Connect a suitable power supply (4.5V to 9V) to the Crickit's power jack.
  2. Connecting the micro:bit: Insert the micro:bit into the edge connector on the Crickit board.
  3. Wiring Actuators: Connect servos, motors, or other actuators to the appropriate output pins.
  4. Connecting Sensors: Attach sensors or input devices to the analog/digital I/O pins.
  5. 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

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

Solutions and Tips for Troubleshooting

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.