Smiley Face On micro:bit: Flashing emojis on micro:bit is one of the easiest micro:bit projects that kids can create. Using this project, one can express their emotions. For example, in a group class, the teacher can have a poll where he/she can understand how helpful the class was to kids. Once the class is over, the teacher can ask students how helpful the class was, and children can share their feedback using micro:bit. Thinking how? Well, it’s pretty simple. If students find the class helpful, they can program a laughing emoji on the micro:bit. If the kids feel that the class was not helpful, then they can program the sad emoji on the micro:bit.
This is just one example. Flashing emoji on micro:bit has various applications in day-to-day life. In this article, let us learn how to program emojis on micro:bit and the working principle of the same. Scroll down to find out more.
How to Create Your Own Emoji on micro:bit?
In the following figure, you can see that micro:bit flashes more than 4 types of emoji. To program the flashing emoji’s on micro:bit, we have used just three blocks namely – forever, show icon, and pause.
The detailed steps on how to use these blocks to create smiley faces on micro:bit are explained in the next section.
How To Flash Emojis on micro:bit?
The step-by-step procedure to program smiley on micro:bit is explained below:
- 1st Step: Visit the official website of Microsoft MakeCode for micro:bit.
- 2nd Step: Click on the “New project” icon and give your project a name.
- 3rd Step: Hit on the “Create” button.
- 4th Step: Remove the “On Start” block from the screen.
- 5th Step: From the “Basic”, choose the “show icon” block.
- 6th Step: Click on the “show icon” drop-down and choose the smiling emoji.
- 7th Step: Similarly, drag and drop a new show icon under the existing show icon and choose the sad emoji from the drop-down again.
- 8th Step: After showing the happy and sad emojis, we need to pause the program for 1000 milliseconds. To do the same, we are dropping “pause block” under the show block and entering the number as 1000 milliseconds.
- 9th Step: To create the 3rd type of emoji, again drag and drop a show icon and choose a confused smiley from the show icon drop-down.
- 10th Step: Repeat Step 9 and use an angry emoji here again.
- 11th Step: Now click on the “Start Simulator” button and you will see emoji flashing on micro:bit.
MakeCode micro:bit tutorial – Smiley face code
The micro:bit MakeCode tutorial code for creating smiley are given below:
More micro:bit projects
- Coin Game
- Apple Catching Game
- Space Invaders Game
- Flappy Bird Game
- Flashing Heart Project
- Beating Heart Project
- Snap the Dot Game
- Name Badge Project
- Animated Animals Project
Frequently asked questions (FAQs)
What is the flashing emotions project in micro:bit?
Flashing emotions projects is a beginner-friendly project that you can create on micro:bit. This project is about showing different types of emotions on the LED display output.
What is a micro:bit emotion badge?
An emotion badge is a micro:bit project is a beginner-friendly project with which a user can display different types of emotions on the LED display of the micro:bit. Micro:bit has two input buttons, pressing one button will make a smiley face, and pressing another button will make it sad.
How to make a smiley face on micro:bit?
The steps involved in making a smiley face on micro:bit are:
- Start by creating a new project in micro:bit MakeCode editor
- Then, from the “Basic”, choose the “show icon” block.
- Now, click on the “show icon” drop-down and choose the smiling emoji.
- Similarly, drag and drop a new show icon under the existing show icon and choose the sad emoji from the drop-down again.
- After showing the happy and sad emojis, we need to pause the program for 1000 milliseconds.
- To create the 3rd type of emoji, again drag and drop a show icon and choose a confused smiley from the show icon drop-down.
- Repeat Step 9 and use an angry emoji here again.
- Now click on the “Start Simulator” button and you will see emoji flashing on micro:bit.
What are Scratch micro:bit projects?
Scratch is a blocked-based programming language. You can use the language to create projects in micro:bit. You just have to connect micro:bit to your computer and open the Scratch editor in your web browser and add micro:bit from the extension block.
Is the micro:bit flashing emotions project beginner-friendly?
Yes, the micro:bit flashing emotions project, is a beginner-friendly project that one can create on micro:bit as this project doesn’t involve many complex steps. You only need to use blocks under the “Basic” block category.
We hope this detailed article on how to flash emojis on micro:bit is helpful to you. If you have any queries related to this project, ping us through the comment box below and we will get back to you as soon as possible.