

BBC micro:bit Emoji Bag:
You can customise the bag in any way you want, and we have suggested a few additional tasks to encourage students to explore further programming with the BBC microbitLearn how to:
- Make a simple felt bag from scratch.
- Program your BBC micro:bit to light the built in LED display and two additional LEDs via the output pins.
Level of difficulty:
- Beginner.
Parts List
In order to create your BBC microbit Emoji bag, you will need:- 1 x BBC micro:bit.
- 2 x 80 x 40cm pieces of felt.
- 1 x Small piece of felt for the battery pocket.
- 2 x White LEDs.
- Conductive Thread.
- Sewing thread in matching colours.
- Glue/Bondaweb.
- 2 x 5mm eyelets.
- 1 x 18cm length hook and loop fastener.
- 1 x Magnetic clasp.
- 3 x Crocodile clips.
- 1 x 2xAAA Battery Cage with JST connector.
- 2 x AAA Batteries..
- 1 x USB to Micro USB lead.
You will also require the following equipment:
- A computer with a USB port and internet access.
- Large eye needle.
- Scissors.
- Round nosed pliers.
-
Paper template
.
Step-by-step guide to making your BBC microbit Emoji Bag
Step 1
Cut out templates for the handles, inside pocket, oval and the top band from one colour and place onto the main piece of felt, marking out the position for the inside pocket, the crocodile clips and the LEDs and then cut out the holes. Cut out the battery pocket from the small piece of felt. Taking one of the pieces of the main felt bag we are going to sew the inside pocket which will house the battery cage. Place the pocket into position on the right hand side of the felt. Sew along three of the sides, leaving the top open for the battery cage. Turn this piece of felt over to create the circuit for the BBC micro:bit.Step 2
Prepare the LEDs for sewing. Using the round nosed pliers, twist each of the legs on the LED to form a loop, this is so you can connect the conductive thread. Prepare the crocodile clips for sewing. Holding the crocodile clip, bend over the ends of the clips with pliers so that they are lying flat.Step 3
Using the conductive thread, position the first crocodile clip in place, and sew to secure this, making sure you go over this a few times. The next step is to take the thread out to the side (not too far). Then use running stitch sew up towards where the LEDs will be. Before you place the LED into position you need to check the polarity of the LED. If you look at the LED you will see a flat edge, this is the negative leg. Position the LED on the right hand markings for the LED with the negative leg to the top of the felt and sew through the loop of the positive leg securing it in position, finish off and cut the thread. Sew and secure the second clip into position and taking the thread slightly wider than the first line of stitching and sew up to the positive leg of the left LED leg. Place the final crocodile clip into position and sew and secure. We are now going to sew with the thread up the right hand side of the circuit to secure the negative legs of the LEDs. Secure the first loop of the LED leg securely and then continue with the sewing across to the negative leg of the left LED. Sew securely and finish off and cut the thread. Your finished circuit should look like the example above.Step 4
Place the battery cage into the pocket and turn the felt over. Connect the BBC microbit board to the clips. On the back of the board there is a connector for the battery cage lead, just above this make a mark on the felt and make a small hole for the clip lead to come through to the front and connect to the board.Step 5
Take the piece of hook and loop fastener and cut it in half lengthways. Take the front piece of the felt for the front pocket of the bag and place this over the circuit for the BBC microbit, making sure it is centred. To help with the positioning of this take one of the pieces of hook and loop fastener and place it just below the crocodile clips and the thread and pin into place. The other half of the strip will be sewn to the bottom inside of the front pocket. Machine the two pieces of hook and loop fastener into position. Once in position mark where the eyelets will be, and also mark out a square 1” x 1” for where the BBC micro:bit display is. Once the eyelets have been fixed, either use glue or Bondaweb to secure the oval strip in place around the eyelets. Machine the two sides and the top of the pocket into place, leaving the bottom part open where the hook and loop fastener is, as this will give you easy access to the BBC microbit.Step 6
Turn the bag inside out, pin the sides together and stitch down the two sides and along the bottom. Turn the bag the right way out. Fold the handles lengthways so that the edges meet in the centre. Pin and stitch down the middle using a zig zag stitch. Position the handles upside down on the right side of the bag, with the ends protruding slightly over the top. Once they are evenly placed pin them. Take the top band join the seam and sew into a circle. Sew the magnetic clasp in place. To fit the top band to the bag place one half of the band over the back seam and the other half exactly opposite at the centre of the band. Once into position sew along the top seam. Turn the inside top panel over and machine the handles to the top of the panel.Step 7

Step 8

Step 9


Step 10
Now, let's try that out! Press the download button and the code should appear in your default downloads folder. If you plug your BBC micro:bit into a USB port it will show up as a storage device. Simply drag and drop the .hex file you just downloaded onto the BBC micro:bit. Now power up your BBC micro:bit with the batteries, then press the "reset" button next to the USB connector you should see the LED turn on.Step 11

Step 12

Further Task
At the moment our code is automatically triggered and runs continually with no input. Try using features that are built into the BBC micro:bit such as the buttons or the accelerometer to trigger the code. Set your Emoji bag apart from the rest and have a unique way of triggering the code. Hint 1. Use the "set item" variable to name your movement axis, and use the "acceleration" block to set which axis you wanted to monitor. Hint 2. Use an "if, do" loop to set the value for when the code should be triggered. Still need a little more help? Why not have a look at the "Don't Steal my BBC micro:bit Alarm" tutorial. Download the paper template here.

©Kitronik Ltd – You may print this page & link to it, but must not copy the page or part thereof without Kitronik's prior written consent.
2 comments
Mark Donnison
We had no plans to but we can look into doing one.
Faith
could you do a video doing this?