Introduction: For a Safer Internet
The safety of our children on the Internet is a great challenge that always pushes us to think about finding the right methods to make them aware. In this sense, I thought of creating a quiz about digital practices. The quiz is created with the help of PictoBlox software and micro:bit electronic board. For each quiz question the player presses button A on the micro:bit board if his answer is Yes otherwise he presses button B on the micro:bit board
Supplies
- BBC micro:bit V2 board
- micro:bit battery holder
- PictoBlox plateform
Step 1: Using PictoBlox With Micro:bit
There are many platforms that can be used as micro:bit block editors - MakeCode, Scratch, PictoBlox, ect. For this project I chose to use PictoBlox which is a Scratch based interactive AI education platform that offer several features such as innovative extensions, the drag and drop functionality make it an ideal solution for children to learn to program with micro:bit board. It is quite easy to connect PictoBlox to micro:bit. Users have the option to choose between wired or Bluetooth connections. For this project I chose the last one and the steps to follow to make a successful connection are described below:
Follow these Bluetooth pairing steps to pair your micro:bit with your computer or phone
- Download and unzip the micro:bit Scratch Hex file
- .Flash the micro:bit over USB with the Scratch .Hex File, you will see the five-character name of the micro:bit scroll across the screen eg 'zutiz'
Steps to connect micro:bit board to PictoBlox with Bluetooth
- Download PictoBlox Link on your device
- Start PictoBlox Link and make sure it is running. It should appear in your toolbar.
- Open PictoBlox and select the micro:bit Board from the menu-bar
- Click on Connect and select Bluetooth Ports. List of available devices will appear. Click on Connect.
- Once connected, you will get success message
PictoBlox Link - Easily connect boards over Bluetooth with PictoBlox
Step 2: Write the Code With PictoBlox
Once you have successfully connected Bluetoothe and PictoBlox you can see the code blocks of the micro:bit board added to Pictoblox and now it is time to write the code.
The principle of the game is that the user has ten questions to answer with Yes or No. He has 8 seconds for each question. If his answer is Yes he presses button A on the micro:bit board otherwise he presses button B. The player's score is displayed on the micro:bit screen. You can download the code on this link.