Microbit RC of Cricket

by acbergmaier in Circuits > Remote Control

517 Views, 0 Favorites, 0 Comments

Microbit RC of Cricket

Image.jpeg
pic 2.jpeg

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.

Supplies

microbit.jpg
cricket.jpg
micro server.jpg
led.jpg
switching power suppy.jpg
battery pack.jpg
jumpers.jpg
usb a to micro b.jpg

You will need:

  1. Micro:bit x2
  2. Cricket
  3. Micro servo
  4. LED lights
  5. Power supply cable
  6. Battery pack
  7. Jumpers x2
  8. USB A to Micro B

Wire Up the Cricket

wire up.PNG
  1. 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.
  2. 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.

Code the Transmitter

microcontrollers_transmit.jpg
  1. Download the transmitter code: Transmitter (microbit.org)
  2. Then, plug in your Micro:bit into the computer to download the code onto the transmitter using a USB A to Micro B cord.

Code the Receiver

microcontrollers_receive.jpg
  1. Download the receiver code: receiver (microbit.org)
  2. Then, plug in your Cricket into the computer to download the code on to the transmitter using a USB A to Micro B cord.

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.