Hi everyone,
My first post here. I hope this is the right place to ask for guidance and help.
I just started working with Arduino (UNO) a few weeks ago and I was able to build some projects with Bluetooth connection, mp3 player, and a servo (separately).
Here are the models that I am using:
Bluethoot HC06
MP3 VS1053 Arduino Shield (https://shopee.vn/Module-giải-mã-MP3-VS1053-Arduino-Shield-i.9731150.1620294588)
Servo (Động cơ RC Servo 9G – Hshop.vn)
I have been trying to build a project (remote car) with Bluetooth, servo, and mp3 player.
However, as soon as connect the Bluetooth the mp3 stops working (playing a song) servo starts moving randomly affecting his control. The servo partly works with Bluetooth but its random moves affect the control.
I am using this library for the MP3 Player (MP3Shield_Library_Demo.ino)
http://acoptex.com/project/281/basics-project-061a-geeetech-vs1053-mp3-player-shield-with-tf-card-slot-at-acoptexcom/#sthash.0SXi2TbQ.dpbs
and this includes:
#include <SPI.h>
#include <SdFat.h>
#include <FreeStack.h>
#include <SFEMP3Shield.h>
#include <Servo.h>
#include <SoftwareSerial.h>
SoftwareSerial hc06(rx,tx);
//Bluetooth
int tx = 3;
int rx = 2;
SoftwareSerial hc06(rx,tx);
Servo servo1;
#define servoPin 6
Are there any known issues with these devices working together on Arduino Uno? What could be wrong?
Guidance needed from you all ![]()
Thank you very much!