Page 1 of 1

UNO + WiFi shiedd + MP3 shield problem

PostPosted: Thu Jun 13, 2019 12:38 pm
by krizchong
I have project to do with WiFi and MP3, so I refer to
https://tutorial.cytron.io/2016/12/01/e ... nt-1882749

But I am using Cytron UNO, so I change line 20 from if(!mp3.begin(Serial2)) to if(!mp3.begin(8, 9)).

As I follow the tutorial, the APP can connect but once it send data, UNO side cannot received.

Then I start testing by commenting some codes, found out that if I commented MP3 related code, then UNO can received data.

Why? WiFi shield and MP3 shield cannot be used together on UNO?

Please advise.

Re: UNO + WiFi shiedd + MP3 shield problem

PostPosted: Fri Jun 14, 2019 5:05 am
by ober
Well, I believe both the shield are using UART to communicate with Arduino right? Since you change the UART for MP3 shield to 8, 9, how about the UART for WiFi shield? Is it still using software UART?

There should be only 1 software UART at one time.

Mind elaborating more on the UART function in your code?

Re: UNO + WiFi shiedd + MP3 shield problem

PostPosted: Fri Jun 14, 2019 9:10 am
by krizchong
I just change the line 20 as mentioned, the rest is exactly same in the tutorial, means that the WiFi Shield is using pin 2 and 3.

Re: UNO + WiFi shiedd + MP3 shield problem

PostPosted: Fri Jun 14, 2019 4:41 pm
by Idris
Hi krizchong,

I think, this is the limitation of Arduino Uno / Cytron Uno / Maker UNO where it can't handle more than 1 software serial. In this cas, you might need to use CT ARM same as shown in the tutorial.

Hope this help, thanks.