Seeeduino lotus cortex - Not working with Grove - MP3 v2.0 - Solved!

Hi All,



The Grove - MP3 v2.0 modules work with NodeMCU’s, but I cannot get them to work with the Seeeduino lotus cortex M0+. The problem is the MP3 code, it includes the “SoftwareSerial.h” library. But this library is not available The cortex M0+ uses the Hardwareserial.



Even If i don’t include “SoftwareSerial.h” it is a problem, the MP3Player_KT403A.h lib opens the SoftwareSerial.



Any Idea’s? Should I rewrite the Library (it is harsh)?



Thanks a million!

Hermanus

[code]
#include <SoftwareSerial.h>
#include <MP3Player_KT403A.h>

// Note: You must define a SoftwareSerial class object that the name must be mp3,
// but you can change the pin number according to the actual situation.
SoftwareSerial mp3(2, 3);

void setup()
{
mp3.begin(9600);
Serial.begin(9600);
delay(100);

SelectPlayerDevice(0x02);       // Select SD card as the player device.
SetVolume(0x0E);                // Set the volume, the range is 0x00 to 0x1E.

}
[/code]

Hi There



form the image,we can conclude that Seeeduino crotex_m0+ have 3 hardware Uart . So , you should use other hardware Uart to control mp3shiled :smiley:

Thank you!



I stopped trying to use the softwareSerial and found another Library for the Grove MP3 v2.0. This one works with the Seeeduino!

https://github.com/Seeed-Studio/Seeed_Serial_MP3_Player



Solved!

Harmsel