P531
Baru
0 Barang item
Stok Habis
Pemberitahuan: Barang terakhir di stok!
Tanggal ketersediaan:
Specification:
1. Support sampling rate (KHz): 8/11.025/12/16/22.05/24/32/44.1/48
2. 24-bit DAC output, dynamic range support: 90dB, SNR support: 85dB
3. Fully support FAT16 , FAT32 file system, maximum support 32G TF card, support 32G U disk, 64M bytes of NORFLASH
4. A variety of control modes are optional. IO control mode, serial port mode, AD button control mode
5. broadcast language insertion function, you can pause the background music being played. After the advertisement is finished, it will return to the background tone to continue playing.
6. The audio data will be sorted by folder. It supports up to 100 folders. Each folder can be assigned 255 tracks. The 7 and
30 levels are adjustable, and the 6-level EQ is adjustable.
CONTOH PROGRAM :
#define player_serial Serial
void player_play(int num_sound){ //folder mp3, sounds 0000 - 9999
byte hi = highByte(num_sound);
byte low = lowByte(num_sound);
byte data[] = {0x7E, 0xFF, 0x06, 0x12, 0x00, hi, low, 0xEF};
player_serial.write(data, sizeof(data));
}
void player_play_folder(byte num_fulder, byte num_sound){ //folder 01-99, sounds 000 - 255
byte data[] = {0x7E, 0xFF, 0x06, 0x0F, 0x00, num_fulder, num_sound, 0xEF};
player_serial.write(data, sizeof(data));
}
void player_stop(){
byte data[] = {0x7E, 0xFF, 0x06, 0x16, 0x00, 0x00, 0x00, 0xEF};
player_serial.write(data, sizeof(data));
}
void player_set_volume(byte vol){
if (vol > 30) vol = 30;
byte data[] = {0x7E, 0xFF, 0x06, 0x06, 0x00, 0x00, vol, 0xEF};
player_serial.write(data, sizeof(data));
}
void setup() {
delay(2000);
player_serial.begin(9600);
player_set_volume(15);
delay(100);
}
void loop() {
player_play(1);
delay(2000);
player_play(2);
delay(2000);
player_play(3);
delay(2000);
player_play(4);
delay(2000);
}
*marking tergantung stok, kadang dfplayer, kadang mp3 tf player