Go Down

Topic: SIM800L issue (Read 63312 times) previous topic - next topic

master1992


mrpipes33

@GertSanders

How did you wire the LM2596S to the DC-DC Convertor, also what are you using as a power supply?
Power bank, LiPo, etc. Is it possible to run it off a Powerbank?

mechatronicseng

hellow dear firends
who work with sim800l in nod mcu whit arduino IDE?
can you help me?
i want connect sim800l to node mcu and use library sim800l for arduino in sim800l but all of theme use soft ware serial in this program and when i upload that program in node mcu didnt work
please giude me for send & resive sms with sim800l in nodemcu with arduino
thanks alot

minoswydis

Hi, i am using this module and everything works fine. Only problem is that while receiving sms somehow arduino blinks all outputs to HIGH few times. is it possible that frequency from antenna does something to arduino?

nksl

I use this connection:

VCC         5V
GND         GND
TX           10    or 11
RX           11    or 10
RESET      2


and this code:

Code: [Select]
#include <Sim800l.h>
#include <SoftwareSerial.h> //is necesary for the library!!
Sim800l Sim800l;  //to declare the library
char* text;
char* number;
bool error; //to catch the response of sendSms


void setup(){
 Sim800l.begin(); // initializate the library.
 text="Testing Sms";  //text for the message.
 number="2926451386"; //change to a valid number.
 error=Sim800l.sendSms(number,text);
 // OR
 //Sim800l.sendSms("+540111111111","the text go here")


}

void loop(){
 //do nothing
}



The module is SIM800L V2.0 - 5V



I have also tested the type mentioned in this issue.

Can someone tell me if the modules work and how?



25Samy

Hello,
I also have a problem with my sim800l...

I use a diode 1N4007 after the VCC5V and it gives me something like 4V.

Below, you will see the dialog with the module using the FONAtest library. Things look look good at the beginning except when it writes "<--- ERROR"  and   " ??? ".

At the end when I write a phone number nothing happends....

Do you have an idea ?

Thanks
Fran├žois


Quote
FONA basic test
Initializing....(May take 3 seconds)
Attempting to open comm with ATs
   ---> AT
   <---
   ---> AT
   <---
   ---> AT
   <---
   ---> AT
   <---
   ---> AT
   <--- AT
   ---> AT
   <--- AT
   ---> ATE0
   <--- ATE0
   ---> ATE0
   <--- OK
   ---> AT+CVHU=0
   <--- OK
   ---> ATI
   <--- SIM800 R14.18

OK

+CPIN: READY

   ---> AT+CPMS="SM","SM","SM"
   <--- ERROR

FONA is Ok
Found ? ? ?

   ---> AT+GSN
   <--- 865674037529308
Module IMEI: 865674037529308
-------------------------------------
[ ?] Print this menu
[ a] read the ADC 2.8V max (FONA800 & 808)
[ b] read the Battery V and % charged
[ C] read the SIM CCID
[ U] Unlock SIM with PIN code
.....
.....
[ S] create Serial passthru tunnel
-------------------------------------

FONA>
Call Ready

SMS Ready
s
Send to #


jirgale

I have same issue. have u got any solution for the same? If so,can u please share with us?
Thanks in advance

ivoo56

Hi,

SIM800l worked with Arduino UNO and the code below for sending SMS under PIN HIGH condition, but important points:
1. Power suply: Arduino UNO is limmiting the current and provides not enough power, therefore you need different power source for SIM800 or do like I did: plugged extrenal power supply DC 5V/2000ma into Arduino and briged the + into SIM800
2. Need the library from https://github.com/cristiansteib/Sim800l Pay attention of TX and RX pins. You can modify defaults in library in .../Arduino/libraries/Sim800l-master/Sim800l.h
3. Code

#include <Sim800l.h>
#include <SoftwareSerial.h> //is necesary for the library!!
Sim800l Sim800l;  //to declare the library
char text[161]="Text for SMS1"; //buffer to store message
char text1[161]="Text for SMS1"; //buffer to store message
char number[12]="your mobile # to send SMS to"; //phone number to send message
//int cnt;
bool error; //to catch the response of sendSms

// constants won't change. They're used here to set pin numbers:
const int buttonPin1 = 10;     // comment1 the number of the pushbutton pin
const int buttonPin2 = 12;    // comment2 number of the pushbutton pin
//const int ledPin =  13;      // the number of the LED pin

// variables will change:
int buttonPin1State = 0;         // variable for reading the pushbutton status
int buttonPin2State = 0;         // variable for reading the pushbutton status

void setup(){
 // initialize the pushbutton pin as an input:
 pinMode(buttonPin1, INPUT);
 pinMode(buttonPin2, INPUT);
 Sim800l.begin(); // initializate the library.
 Serial.begin(9600); // initialize serial communications
}
void loop(){
 // read the state of the pushbutton value:
 buttonPin1State = digitalRead(buttonPin1);
 buttonPin2State = digitalRead(buttonPin2);  
     //Send the message and display the status
     if (buttonPin1State == HIGH) {
       error = Sim800l.sendSms(number,text);
       }      

     if (buttonPin2State == HIGH) {
         error = Sim800l.sendSms(number,text1);
           }
delay(1000);
}


//I hope this helps

Tato84

Hello,
I also have a problem with my sim800l...

I use a diode 1N4007 after the VCC5V and it gives me something like 4V.

Below, you will see the dialog with the module using the FONAtest library. Things look look good at the beginning except when it writes "<--- ERROR"  and   " ??? ".

At the end when I write a phone number nothing happends....

Do you have an idea ?

Thanks
Fran├žois


You need a RX pin voltage divider (max 2.8v)

ayushmarsian

I have same issue. have u got any solution for the same? If so,can u please share with us?
Thanks in advance
Hi, Goto this link there is one circuit suggested which working good.

Also try that library, because it gives 100% feedback of every task we ask to GSM.

Thank you

Go Up