Hi friends, this weekend I am going to build a micro:bit inductive door with the sonar:bit sensor-the door opens automatically for 5 seconds if there is something detected near it. Let’s see how it works in this video:
Let’s make a simiple project: A Timid TPBot Smart Car
It lights on in the colourful mode in a quiet environment, but it lights off once there is louder noise near it, and it would move forward quickly to turns and face to the back side.
Through the introduction of the turtle extension library in the previous article, we have learned the basic concepts of turtle graphics. In this article, let’s learn how to draw a helix with micro:bit. Press the button A to draw a helix on the LED screen, and press button B to eliminate the helix as the same way:
While browsing the makecode website, you may find a very interesting extension library-Turtle, which is a micro:bit extension library that is used to control a LED highlight, and then control its movement through programming, we can also draw the movement track to create complex graphics, there is limited by the size of the dot matrix on the micro:bit board, there are not many complex graphics that can be drawn, but it is still worth a try. Below is a spiral I drew
This is a small game that tests memory. It will display five characters in a row, and then wait for key input. When the player presses the keys in the correct order, √ is displayed. If the key is entered incorrectly, × is displayed and the game restarts. This is a simple game and you can have a try of optimizing and increasing the difficulty on the basis of this game.