i was trying to make a roaming device which helps me route my calls through internet, to save my bills while on international roaming.

my setup goes like this:

gsm module sim800l, raspberry pi4, a usb audio adapter Quantum-QHM623 and an android app to get calls redirected.

basically this setup routes all my calls from my simcard to my phone app via the internet

the project is almost complete but the only issue i am facing is, the speaker of sim800l when connected to mic of usb audio adapter, i get a whole lot of background noise, these are the trouble shooting steps i followed which might help you assess the situation. 1) i can hear the voice with a lot of interference only when i connect speaker +ve from 800l to the +ve of mic in the usb adapters +ve side. if i connect -ve of speaker out to the mic ground of audio adapter, all i hear is noise alone, no voice.

the other audio line which is mic from 800l < ---- > to speaker of the usb adapter works absolutely fine,

I tested the modules this way and they seem to work fine audio usb adapter: to see if the audio adapter is working, i tested shorting out the mic and speaker and simulated a call from the android app, and it worked fine(i was able to hear own voice after i speak some thing, and the voice quality is too good)

sim800l: ATcommands work fine, was able to send and receive messages, able to call receive calls and hang them up using minicom

audio lines of sim800l: i shorted the mic and speaker lines and made a voice call to my mobile number, and i was able hear my voice fine but the quality is ok.

any help with this noise issue is very much appreciated.

EDIT: I can work around this issue using a different power supply. I had previously used the same raspberry pi to power the sim module, but now I have used a different power supply to power the sim800l module, and now it's working quite well.

Is there any solution to use the same power supply and not get the noise?

  • 2
    \$\begingroup\$ It is pretty difficult to imagine the connection based on text. can you draw the connection? it is also okay if you do draw it on paper nicely and upload it. It really helps the other experts to help you with your question sooner. Warm welcome by the way :) \$\endgroup\$
    – User323693
    Aug 31 '19 at 18:06

Just saw your edit, I'm gonna write a reply anyway.

It is probably due to your power supply and/or ground loops which inject noise into your circuit.

Make sure you are using an isolated supply and that the operating frequency is out of audible range (although it's not always easy to know as the control may change frequency upon the current drawn).

  • Avoid the cheap power supplies, take a good one.
  • Try to add a big cap 100/300uF and several small caps like 0.1uf 10nF at the power supply / input of your circuit.
  • Try making a LC filter by adding ferrite, inductor on the supply lines.
  • Make sure your circuit has all the necessary bypass cap (0.1uF) on each chip VDD pins.
  • Make sure you have a ground plane.
  • Make sure you don't have significant current going through the ground on your board, like having a module or another board connected on the "other side" of the board as the power input.

A picture of the board / pcb layout would help.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.