Quick Start Guide - Microplayer

Modified on Mon, 17 Aug at 5:01 PM

This guide explains how to quickly start the MicroPlayer mkIII for first use.


TABLE DES MATIÈRES


1. Presentation

The MicroPlayer mkIII is a standalone audio player supporting WAV and MP3 files stored on an SD card or USB drive. Files can be played automatically at power-up or triggered by external events (input contacts, RS-232 commands, infrared remote control).

1. Volume knob for the amplified speaker output

8. USB 2.0 host connector for USB drive, Type-A

2. Configurable button A (decreases volume by default)

9. RS-232 serial connection and power output, detachable terminal block

3. Configurable button B (increases volume by default)

10. 4 optocoupled input contacts and power output, detachable terminal block

4. SD card slot

11. 2 MOSFET outputs and power output, detachable terminal block

5. Status LED

12. Stereo audio output at line level 0 dBu, RCA connectors

6. Infrared sensor

13. Stereo amplified speaker audio output, Class D, detachable terminal blocks

7. External DC power connector

14. Stereo headphone audio output, standard 3.5 mm jack connector (TRS)

2. Preparing the Storage Media

Select a high-quality SD card or USB drive and format it as FAT32. Store the necessary files according to the organization required by the player (see the example below). Do not use special characters or accented letters.

  • Files at the root of the storage media:
  • Folder organization at the root:
    • No subfolders allowed.
    • Naming: xxx[TAG1][TAG2]Name
      • xxx: Folder number from 000 to 999 used by commands. The AutoPlay function uses folder 000.
      • [TAGx] (optional): Tags controlling playback. See the Folder and File Tags section.
      • Name (optional): Folder name (free).
  • Organization of audio files in folders:
    • Format: WAV or MP3
    • Naming: xxx[TAG1][TAG2]Name.ext
      • xxx: File number from 001 to 999 defining the playback order in sequential mode. Optional and unused in random mode.
      • [TAGx] (optional): Tags controlling playback.
      • Name (optional): File name (free).
      • ext: wav or mp3 extension.



3. Connecting Input Contacts

The player’s 4 input contacts are used to generate events. Trigger systems can be connected to them (e.g., push button, presence detector, relay, programmable controller, SensoPad, IRPad, etc.). They must behave like open or closed contacts between an input and the player’s ground, with activation occurring on a closed contact.


The activation states (0 for open or 1 for closed) of the input contacts are combined to form a binary code identifying the generated event:


Combination xxx = Input1 + Input2 × 2 + Input3 × 4 + Input4 × 8


A command is assigned to each event.

By default, the INPUTxxx event resulting from the combination value xxx of the inputs is associated with starting the playback of folder xxx.

The config.txt file allows you to modify the commands assigned to the first 15 combinations.

Up to 4 combinations (001, 002, 004, 008), trigger systems can be directly connected to the inputs. Beyond this, a diode-based circuit can be used to achieve up to 15 combinations (e.g., with the Ext15In card).


Example circuit: 15 push buttons to 4 inputs



ButtonEvent
BP1INPUT001
BP2INPUT002
BP3INPUT003
BP4INPUT004
BP5INPUT005
BP6INPUT006
BP7INPUT007
BP8INPUT008
BP9INPUT009
BP10INPUT010
BP11INPUT011
BP12INPUT012
BP13INPUT013
BP14INPUT014
BP15INPUT015



4. Connecting Output Contacts

The MicroPlayer mkIII offers 2 outputs with MOSFET switches (up to 500 mA per output) to control power relays, motor controllers, lights, players, and various devices. The states of the 2 output contacts can be controlled using the folder and file tag [RLxy]. x and y represent the activation states of outputs 1 and 2:

Activation StateDescription
0Output contact opens at the start of playback.
1Output contact closes at the start of playback and opens at the end.
2Output contact closes at the start of playback.

Examples:

  • 001[RL00]: Both output contacts open when playback of folder 001 starts.
  • 002[RL10]: Output contact 1 closes during playback of folder 002, and output contact 2 opens when playback of folder 002 starts.
  • SongA[RL21].mp3: Output contact 1 closes when playback of the MP3 file starts, and output contact 2 closes during playback of the MP3 file.

5. First Startup

  1. Ensure the player is powered off (power adapter unplugged).
  2. Connect the audio outputs to the audio system as needed.
  3. Connect the input and output contacts as needed. See the Connecting Input Contacts and Connecting Output Contacts sections.
  4. Connect the RS-232 serial link if needed.
  5. Insert the prepared storage media. See the Preparing the Storage Media section.
  6. Power on the player by plugging in the power adapter.
  7. The player is operational.

6. Firmware Update

Start the player with a firmware file MPMK2.bin placed at the root of a FAT32-formatted SD card.


Firmware updates via USB drive are not supported.

7. Reference

7.1 Folder and File Tags

TagFolderFileParametersDescription
Min.Max.Default
[Jxxx]000999Jump to folder xxx at the end of playback.
[RET]Return to the previous folder at the end of playback.
[RND] and [SEQ][RND]Random or sequential playback mode for the folder.
[V+xx] and [V-xx]Relative volume of the folder or file.
[NT]Lock all commands from input contacts, configurable front panel buttons, and folder change commands from the serial link.
[RLxy]Definition of the state of all output contacts (x for output 1 and y for output 2): 0 = open, 1 = close during playback, 2 = close.
[RSxxx]Send RS-232 frame #xxx from the serial.txt file.
[WHL]Play the folder as long as the corresponding input combination remains active.
[NXTxxx]Play the next xxx files each time the folder is played.


7.2 Configuration File

The configuration file config.txt is a plain text file placed at the root of the storage media. Each line allows you to define a player parameter according to the table below.


Parameter DefinitionAccepted ValuesDefault ValueDescription
#ID:xxx001 to 127001Player identifier on the RS-232 serial link.
#VOLUME:xx00 to 64Last used valuePlayer volume at power-up.
#RS_MONITORING:x

0: No monitoring

1: Daisy Chain mode

2: Monitoring

3: Extended monitoring

0Monitoring mode for the RS-232 serial link.
#BOOT:xxx000 to 999000Folder to play at power-up.
#INPUTxx:cmd

xx: 01 to 15

cmd: See the command table

FOLDER0xxCommands assigned to input contact combinations.
#BUTTONx:cmd

x: 1 or 2

cmd: See the command table

BUTTON1:VOLUME_MINUS

BUTTON2:VOLUME_PLUS

Commands assigned to the special buttons on the infrared remote control and the player’s front panel.
#BAUDRATE:xxxxx9600, 19200, 3840019200Baud rate for the RS-232 serial port.
#POWER:x

0: Normal mode

1: Power-saving mode

0Activation of power-saving mode.


CommandParametersDescription
Min.Max.
PLAYPlay the last played file.
STOPStop playback.
NEXT_TRACK, PREV_TRACKPlay the next/previous file in the current folder.
NEXT_FOLD, PREV_FOLDPlay the next/previous folder.
FOLDERxxx000999Play folder xxx.
VOLUME_PLUS, VOLUME_MINUSIncrease/decrease volume by one step.
RSxxx001999Send RS-232 frame #xxx from the serial.txt file.

7.3 RS-232 Serial Connection

This link allows the player to receive commands, send arbitrary frames, and send status information.


By default, it is configured as follows (modifiable with config.txt):

Baud RateStart Bit(s)Data Bit(s)Parity Bit(s)Stop Bit(s)Handshake
192001801None


The reception protocol is based on a 3-byte frame: “Status”, “Command”, and “Data”:

StatusDescriptionCommandDescriptionDataDescription
80hAll players.01h, 11h, 21h, 31h, 41h, 51h, 61h, and 71hPlay a folder from a bank of 128 folders. command = bank × 10h + 100h to 7FhFolder number in the bank.
81h to FFhOnly the player with identifier 001 to 127.02hPlayback and volume control.01hPlay the last played file.
02hStop playback.
03hNext file in the current folder.
04hPrevious file in the current folder.
06hPlay the next folder.
07hPlay the previous folder.
09hIncrease volume by one step.
0AhDecrease volume by one step.
03hVolume control.00h to 40hVolume value.


Arbitrary frames can be sent using the [RSxxx] tag and input contacts. These frames must be defined in the serial.txt file at the root of the storage media, in the format #xxx:tt tt tt..., with one definition per line (e.g., #002:98 75 21 35 45 B2).

The monitoring protocol is structured like the reception protocol. The status byte has the same meaning. This protocol sends the following command and data bytes, depending on the mode selected in the config.txt file.


ModeDescriptionCommandDataDescription
0No monitoringThe player sends nothing other than the frames from the serial.txt file.
1Daisy ChainThe player echoes everything it receives.
2Monitoring00h00hPlayer ready. Sent at power-up.Sent on event.
03hStart of playback.
04hEnd of playback.
3Extended monitoring00h00hPlayer ready. Sent at power-up.
03hStart of playback.
04hEnd of playback.
01hNo playback.

Sent every 250 ms, unless the player is unavailable due to an issue.

02hPlayback in progress.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article