Ultrasonic Sensor Distance Meter Part 2 | micro:bit Coding School pj.15-2
Вставка
- Опубліковано 8 лют 2025
- An ultrasonic sensor is a sensor that can measure the distance by receiving ultrasonic waves from one sensor and using the time difference. Using the formula we learned in Part 1, we will code in Part 2 and make our own distance meter. We will display the distance to the object in cm, and turn on the LED warning light if it comes too close.
#ultrasonic
#microbit
#sensor
✔ Learning Goals
Let's make a program that measures the distance using an ultrasonic sensor and outputs an LED when the distance between the sensor and the object is less than 5cm.
✔ Preparations
micro:bit
Extension board
Ultrasonic sensor
LED module
✔ Lessons, filming, editing : hohpark
✔ Student : pengshoon / pengshoon
✔ Download code and tutorials
After uploading the video, I will upload the class content and hex file to Github.
bit.ly/microbi...
안되염
니얼굴