I am facing problem with these components. I don't know which is the problem, it might be the connections or the voltage needed to be used. I tested this with a code, it says sms sent but I haven't received any text. What might be the problem?
Here's my connection:
I connected the 5v pin to sim800l's 5v pin, gnd pin to sim800l's gnd, rx to txd and tx to rxd.
Please help me with this. Thank you for responding.
Or more likely the current.
You say nothing about how the boards are powered - or even if the SIM800 is on a board. A SIM shield needs 2A, and the 5v pin on a Mega is not really up for that.
Further, if it not a shield, it may need a regulated input 3.7 > 4.2v. Feeding a bare module 5v is probably not a good idea.
There should be a LED reporting various conditions. If isn't showing anything, it may be because of inadequate power.
SIM800L is a 2G device. I assume you have ensured that 2G service is still operating? If it is, it may not be for much longer. This goes some way to explain the price drop for SIM800Ls.
So basically it's not compatible to power sim800l from Arduino, right? because Arduino has 5v while sim800l only requires 3.7v-4.2v. The problem here is the current?
I also tested it using a buck converter (not adjustable) powering from an adapter. The output voltage should also between 3.7v-4.2v? Am I right?
For the sim or the network. So, the sim800l has only 2g network? It will not work if I use 4g sim to the gsm? It might be one of the problems why it isn't sending any messages?
SIM800L requires up to 2A. Shields have their own power jack.
Direct power on a module would be 3.7>4.2v.
If the 2G network is closed down, a 4G card isn't going to help. Most countries got rid of 2G many years ago. Australia closed 3G last week. Not many people noticed. Your local phone provider should be able to tell you all about this....
TheSIM800L is not a network, it is a GPRS module designed to run on a 2G network. If the network doesn't exist, no amount of asking here will bring it back, and you won't be the first to find that they only work in Ouagadougou. CHECK WITH YOUR SERVICE PROVIDER. It is possible the a 2G service indeed exists, even if it is not used by phones. If it does, your 4G card probably suffices!