TrackingThings Micro:bit Proximity Device
by Vafanasj in Circuits > Microcontrollers
270 Views, 0 Favorites, 0 Comments
TrackingThings Micro:bit Proximity Device
![20210818_132155.jpg](/proxy/?url=https://content.instructables.com/FPR/42VF/KSHI7SPR/FPR42VFKSHI7SPR.jpg&filename=20210818_132155.jpg)
![20210818_132316.jpg](/proxy/?url=https://content.instructables.com/FDL/30Y9/KSHI7SPY/FDL30Y9KSHI7SPY.jpg&filename=20210818_132316.jpg)
This is a micro:bit device that uses the radio function. Using the radio function, I can track the proximity of other micro:bits by checking how strong the radio signal that I get from the other micro:bit is. Since I wanted to make a way for the micro:bits to social distance, I made this.
Downloads
Supplies
For this project, you are going to need:
2 micro:bits
A computer or phone
The micro:bit app or the MakeCode site
2 transparent boxes
2 LiPo batteries
Setting Up.
![20210809_115428.jpg](/proxy/?url=https://content.instructables.com/F01/7OGA/KS4N8Y37/F017OGAKS4N8Y37.jpg&filename=20210809_115428.jpg)
The Code for the Micro:bits.
![20210817_181014.jpg](/proxy/?url=https://content.instructables.com/FHQ/TQIJ/KSGEH2SV/FHQTQIJKSGEH2SV.jpg&filename=20210817_181014.jpg)
This is the code you need to make the micro:bits work for this project:
https://makecode.microbit.org/_95s1wEAAfay7
Instructions.
![download (2).png](/proxy/?url=https://content.instructables.com/FUH/FURM/KRXI1RH9/FUHFURMKRXI1RH9.png&filename=download (2).png)
To make both of the proximity devices, you have to follow these instructions:
1. Connect the LiPo battery to the micro:bit
2. Put the micro:bit inside the clear box
3. Repeat
Now you have 2 proximity devices, ready to use.