Introduction: Microbit RC of Cricket
You can remote control a Micro:bit and Cricket using another Micro:bit. In this example, we used a transmitter to control LED colored lights and a micro servo to create a fun Rocket League "goalie". Students can use the controller to change the lights and move the goal post to block the ping pong ball.
Attachments
Supplies
You will need:
- Micro:bit x2
- Cricket
- Micro servo
- LED lights
- Power supply cable
- Battery pack
- Jumpers x2
- USB A to Micro B
Step 1: Wire Up the Cricket
- Connect the micro servo into the "servo block" on the Cricket. Put it in position 1 with the darkest color wire facing the inside of the Cricket.
- Then wire the LED lights (Neopixel strip). Wire accordingly in the "Neopixel" block on the cricket. make sure to strip the end of the wires for the best connection.
Step 2: Code the Transmitter
- Download the transmitter code: Transmitter (microbit.org)
- Then, plug in your Micro:bit into the computer to download the code onto the transmitter using a USB A to Micro B cord.
Step 3: Code the Receiver
- Download the receiver code: receiver (microbit.org)
- Then, plug in your Cricket into the computer to download the code on to the transmitter using a USB A to Micro B cord.
Step 4: Customize
Optional: Adjust the angle that the micro servo rotates or change the color of the LEDs by changing the code and reuploading it to your transmitter/receiver.