![]() If (!myDFPlayer.For 75 years, TE’s AMP has manufactured rugged electronic components for reliable connectivity in the harshest environments. The story of TE’s AMP began on September 15th, 1941 – at 3:30pm (EST) to be precise, in a room above a small Greek restaurant in New Jersey. This example shows the all the function of library for DFPlayer. If (!myDFPlayer.begin(FPSerial, /*isACK = */true, /*doReset = */true)) Sample code "FullFunction", including all the functions. Serial.println(F("DFRobot DFPlayer Mini Demo")) SoftwareSerial softSerial(/*rx =*/4, /*tx =*/5) #if (defined(ARDUINO_AVR_UNO) || defined(ESP8266)) // Using a soft serial port ***********Notice and Trouble shooting***************ġ.Connection and Diagram can be found hereĢ.This code is tested on Arduino Uno, Leonardo, Mega boards. This example shows the basic function of library for DFPlayer.īy [Angelo Lesser General Public License.Īll above must be included in any redistribution ![]() You can download the latest library here: DFRobotDFPlayerMini. We've created an Arduino library for DFPlayer Mini to simplify the method for you to make it work.Ĭonnect the hardware as the picture above shown and play with the sample code. Please replace the to the volume name of your SD card. So you can run following command in terminal to eliminate those files. NOTE: If you are using Mac OS X to copy the mp3, the file system will automatically add hidden files like: "._0001.mp3" for index, which this module will handle as valid mp3 files. NOTE: The order you copy the mp3 into micro SD card will affect the order mp3 played, which means play(1) function will play the first mp3 copied into micro SD card. Note: For simple use ,the upper diagram is ready,But if you find the noise is quite loud, then you could attach an 1K resistor to the TX pin. Note: short time press means pre/next,and long time press means vol- ,vol + Connection Diagram Here comes the most simple way to use this module. Get AD Button from DFRobot Store or DFRobot Distributor. We use the AD module keys, instead of the traditional method of matrix keyboard connection, it is to take advantage of increasingly powerful MCU AD functionality, Our module default configuration 2 AD port, 20 key resistance distribution. Support for asynchronous serial communication mode via PC serial sending commands
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |