1 of 7

Robotics with Micro:bit and Crikit

2 of 7

Hardware

  • Micro:Bit (2)
    • One for the robot controller
    • One for the handheld controller
  • Crikit for motor and accessory control
  • Attach motors to motor spot (share screwdrivers)

3 of 7

Software

This presentation for link

www.yellkey.com/customer

  1. Go to makecode.microbit.org
  2. New Project
  3. Advanced -> Extension
  4. Search or enter project URL (https://github.com/adafruit/pxt-crickit )

More instructions here https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-construction-kit/makecode

4 of 7

Other notes

  • Encourage students to use block-based.
  • All sorts of accessories available (arduino ecosystem)
    • IR Sensor
    • Servo motors
  • Have students use LED grid to display the current state
  • On Windows PC, use Play Store App. Makes downloading 1 click

5 of 7

Robot Code

Set your radio group to something unique

Use “on radio received…”

Use Crikit - > “Crikit run motors…”

Simple sample code … https://makecode.microbit.org/_WthM7KJYF0ae

6 of 7

Controller code

Use “on button press”

Use “radio send number…”

Make sure you set the group number to the same as your robot code

https://makecode.microbit.org/_PgL8FUM1xRsA

7 of 7

Notes