Micro:bit Fencing Control

by igorboccafoli in Circuits > Microcontrollers

482 Views, 3 Favorites, 0 Comments

Micro:bit Fencing Control

Senza nome.png
IMG_20201210_164819.jpg
IMG_20210422_105451.jpg

Our school collaborates with a fencing team. My students, and not only that, often complain because the cable limits them in their movements.

What better opportunity to create a control with Micro:bit!

The idea is to use two Micro:bit that communicate with each other via radio and assign the point count.

Supplies

IMG_20210422_125303.jpg
IMG_20210422_125235.jpg
IMG_20210422_125212.jpg
IMG_20210422_105050.jpg

The steps are very simple:

It is much easier if you plug the banana plugs into the sword and take the distance measurement

The PCB breadboard must be cut to size Micro:Bit in width and about half of the height, or in any case as long as the BANANA PLUG.

Weld two BANANA plugs and two wires on the BANANA plug.

IMG_20210422_105000.jpg
IMG_20210422_104922.jpg
IMG_20210422_105145.jpg
IMG_20210422_105130.jpg
IMG_20210422_105254.jpg
IMG_20210422_105500.jpg

Mount Mi-Power on Microbit, and connect the wires to PIN 1 and GND.

PIN 0 will be used for sounds.

It is possible to fix the MI-Power to the PCB with two spacers.

Micro:bit Fencing Control

This is the link to the editor with the code.

https://makecode.microbit.org/_d8rX9qMpJbEz