Maker.io main logo

Laser Cut Glittered Acrylic ZIP Tile Halloween Pumpkin

2020-10-14 | By Kitronik Maker

License: See Original Project

Courtesy of Kitronik

Guide by Mark Donnison

Quickly turn your ZIP Tile for microbit into a stylish digital Halloween Pumpkin with this simple laser cut design. Use our designs to make one straight away or use them as a starting point for your own design!

Our design features Glittered Acrylic which has recently been added to our range, but you can use any 3mm Perspex/Acrylic. As always, we've also provided the design file as a download and included some example code.

We Used:

Laser Cut Glittered Acrylic ZIP Tile Halloween Pumpkin:

There are three files included in the download; 2 x DXF files and also one STEP file. See below for a brief description and also some screenshots of the included files.

Finished_1

Our design was modelled in Fusion 360 which allows us to see exactly what the finished product will look like and also how it will go together. Once complete we then export it as DXFs, ready for the laser cutter. The image above shows the completed model.

Completed_2

The image above shows the DXF file for the pieces that we cut from the Polar White Perspex Sheet. The main piece acts as a diffuser which obscures the individual ZIP LEDs, creating the shifting lighting effect. The 12 spacers/standoffs ensure that everything works well together and then the final piece acts as a stand.

Acrylic_3

The main pumpkin piece was cut from the Glittered Acrylic, which sparkles nicely when the light shines from behind it.

Assembly:

Assemby_4

Once you've cut out all of the pieces and also gathered together all of the other parts, you should have everything shown in the above image.

Assembled_5

The above image shows how the assembled pumpkin fits together. The standoffs sit between the micro:bit and the ZIP Tile and also between the ZIP Tile and the two front pieces. Then add the elastic band to keep the LiPo in place. Also, the stand is fixed directly to the micro:bit.

Screws_6

In the above image, you can see that the screws that join the acrylic to the ZIP tile go through the front and also how the diffuser piece accents the pumpkin's features. All we need is some code and we are good to go.

The Code:

Code_8

Copy Code
function Output (ColumnNumber: number, Height: number) {
for (let index = 0; index < Height; index ) {
Y = 1
BrightnessOutput = -255 / (1 Height)
tileDisplay.setBrightness(BrightnessOutput)
tileDisplay.setMatrixColor(ColumnNumber, pins.map(
Y,
0,
7,
7,
0
), Kitronik_Zip_Tile.rgb(255, pins.map(
Y,
Height,
0,
0,
70
), 0))
}
tileDisplay.show()
Y = -1
BrightnessOutput = 0
}
let BrightnessOutput = 0
let Y = 0
let tileDisplay: Kitronik_Zip_Tile.ZIPTileDisplay = null
tileDisplay = Kitronik_Zip_Tile.createZIPTileDisplay(1, 1, Kitronik_Zip_Tile.UBitLocations.Hidden)
let X = 0
Y = -1
BrightnessOutput = 255
let ColumnNumber = 0
let YOFF = 0
basic.forever(function () {
ColumnNumber = randint(0, 7)
for (let index = 0; index < 8; index ) {
tileDisplay.setMatrixColor(ColumnNumber, YOFF, Kitronik_Zip_Tile.colors(ZipLedColors.Black))
YOFF = 1
}
tileDisplay.show()
YOFF = 0
Output(ColumnNumber, randint(1, 8))

Microsoft MakeCode | Terms of Use | Privacy | Download

Finally, program the Pumpkin in the Microsoft MakeCode Editor. An example program is shown in the project above, but this can be changed to suit, in lots of different colour options by utilising the Kitronik ZIP Tile extension. To add the extension to a new program, open MakeCode, go to “Advanced”, then “Extensions” and then search “Kitronik” – the ZIP Tile Extension will then be listed.

The Finished ZIP Tile Pumpkin:

Pumpkin_7

For more fun guides and micro:bit coding tutorials, visit the Kitronik University. To keep up to date and always be first in the loop, sign up to our newsletter 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.

制造商零件编号 MBIT0004
MICRO:BIT EVAL BRD
Pimoroni Ltd
¥136.75
Details
制造商零件编号 5645
MICROBIT ZIP TILE 8X8 LED MATRIX
Kitronik Ltd.
¥187.05
Details
MICRO:BITV2 EVAL BRD
制造商零件编号 MBIT0007
MICRO:BITV2 EVAL BRD
Pimoroni Ltd
¥169.97
Details
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum