Christmas Information: Kitronik will be closing 24th Dec December 2024, reopening on 2nd of January 2025. See our delivery schedule for more information.

BBC micro:bit Powered Halo-ween Fancy Dress
Halloween offers the perfect opportunity for some fancy dress fun. In this tutorial, we will show you how this can easily be done using the Kitronik ZIP Halo for the BBC microbit. kitronik-halo-ween-microbit-zip-led-5-1000 This will definitely make you the belle of the ball and if you also want venture out to trick or treat, it will help to light your way.  

BBC micro:bit Powered Halo-ween Fancy Dress:

 

Parts:

Tools:

Coding:

kitronik-halo-ween-microbit-zip-led-13-1000 In this tutorial, we are going to show you how to add LEDs to a witches hat, as pictured above, the same techniques can be used to modify other fancy dress items such as capes, as shown above, and at the foot of the tutorial. Let's get making!  

Step 1:

Once the microbit has been connected to the ZIP Halo using the supplied bolts the first task is to connect the extra ZIP LEDs that we will be adding to the hat, to the extension connection point on the ZIP Halo. The extension point is indicated by the text ‘ZIP_EXT’ as shown in the image below. These connections will need connecting to the corresponding connections on the flexible ZIP LED strips. zip-halo-powered-halloween-dress-halo-front-microbit-870 To connect the parts together you will need three strands of cable. We have decided to use a male to female servo extension cable to that the hat can be ‘plugged’ into the ZIP Halo and removed again when not in use. The first task is to cut the extension cable into two halves as shown below. zip-halo-powered-halloween-dress-halo-cutters-870  

Step 2;

Take one-half and strip the insulation from the end of each of the three wires so that it can be soldered the ZIP Halo board. zip-halo-powered-halloween-dress-halo-wire-strip-microbit-870  

Step 3:

Solder the three wires to the ‘ZIP_EXT’ connection point as shown below. We have chosen to have the wires coming out of the back of the ZIP Halo so that they don’t get in the way of the front LEDs. zip-halo-powered-halloween-dress-halo-solder-microbit-870 The results will look like this. zip-halo-powered-halloween-dress-halo-servo-extension-microbit-870  

Step 4:

The flexible ZIP strips will need cutting down to fit the size of hat that you are using. This is easy to do as the strips have cut points after each LED as shown below. We will be using one strip on either side of the hat so cut two of the same length. zip-halo-powered-halloween-dress-halo-strip-snip-microbit-870 Now take the second half of the servo intension cable which we will be soldering to the first section of flexible ZIP strip. It important to make sure the three lines are connected in the correct way. The connections should be made (soldered) as follows:
Halo. Flexible ZIP Strip.
GND (Ground). GND
Vsw (Power). +5V.
DOUT (Data). DIN (Centre of strip).
  Also, the flexible strips are directional with data being fed in one end and out the other. This is indicated by the arrows printed on the strip. Make sure you connect to the data in end. The result should look as shown below. zip-halo-powered-halloween-dress-halo-led-strip-microbit-870  

Step 5:

Now take the second flexible ZIP strip and connect (solder) it to the first piece using three pieces of connecting wire as shown below. Again take care to ensure the arrows on the strips flow from the ZIP Halo, along the first strip and onto the second strip. zip-halo-powered-halloween-dress-halo-joined-microbit-870  

Step 6:


Now it is time to carefully position the two LED strip onto the hat. The flexible ZIP strip has an adhesive backing. Peel this away and stick the two strips in the desired positions. The extension connector should be located at the bottom of the hat. When you are happy with the positioning you may wish to sew over the strips (not through the PCBs!) in a number of places for extra security. zip-halo-powered-halloween-dress-halo-backing-microbit-870  

Step 7:

Cut a small hole in the hat at the point where the extension cable joins the strips as shown below. zip-halo-powered-halloween-dress-halo-scissors-microbit-870 Then feed the cable through the hole. zip-halo-powered-halloween-dress-halo-through-hat-microbit-870 The resulting hat should look like this. zip-halo-powered-halloween-dress-halo-hat-complete-microbit-870  

Step 8:

Now the hat is complete it is now time to sew the ZIP Halo board in place. Key points that you will want to consider when deciding where to put the ZIP Halo are:
  • Does it want to be visible and do you also want to use the LEDs on the ZIP Halo and microbit?
  • Where will the batteries be located? We have chosen to use 3xAAA batteries. These are bulkier than a Lithium Polymer battery but much safer to use.
Note: The ZIP Halo can also become warm if the LEDs are used to display some colours at maximum brightness. We will use them at a lower brightness to ensure this is not an issue.
With these points in mind, we decided to locate the ZIP Halo at the front of the dress so that the LEDs can shine through the material and be visible. I small pouch was added to hold the batteries. zip-halo-powered-halloween-dress-halo-on-mat-microbit-870  

Step 9:

The code is shown in the embedded MakCode editor below, if you are having difficulty seeing what's going on, the edit button in the top right will open the code the full editor which should make it easier to see on a small screen. The code that we have created to control the hat and dress is as follows. This uses two variables to control the ZIP LEDs on the hat and dress. The dress is set up to display red all the time (red is a colour that doesn’t generate too much heat) and the hat can swap between display red and rainbow depending on which button on the microbit is pressed.
 

Step 10:


Try on and test. Connect the hat to the dress taking care to ensure the power and data connections are connected the correct way around. Insert the batteries into the battery pack and connect to the microbit and turn on the ZIP Halo. The dress will now look like this, perfect for some Halloween fun!   Below is a collection of photos that we took of the costumes and I think you'll agree, costume + LEDs = that's more like it!
kitronik-halo-ween-microbit-zip-led-1-200 kitronik-halo-ween-microbit-zip-led-2-200 kitronik-halo-ween-microbit-zip-led-3-200 kitronik-halo-ween-microbit-zip-led-4-200
kitronik-halo-ween-microbit-zip-led-5-200 kitronik-halo-ween-microbit-zip-led-6-200 kitronik-halo-ween-microbit-zip-led-7-200 kitronik-halo-ween-microbit-zip-led-8-200
kitronik-halo-ween-microbit-zip-led-9-200 kitronik-halo-ween-microbit-zip-led-10-200 kitronik-halo-ween-microbit-zip-led-11-200 kitronik-halo-ween-microbit-zip-led-12-200
Learn more about the author  With thanks to Kevin's Daughter Neve for being a good sport and for being patient while the pictures were taken, even when it started raining!

Project shopping list

For this project you will need the following items, you can adjust the quantities (including setting them to zero if you don't need the item), before pressing the "Buy all items" button.

Kitronik ZIP Halo for the BBC micro:bit
£10.50
Qty
3xAAA battery holder with JST
£1.30
Qty
AAA Zinc Chloride Batteries
£0.55
Qty
Flexible 30 LED ZIP Strip 0.5m, 5V
£6.89
Qty
60cm Male to Female Servo Extension Cable
£1.60
Qty

Leave a comment

All comments are moderated before being published