MP3 Music Module

MP3 Music Module (HKBM8012E)

../../_images/12_031.png

This is a music module with a speaker and a microSD card slot, it is able to play MP3 files. It can be used as an MP3 player with the built-in buttons, or be used with an Armourbit.

Details

../../_images/12_021.png

Specifications

  • Voltage: 3V-5V

  • Dimensions: 56mm X 24mm X 16mm

  • Connector: 4Pin PH2.0

  • Flash Card: microSD card, up to 32G, supports FAT32

  • File Formates: MP3, WAV

  • Buttons: Play, Previous, Next

  • Uploading: Put the files onto the microSD card with a computer.

Precautions

  • PowerBrick Kit set does not come with an SD Card.

  • Music can only be played if there are music files on the SD Card.

  • When installing the SD Card, push it into the slot until there is a click.

  • To remove the SD Card, gently push the SD Card, the SD Card will be unlocked and can be taken out. Do not pull the SD Card from the slot without unlocking first.

Connecting the module

Connect the Music Module to Armourbit with a 4Pin cable.

../../_images/mp3_wire.png

MakeCode Coding Tutorial

../../_images/mcbanner.png

Powerbrick Extension: https://github.com/KittenBot/pxt-powerbrick

Loading Extensions

MP3 Module Blocks

../../_images/mp3blocks1.png

Playing an MP3 file

../../_images/mp31.png

Sample Code Link

Choosing an MP3 file with a number

../../_images/mp3id1.png

Sample Code Link

Choosing an MP3 file with a name

../../_images/mp3name1.png

File name can only contain alphabets and numerics, length cannot exceed 8 letters.

Sample Code Link

Makecode Tutorial Video

../../_images/mp3tut1.png

Extension Version and Updates

There may be updates to extensions periodically, please refer to the following link to update/downgrade your extension.

Makecode Extension Update

KittenBlock Coding Tutorial

../../_images/kbbanner.png

Load Powerbrick Extension

Select Powerbrick from the hardware column.

../../_images/addextension1.png

MP3 Module Blocks

../../_images/kbmp3blocks1.png

Playing an MP3 file

../../_images/mp3play1.png

Sample Code Download

Choosing an MP3 file with a number

../../_images/mp3playbyid1.png

Sample Code Download

Choosing an MP3 file with a name

../../_images/mp3playbyname1.png

File name can only contain alphabets and numerics, length cannot exceed 8 letters.

Sample Code Download

FAQ

1:Why is there no reaction when I click the blocks?

Make sure you have connected the Micro:bit correctly and flash the firmware again.