Ten years ago, no one would have thought that it would be possible to listen the music from some shield, but today’s technology has made it possible for not only that, but you can also connect it to WiFi. Imagine how awesome is that if you want to scare your friend with some spooky noises. Just hide the shield somewhere and control it with your smartphone without being noticed. Oh, and please don’t tell your parents that I told you this.
This tutorial covers how to interface the EasyMP3 Shield with CT ARM, WiFi Shield and control them with the WiFly Remote app. If you’re reading this tutorial, chances are you are a hobbyist who has great interest in music. Awesome! So, in that spirit, get psyched and let’s get started!
- First of all, you need to install WiFly Remote into your smart phone. You can download the app from ‘Play Store’.
2. Stack CT ARM, Easy MP3 Shield and ESP Wifi Shield together.
3. Take a look on which pins are Tx and Rx connecting to, we are going to use them for both Shields.
|ESP Wifi Shield||D3||D2|
|Easy MP3 Shield||D9||D8|
4. Place your favorite songs inside the MP3 folder. Then insert your microSD Card into the space provided in MP3 Shield.
5. Plug your earphone to DC jack or solder the speaker on MP3 shield. Connect CT ARM board to your PC using USB cable. Then start Arduino IDE!
6. Copy the sample codes here and paste it into your Arduino sketch.
7. Choose the correct COM Port.
8. Then go to Tools>Boards>CT ARM. *If you are using different board, choose the correct one.
9. Compile and upload the sketch.
10. Open Serial Monitor. Make sure the baud rate is correct.
11. Open Wifly remote on your smartphone and enter the correct IP Address and port number.
12. Now you can play your favourite songs by simply clicking the arrows on wifly apps. You can edit from example code whether you want to skip, stop or go back to the previous song.
Okay guys, that’s all. If you have any question, feel free to ask in our technical forum as we seldom check the tutorial’s comment section. Thank you for reading! I hope you gained something from this tutorial!