Wireless communications are everywhere in our daily life, such as mobile phones we most
often see and use. Wireless communication brings us a lot of conveniences. It enables us to
communicate with each other even thousands of miles apart. Thanks to the radio/Bluetooth
module on the micro: bit board, wireless communication can also be achieved between our
two micro: bits or communicate with the phone.
Micro: bit has two wireless communication methods, one is radio communication and the other
is Bluetooth communication. These two hardware modules are embedded in the upper left
position behind the micro: bit, as shown in the figure. In this experiment, we will learn the
standard radio on micro:bit which allows you to communicate between two or more micro:bits.
Experiment 16 – Wireless communication
Instruction
Learn how radio work on micro:bit and use it to communicate between 2 micro:bits.
Learn how to send and receive numbers between 2 micro:bits.
Micro:bit x2
Crowtail-Base shield for Micro:bit x2
Crowtail-Buzzer x1
Crowtail-Cable x1
USB cable x1
Target
Required Parts
Hardware learning and connection
Download the program to micro:bit and see what happens.
When the distance detected by the ultrasonic ranging sensor is less than 10
cm, the distance and warning( “Danger!” and “Keep distance!” ) will be
displayed on OLED. Otherwise, the distance and Security Information( “Safe
distance” ) will be displayed on OLED.
Result
Can OLED be used to make a more comprehensive display, showing all the data and
information we need on the OLED, such as time, light, temperature and humidity?
38