Im a Newbie on Programs and i'm creating a personal MP3 device.
I can already send strings to Change the music track, play, pause, etc.
This mp3 module sends through the UART port information such as the name of the song and so many other information.
The problem I face is that the letters are not read correctly, only the numbers are displayed. Letters become a square character.
I'm using Serial Software to communicate with this module.
This module comes with a UART test software.
All characters are perfectly displayed when I connect this MP3 module directly to the UART/USB converter. But when the information passes through the Arduino, everything goes wrong.
please edit your post, select the code part and press the </> icon in the tool bar to mark it as code. It’s barely readable as it stands. (also make sure you indented the code in the IDE before copying, that’s done by pressing ctrlT on a PC or cmdT on a Mac)
Don’ t trust SoftwareSerial at 115200 bauds…
16x4 ? I knew 16x2 and 20x4, do you really have a 16x4 LCD ?
I'm using a Generic Arduino Nano.
Atmega328 using ch304 for communication.
This have only one serial port. I can't connect the mp3 module on native serial, cuz the this port is used to Arduino communication too.
I'm living on Brazil. Arduino is too hard and expensive on my city.
Your tip worked. Reduced Baud Rate to 9600.
Letters finally started to display correctly.
Now I have another problem. The manufacturer does not recommend using RATE below 115200. This causes HARDWARE instability in the MP3 module and in fact it is happening. The module now displays the same track name for all songs for a while, as if the song name buffer was stuck for a few seconds with that data.
I will try to accelerate as fast as possible to solve this problem, if the problem persists I will have to change the Arduino board to one that has two UART ports
After all, we shouldn't trust on SoftwareSerial at high BAUDS speeds.
Thank you for all your attention. People like you make the world better
I Have Another question. How can i take only Music name info? Without another chars?
For Example:
QM+02
M1+0000000D
M2+00000012 - THIS IS THE MUSIC NUMBER
MT+00000113 - THAT'S HOW MANY SONGS ARE ON THE TF CARD
MK+00000000
MF+y2mate.com - music example 1213121414 - asdnasd.mp3
How can i divide this info in parts to write on memory?