Bluetooth Link MCU Development of Sleep Music Player

Bluetooth Link MCU Development of Sleep Music PlayerFunction: VTSP01 program logic application documentOne. Turn on the machine1. Operation: lightly press the switch when off2. Response:1) Each module

  • Model: Bluetooth Link MCU Development of Sleep Music Player

Bluetooth Link MCU Development of Sleep Music Player




Function: VTSP01 program logic application document

One. Turn on the machine

1. Operation: lightly press the switch when off

2. Response:

1) Each module on the pillow board supplies power and enters the power-on state;

2) The blue LED is always on; the red LED is always off;

3. After booting:

1) Lightly press the switch: shut down, the red and blue LEDs are always off, and the machine enters the shutdown state;

2) Low voltage detection: when the battery voltage is lower than 3.4V, the red LED flashes for 30S (1Hz), and then enters over-discharge protection

Status (the machine cannot work during the flashing process);

3) Charging:

a. Charging starts when the machine is turned on: the blue light is off, the red light is always on, and the machine is on;

b. Disconnect charging when charging when it is turned on: the red light is off, the blue light is always on, and the machine is on;

c. Charging when the low voltage indicator (within 30S) is in the power-on state: the blue light is off and the red light is always on;

Is off state;

4) Control music:

a. Read the serial port output: AA01FE starts music playback;

b. Read the serial port output: AA02FD is to turn off music playback;

c. Read the serial port output: AA03FC will play the next music;

d. Read the serial port output: AA0CF3 is to play the last music;

e. Read to the serial port output: AA0DF2 means that the song plays all loops;

f. Read the serial port output: AA0EF1 is a single song loop;

g. Read the serial port output: AA04FB means increase the volume;

h. Read the serial port output: AA05FA means reduce the volume;

5) The music playback volume is divided into 6 levels, and the default setting is 4 when the power is turned on; the current sound can be memorized when the power is turned off without the mute position.

the amount;

6) Timing shutdown: 20 minutes after the pillow is turned on, the music will be turned off automatically, the blue light is always on, and the APP can still connect to Bluetooth

control;

two. Off state;

1. Operation: lightly press the switch in the power-on state

2. Response:

1) Each module on the pillow board is powered off, enters a low power consumption state, and enters the button inspection mode;

2) The blue LED is always off; the red LED is always off;

3. After shutdown:

1) Charging in the off state: the blue light is off and the red light is always on; the machine is off;

2) Disconnect the charging when charging in the shutdown state: the red light is off, the blue light is always off, and the machine is off;

three. Input overvoltage protection status

1. The charging circuit needs to be disconnected when the USB input voltage exceeds 5.6V;

four. Overcharge protection

1. If the charging time exceeds 8h, it will enter the overcharge protection state;

Fives. No power state:

1. USB power supply:

1) Not turned on: the red light is always on, and the machine is off;

2) Turn on: The blue light is always on and the red light is always off, and the machine enters the boot state;

instruction manual:

1. Power-on state: all functions such as voice, wireless, and music can be used normally.

2. Shutdown state: The single-chip microcomputer enters low power consumption mode, leaving only the button detection function, and other functions are closed.

3. Overcharge protection status: close the charging circuit and stop charging.

4. Over-discharge protection state: namely shutdown state


Bluetooth Link MCU Development of Sleep Music Player