I use a module same as here with my RPI 4B and there were difficulties in communication between them two since the start. The module worked fine with my Arduino. It is connected via Rxd-Txd pins, 5V, ground and an additional external power to the module.
I’m trying to make it make calls with the help of python, and for now after entering
python -m serial.tools.miniterm /dev/ttyAMA0 115200 to the RPI terminal and typing in blindly “AT” I get a series of backslashes which after a closer look turned out to be this: “␄␐␁␀” (EOT DLE SOH NUL). Which happily already is a response, but it’s still not an “OK” that’s expected after such command.
How could I solve this? I’ve surfed many google search results for RPI and SIM900 but none of them worked.
This “Question” is lacking detail (OS, did you enable serial) BUT the fundamental problem is you are trying to use
/dev/ttyAMA0 which is connected to Bluetooth (except in the unlikely circumstance that you changed this).