Tutoring

Learn

Resources

How To Make a Smiley Face on a micro:bit? | Emotion Badge

Updated By

Reviewed By

Smiley Face on a micro:bit
Image

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.

more than 4 types of emoji

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.

If you have a micro:bit connected, click “Download” to transfer your code and watch the micro:bit emoji’s.

MakeCode micro:bit tutorial – Smiley face code

The micro:bit MakeCode tutorial code for creating smiley are given below:

Smiley Face Code

More micro:bit projects

  1. Coin Game
  2. Apple Catching Game
  3. Space Invaders Game
  4. Flappy Bird Game
  5. Flashing Heart Project
  6. Beating Heart Project
  7. Snap the Dot Game
  8. Name Badge Project
  9. 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:

  1. Start by creating a new project in micro:bit MakeCode editor
  2. Then, from the “Basic”, choose the “show icon” block.
  3. Now, click on the “show icon” drop-down and choose the smiling emoji.
  4. Similarly, drag and drop a new show icon under the existing show icon and choose the sad emoji from the drop-down again.
  5. After showing the happy and sad emojis, we need to pause the program for 1000 milliseconds.
  6. 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.
  7. Repeat Step 9 and use an angry emoji here again.
  8. 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.

Additional Reads

How to Connect micro:bit to Your Computer?

How to Reset micro:bit to Factory Settings? 

How To Transfer Code to Micro:bit via USB? 

How To Connect A Power Supply to micro:bit? 

How to Set micro:bit As Download Location?

Get 1-on-1 online Microbit classes
Don't forget to share this post!
tutor Pic
tutor Pic