32
of 76
TEP , The Engineering Projects , Image

syedzainnasir

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon
using GSM shield without Arduino GSM library (AT commands?)
TEP , The Engineering Projects , Calender Question: 03-Mar-2017
TEP , The Engineering Projects , Category In: Proteus Projects
Hi,
I've assembled a data logging unit with an RTC module, LCD (i2c) display, SD memory card shield and Arduino GSM/GPRS shield on Arduino Uno R3.

Since the sketch was too big for Arduino, I removed some of not used GSM library (Mockup, SMS, Voice, ModemVerification,MultiClientProvider, MultiServerProvider, ScanNetwork) moving all related files in a new folder.
I checked on a separate sketch that having removed those files did no affect the GPRS connection and data transfer with GET method works perfectly.

The sketch compiles well, but goes out of memory and it doesn't run.

Is there a way to avoid using GSM library? reducing so far memory usage to what I actually need? maybe with AT commands (I don't know much how they work).

Thanks for any help.
TEP , The Engineering Projects , Icon Answer: 1 TEP , The Engineering Projects , Icon Views: 150 TEP , The Engineering Projects , Icon Followers: 85
Small Bio
TEP , The Engineering Projects , Image

syedzainnasir

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon

RE:

using GSM shield without Arduino GSM library (AT commands?)
TEP , The Engineering Projects , Calender Comment: 03-Mar-2017
TEP , The Engineering Projects , Category In: Proteus Projects
[quote=Robinson post_id=221 time=1488539252 user_id=83] Hi,
I've assembled a data logging unit with an RTC module, LCD (i2c) display, SD memory card shield and Arduino GSM/GPRS shield on Arduino Uno R3.

Since the sketch was too big for Arduino, I removed some of not used GSM library (Mockup, SMS, Voice, ModemVerification,MultiClientProvider, MultiServerProvider, ScanNetwork) moving all related files in a new folder.
I checked on a separate sketch that having removed those files did no affect the GPRS connection and data transfer with GET method works perfectly.

The sketch compiles well, but goes out of memory and it doesn't run.

Is there a way to avoid using GSM library? reducing so far memory usage to what I actually need? maybe with AT commands (I don't know much how they work).

Thanks for any help. [/quote]
Put this code in your Arduino and enter AT commands with Serial Monitor:
[code]#include <SoftwareSerial.h> #include <string.h> char incoming_char = 0; SoftwareSerial cell(2,3); void setup() { // Initialize serial ports for communication. Serial.begin(9600); // Reset Serial.println("Start Reset"); pinMode(7, OUTPUT); digitalWrite(7, HIGH); delay(12000); digitalWrite(7, LOW); delay(1000); Serial.println("End Reset"); cell.begin(9600); Serial.println("Enter your AT commands (with CR & NL)..."); } void loop() { if(cell.available() > 0) { incoming_char = cell.read(); if((incoming_char >= ' ') && (incoming_char<='z')) Serial.print(incoming_char); else { Serial.print("%"); Serial.print((int) incoming_char); Serial.print("%"); if(incoming_char == 10) Serial.println(); } } if(Serial.available() > 0) { incoming_char = Serial.read(); cell.print(incoming_char); } }[/code] Source:
[url=http://www.theengineeringprojects.com/2016/04/send-sms-sim900d-proteus-isis.html]SEND SMS WITH SIM900D IN PROTEUS ISIS[/url]
TEP , The Engineering Projects , Tick Correct Answer
Comment Bio
TEP , The Engineering Projects , Tags
PLC
Robot
STM32
Arduino
AI
ESP32
Ladder Logic
PLC Projects
Programming
Communicates STM32
PLC Projects
Communicates PLC
Font Style
Alignment
Indenting and Lists
Insert Media
Insert Items

Want to leave an answer!

Word Count :0 Draft Saved at 12:42 am.