# data[].attributes.body
Capteur d'humidité

# data[].attributes.body
Tutoriel 1
Tutoriel 2
Tutoriel 3
Tutoriel 4
Tutoriel 5

Tutoriel 12345

Tutoriel bonus A (équipe)
Tutoriel bonus B (équipe)
Tutoriel bonus C (équipe)

# data[].attributes.body
Programmation et construction

# data[].attributes.body
https://makecode.com/tutorial-tool

# data[].attributes.body
Projet pour les élèves

# data[].attributes.attachment_link.readable_text
Happy Valentine's day! If you are looking for the right person in your life, we've made a Micro:Bit love tester to help you out!

This project uses a Micro:Bit and a servo motor to determine how much you love each other. Don't worry, it is actually completely random so you don't have to be afraid. Here's how it works: you and your potential loved one must hold hands, and with your other hand or finger you have to touch the touchpads shortly at the same time. The servo motor will display the love percentage, and the Micro:Bit will display a matching emoticon. We've mounted the electronics on a cardboard in the shape of a heart to make it a little more crafty. Enjoy this loveable project!

Materials needed for making a Micro:Bit love tester

Ingredients:

Tools:

Programming the development board of the Micro:Bit love tester

Dev board: Micro:Bit

Difficulty: easy

Preparations:

Checking the MicroBit MakeCode sketch: go to the MicroBit code editor ( https://makecode.microbit.org/) and start a new project.

Download the "microbit_heart_code.zip" here and drag the file into the editor.

Now you should see the code for the love meter, below is some explanation.

Prepping the connections

Connection Table Servo motor

Uploading the program

You're now ready to upload the code! Connect the Micro:Bit to your PC and drag the "MicroBit_Lovetester.hex" to the Micro:Bit removable disk, as shown in the picture below. The LED on the Micro:Bit will Flash quickly until the program is uploaded.

Assembling the electronics

Overview of the Ingredients:

Step 1: Cut out a heart shape of about 25 x 20 cm, you can use this template.

Step 2: Place the template onto the cardboard and trace it with a pencil. The semicircle in the left top of the heart will display the love percentage with the servo. Do not cut it out of the cardboard, but trace it with a pencil.

Then cut it out with a box cutter

Step 3: Place the POWER:BIT SHIELD on the cardboard and trace the 3 mounting holes with a pencil.

Then cut it out with a box cutter, also make a hole just above the shield. This will serve as a feed-trough for the cables.

Step 4: Now we will cut out the hole to mount the servo motor in, trace the shape of the servo with a pencil.

Then cut it out with a box cutter (we also colored the love percentage bar).

Step 5: Mount the servo in the hole you just made.

Step 6: Mount the servo arm. Make sure the servo is at its full left position.

Step 7: Feed the servo cable through the hole, as shown in the picture below.

Step 8: Stick some conductive tape at the side of the heart as shown in the picture below. Or use tinfoil. If you are using the conductive wire, you can sow it through the cardboard by using a thick needle.

Do the same on the other side.

Step 9: Mount the POWER:BIT SHIELD on the Micro:Bit.

Tighten the 5 M3x8 bolts.

Step 10: Connect the servo to the POWER:BIT SHIELD like in the picture below. Pay attention to the colors!

Step 11: Place 2 CR2025 batteries in the POWER:BIT SHIELD.

Step 12: Place the MicroBit with the POWER:BIT SHIELD on holes in the cardboard we've made earlier.

Then tighten it down with 3 M3x8 bolts.

Step 13: You should now be at this point:

POWERStep 14: Connect a wire to P1 of the:BIT SHIELD (last free pin).

Step 15: Pinch it through the cardboard....

Through the conductive tape.

Step 16: Solder the wire to the conductive tape so it stays put en makes a good connection.

Step 17: Solder another wire to the GND of the Micro:Bit.

Step 18: Pinch it through the cardboard and conductive tape on the other side of the heart. Solder the wire to the conductive tape......

Done! Now color, customize and pimp your love tester to your own taste! Be creative!

Use your USB cable to power up the Micro:Bit love tester if the batteries aren't enough.

# data[].attributes.attachment_link.description
Happy Valentine's day! If you are looking for the right person in your life, we've made a Micro:Bit love tester to help you out! This project uses a Micro:Bit and a servo motor to determine how much you love each other. Don't worry, it is actually completely random so you don't have to be afraid.

# data[].attributes.body
https://makecode.microbit.org/

# data[].attributes.attachment_link.description
A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.

# data[].attributes.body
https://makecode.microbit.org/projects/name-badge

# data[].attributes.body
Learn - Challenges
Courses units

# data[].attributes.body
Tutoriel 6
Tutoriel 7
Tutoriel 8
Tutoriel 9
Tutoriel 10

# data[].attributes.body
Gabarit

# data[].attributes.body
https://microbit.org/get-started/user-guide/out-of-box-experience/

# data[].attributes.attachment_link.readable_text
When you first unbox and plug in a brand new micro:bit, it runs a special demonstration program that shows off some of its features in a playful way. We call this the 'out of box experience' program.

This can make an enjoyable exploratory learning experience for anyone new to the micro:bit, so here's a guide to how to restore it.

If you have a new micro:bit with sound, you'll find an extra activity which counts your claps. You can also put your new micro:bit to sleep by holding your finger down on the reset button on the back until the power LED goes out. You can wake it up by pressing the reset button again.

Hello!

Download the out of box experience .hex file and flash it on to your micro:bit. Your micro:bit's LED display output will spring into life and greet you. Start unlocking little games by following the instructions on the LED display.

Press the buttons

Your micro:bit will get you to try out the A and B buttons. These are the micro:bit's most basic inputs.

Shake it

The harder you shake your micro:bit, the more LED light outputs will light up. The micro:bit has a motion sensor input called an accelerometer that measures forces. It can measure how hard you shake it or which way up it is.

Tilt: chase the dot game

Can you catch the flashing dot by tilting your micro:bit?

Find the Easter egg

Secret features or games are sometimes called 'Easter eggs'. When you see the heart animation, unlock a secret snake game by pressing the A and B buttons together.

You can start the demo again by pressing the reset button on the back of your micro:bit.

Important information

The code for this 'out of box experience' is written in C++, so it will not load in the MakeCode or Python Editors. You could, however, make your own 'out of box experience' program in MakeCode or Python. How many micro:bit features could you show off?

If you use this .hex file and subsequently want to use Bluetooth services on iOS 10 or later, you will need to re-flash the BBC micro:bit via a USB cable with any program created in the makecode.microbit.org editor.

The original source code for the micro:bit first experience was provided by Technology Will Save Us and has since been developed and released by the Micro:bit Educational Foundation.

# data[].attributes.attachment_link.description
How to put the original out-of-box demo program back on your BBC micro:bit and unlock an Easter egg game

# data[].attributes.body
Tutoriel 11
Tutoriel 12
Tutoriel 13
Tutoriel 14
Tutoriel 15

Tutoriel - Boule de neige
Tutoriel - Flocons de neige

# data[].attributes.body
Programmation Javascript

# data[].attributes.body
https://kidscodejeunesse.org/fr/ressources-pour-educateurs?subject=microbit

# data[].attributes.attachment_link.description
Choisissez parmi une variété des programmes de codage d'enfants: des programmes primaires et secondaires en classe, la formation des enseignants, et plus, offerts partout au Canada.

# data[].attributes.body
https://microbit.org/get-started/user-guide/firmware/

# data[].attributes.attachment_link.readable_text
What is firmware?

Hardware is the physical part of a micro:bit.

Software is made up of the programs you write and run on your micro:bit.

Firmware is in the middle: a special kind of software that makes devices function properly. It's physically stored in the micro:bit's interface chip and doesn't change when you write programs or turn your micro:bit off, but it can be updated.

The micro:bit will work with the firmware it came with, so you should only update it if you really need to. This might be because you have an older micro:bit and need to update the firmware to use a feature like direct flashing of code from the online editors using WebUSB, which was introduced in firmware version 0243, or when troubleshooting a problem.

Checking your firmware version

To find out what version of the firmware you have on your micro:bit:

Plug it in to a computer using theUSB cable

Open the DETAILS.TXT file on the MICROBIT drive

Look for the number on the line that begins 'Interface Version'. For example, a micro:bit with firmware version 0249 will read:

If you need to update the firmware to access a new feature or troubleshoot a problem, here is how to do it:

Disconnect the USB cable and battery pack from the micro:bit.

Hold the reset button at the back of the micro:bit and plug the USB lead into the micro:bit and a computer. You should see a drive appear in your file manager called MAINTENANCE (instead of MICROBIT).

The MAINTENANCE drive will look like this, depending on your computer:

Download the .hex file appropriate for your version of the micro:bit from this page to your computer. The version number is printed in the bottom right-hand corner on the rear of the device. Read our article on identifying the micro:bit version, if you are unsure about which version you have.

micro:bit V1

If you have a micro:bit V1 (without speaker and microphone), all boards use the same firmware.

micro:bit V2

If you have a micro:bit V2 (with speaker and microphone), there are two possible versions of the firmware; V2.00 and V2.20/2.21. Please select the firmware appropriate to your board.

Drag and drop the .hex file you downloaded from this page onto the MAINTENANCE drive and wait for the yellow LED on the back of the device to stop flashing. When the upgrade is completed, the micro:bit will reset, ejecting itself from the computer and re-appear in normal MICROBIT drive mode.

Finally, check the DETAILS.TXT file that is on the MICROBIT drive and make sure that it has the same version number as the .hex firmware that you just downloaded and flashed to the interface chip (eg. 0255).

For any issues or help with the process of updating your firmware, please contact micro:bit support

Previous firmware versions

In the unlikely event you need to roll-back your micro:bit's firmware to a previous version, you can find information on previous firmware versions in our developer documentation.

# data[].attributes.attachment_link.description
How and why to update the firmware on the BBC micro:bit.

# data[].attributes.body
Tutoriel 16
Tutoriel 17
Tutoriel 18
Tutoriel 19
Tutoriel 20

# data[].attributes.body
https://microbit.org/get-started/user-guide/battery-pack-holder/

# data[].attributes.attachment_link.readable_text
When you buy the latest micro:bit with sound, the box includes a handy cardboard template that you can cut out and use to hold the micro:bit and battery pack together. This makes it neat and easy to carry.

You don't need to have the micro:bit box to use the template though. We've published it here so you can download, print and have a go at making and customising them yourself.

Download and print

Choose from the following PDF downloads that best suit your printer's paper or card size:

You can also download an Adobe Illustrator file of the battery pack holder outline for use in a laser cutter:

Make

Cut out the battery pack holder by trimming around the solid lines on the template.

You will also need to cut out the holes for the buttons and the hole to push the battery pack wire through.

Follow the simple three step process to fold your battery pack holder around the battery and the micro:bit and then you are ready to go!

1. Place the battery pack on the template and feed the battery pack wire through the hole you cut out earlier.

2. Fold the top and bottom of the template towards each other and insert the catch into the slot so that it locks into place.

3. Place the micro:bit on top of the battery pack and fold the right and left edge of the template over the micro:bit, pushing the A and B buttons through the holes you cut out earlier.

Customise

Why not make it your own by writing your name on the back or colouring it in? You can share your creations using the #microbit hashtag on Twitter or Facebook.

The micro:bit battery pack holder is published under a Creative Commons Sharealike International 4.0 license (CC-BY-SA 4.0)

# data[].attributes.attachment_link.title
Make your own micro:bit battery pack holder

# data[].attributes.attachment_link.description
When you buy the latest micro:bit with sound, the box includes a handy cardboard template that you can cut out and use to hold the micro:bit and battery pack together. This makes it neat and easy to carry. You don't need to have the micro:bit box to use the template though.

# data[].attributes.body
Tutoriel 21
Tutoriel 22
Tutoriel 23
Tutoriel 24
Tutoriel 25

# data[].attributes.body
https://makecode.microbit.org/_LccRVC2VdatT

# data[].attributes.attachment_link.description
Fait avec ❤️ dans Microsoft MakeCode for micro:bit.