I am using vs1053b. It works fine when playing the music and recording from electret microphone.
I am trying to record from LINE1.
I have a piezo module with it's own amplifier (LM386). When I connect headphones to my module I hear that signal is very good.
Then I connect output of my module to the LINE1 of vs1053b.
The LINE1 is connected like on schematics. I goes through 470ohm resistor and 1uF capacitor and then to my module.
Also LINE1 is connected to ground through 10nF capacitor.
Here is my configuration code:
Code: Select all
record_gain = 1024; sample_rate = 8000; max_autogain = 1024; stereo_mic = 0x06; vs_write_registry(REG_AICTRL0,sample_rate); vs_write_registry(REG_AICTRL1,record_gain); vs_write_registry(REG_AICTRL2,max_autogain); vs_write_registry(REG_AICTRL3,stereo_mic); //0101000000000100 vs_write_registry(REG_MODE,0x5004);
When i record the signal level is very low.
I check that with headphones connected to the LEFT/RIGHT output of VS1053.
When recording vs1053 redirects signal from LIINE1 to LEFT/RIGHT. SO i can hear the live signal.
Also i see that sensitivity is low on wav file.
When recording i can connect headphones in parallel with vs1053 and my module an i hear the good sensitive signal.
What else should i check?