What is micro:bit?
micro:bit is a pocket-sized codeable computer with motion detection, a built-in compass and Bluetooth technology.
There are many micro:bit kit available out there. One of the samples is Tea Brewer Kit.
Please refer here for the instructions.
If you’re just getting started with the Micro Bit, we recommend you check out a few of the tutorials, uploaded by the BBC and its partners to the Micro Bit website.
OK. Let’s Get Started!
Connect the micro:bit to the battery holder and follow the instructions on the LED display.
- The LED display will light up, with the word “HELLO”
- The arrow signs pointing to the left button, and you’ll be asked to press the A button on the left, and next it will point to the right button, which is B button.
- It will display “SHAKE”
- CHASE THE DOT
- GREAT!. NOW GET CODING!
This sequence will run each time you power up until you upload your own program to it.
Now, it’s time to start making your own program.
You can go to www.microbitworld.me. There are lots of tutorials and information on the website. You can select your coding editor that you would like to code with.
Let’s try to make a simple code to display word “ONVINETECH”.
- Open a web browser and type https://pxt.microbit.org/
- Click Input and drag “on button A pressed”
- Click Basic and drag a Show String block from the sidebar to the stage
- Click the A button on a micro:bit simulator.
- Give it a name and click save, it will automatically download the file to your “Downloads” folder.
- Open the Downloads folder click and drag .hex file into microbit drive.
- Disconnect it and press the A button, it will display the word “ONVINETECH” across the LED Display.
Let’s follow another tutorial from this website how to create a compass with “If Statement.”
The micro:bit has an on board compass. This compass has to be calibrated the first time that it is used, so that the readings that it produces are accurate. When you load a program into the micro:bit and your program tries to read from the compass, it will scroll the words ‘DRAW A CIRCLE’ on the screen. Hold the micro:bit horizontally and tilt it on the spot trying to fill in the circle, until all the dots are filled and then you see a smiley face. After you have done this, your program will run.
Thanks for reading. Have fun and start to coding. Do share with me about your projects using micro:bit.