Free shipping within Canada on orders over $150

News

November 08, 2018

0 comments

Posted in glowforge, piano, projects


Kitronik :Klef Piano Laser Cut Case

Kitronik offers DXF files for making a baby-baby grand case for your Klef Piano

Kitronik tutorial is found here

Klef DXF Files 

Timelapse Video of Build.    

The Elmwood Glowforge only takes SVG & PNG files. 

To get started I imported the DXF file for "Kitronik_Perspex+Wood_Piano" into Inkscape and separated the layers to be laser cut into a SVG file and copied the layers to be embossed/engraved into a separate PNG document. 

 

 

Links for both are below.
Since every laser cutter is different, you mileage may vary. 

Laser Cut SVG Piano Template

Engraved PNG Piano Template

With the two documents uploaded to the Glowforge, I noticed the scaling was slightly too small from the DXF > SVG conversion. With the Klef in the actual bed of the Glowforge, did some trial end error rescaling by scanning the Klef in the forge &  then sizing the SVG template to make sure it would sit in the casing.

Here is a 12 minute video detailing the assembly.

 

Both goes at assembly, I snapped the balsa while curving the back of the piano, so you may want to add even more cuts to the SVG version above to make bending easier. 

For my next number 

I've created a CONCERT MODE file for the Micro:Bit where each note plays a song.

Great for impressing people. A very tiny amount... with a tiny piano. 

Remember to wave your fingers in the air feverishly. 

Click this link to get the HEX file to Download to your Micro:Bit

 

 

 

See Part one of this blog if you want step by step instructions on how to install the file. 

 

 

Finished Products! 

 

 And thanks to Kitronik for another super fun project. 

November 05, 2018

0 comments

Posted in kitronik, klef, piano


:Klef Micro:Bit Piano From Kitronik

Unboxing  / Testing video HERE ! 

MakeCode Setup Tutorial

You'll need

 

We've premade two example setups files for you. 

MakeCode Example ONE : Play notes right away.

Plug in Micro:Bit to computer. 

Basic Automatic Piano Setup HEX File  

click EDIT

Download  and Drag onto your MicroBit. 

Wait for it to stop flashing. It will dismount & then remount.

Then EJECT the Micro:Bit (varies depending on Win or Mac ). 

Unplug USB.

Insert Micro:Bit into Piano

Switch the USB cable to the top of the piano. 

Play Piano !

 

MakeCode Example TWO : Learn individual key assignment

This example will open MakeCode & you can see how I assigned the capacitive touch based on these port numbers on the bottom.

 

Manual Key Assignment HEX File

click EDIT

Download  and Drag onto your MicroBit. 

Wait for it to stop flashing. It will dismount & then remount.

Then EJECT the Micro:Bit (varies depending on Win or Mac ). 

 

Unplug USB.

Insert Micro:Bit into Piano

Switch the USB cable to the top of the piano. 

 

Play Piano !

For this demo code, instead of octave shifting, the piano Arrow buttons, as well as Buttons  A & B will display some fun LED Icons.  

 

MakeCode Tutorial THREE : How Examples 1 & 2 were made.

Open MakeCode. 

Expand ADVANCED > EXTENSIONS

 

 

Enter KLEF into the Search Bar. Select it. 

You should now see the :Klef library in your Blocks

 

 

To recreate Example One

 

To recreate Example Two Replace the FOREVER Loop with a nested If Else Loop. Assign Each Key & note. Refer to the back of the piano. 

These will probably be easier to read by opening the MakeCode Example file linked earlier. 

End of Make Code Blocks Tutorials

Go make something fun!

 

Once you've mastered those tutorials & you love MicroPython & if you want to get more into direct c-like arrays & address assignment...

Alternate (Experimental) MicroPython instructions. 

You'll need :   

  • a python editor (this tutorial uses Mu)
  • this Kitroink sample code from github
  • Micro:Bit
  • micro USB cable
  • one :Klef Piano
  •  

    Open MU

    LOAD the file Klef-piano.py off the Github repository. 

     

    Once you have the Code loaded, FLASH it to your Micro:BIt

     

     

    Unplug Micro:Bit, insert into the :Klef and then insert the micro USB into the KLEF PIANO not the microbit. It will give you an error otherwise. 

     

    You can also think about using the onboard breakouts to control things via jumper wires. 

     

    You will notice the default volume is quite LOUD.

    Now go make beautiful music all night long so your neighbors can hear.