Crowtail- OLED is constructed from the 128 x 64 dot-matrix
OLED module. The display offers high brightness, self-emission,
high contrast ratio, slim/thin outline, wide viewing angle, wide
temperature range and low power consumption. You can almost
display anything with this OLED module, such as text and pictures!
This kind of OLED is very suitable to use in your project which needs
a small display to show data or pictures.
Learn how OLED works and use it to make a monitor with ultrasonic ranging sensor to show
distance that detected by the ultrasonic ranging sensor.
Learn how to show number and string on OLED.
Micro:bit x1
Crowtail-Base shield for Micro:bit x1
Crowtail-Ultrasonic Ranging Sensor x1
Crowtail-OLED x1
Crowtail-Cable x2
USB cable x1
Target
Required Parts
Connect Crowtail-Ultrasonic Ranging Sensor and Crowtail-OLED to P13&P15 and I2C ports of
Crowtail-Base shield for Micro:bit.The hardware connections are as follows:
Hardware learning and connection
We need to add two extensions package before we use OLED(SSD1306) and ultrasonic ranging
sensor, Follow the steps below to add extension packages of them.
Step1
: Click on the Extensions, then search “OLED” and “sonar” in the search bar.
Programming and note
sonar
OLED
36