Micro:bit Maqueen robot code collection

Evasive maneuver (using distance sensor)


Marqueen avoids walls or obstacles it encounters during its progress(< 20 cm).

Source code

https://makecode.microbit.org/#pub:75200-46487-20442-48437


Line tracker

Line tracker – source code

https://makecode.microbit.org/#pub:25457-13297-31811-64902


Black barrier

Black barrier – source code

https://makecode.microbit.org/#pub:28206-29997-02800-36929


Wireless control

Wireless control – transmit controller source code

https://makecode.microbit.org/#pub:99588-03558-57051-16347

The radio groups of the transmitter and receiver must match.
If multiple people are coding at the same time, use a group number that no one else is using to avoid confusion.

Wireless control – receiver robot source code

https://makecode.microbit.org/#pub:80196-89638-16729-98703

The radio groups of the transmitter and receiver must match.
If multiple people are coding at the same time, use a group number that no one else is using to avoid confusion.