Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SIM900 downloading jpg/text file to module

Status
Not open for further replies.

tedp

Newbie level 3
Joined
Oct 22, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,301
Hello,

I'm trying to send an image to a phone using MMS. I am able to get to the point where my serial monitor says "CONNECT". From my understanding of the SIM900 MMS manual, that means that the module is now ready to receive data. I am not sure about how to get the module read the data. I am trying to get an image from the SD card to the module.

Right now, I'm using this to read from the SD card and send it to the SIM900 module:

File dataFile = SD.open("datalog.txt");

// if the file is available, write to it:
if (dataFile) {
while (dataFile.available()) {
Serial.write(dataFile.read());
}
dataFile.close();
}

It's not working. Eventually, the module waits there for the time specified in the AT command and prints "ERROR" on the serial monitor.

If anybody could offer some help, it would be GREATLY APPRECIATED!!

Thanks for your time,
Ted
 

Okay, Does anybody know how to download an image from my computer to the Sim900 module so that I can send MMS? Can someone please walk me through this? I am so stuck! :(
 

Try this:
Code:
TI



SIM900 R11.0



OK

AT+SAPBR=3,1,"APN","mcinet" //instead of "mcinet", write your own APN's name



OK

AT+SAPBR=1,1



+CME ERROR: operation not allowed

AT+SAPBR=2,1



+SAPBR: 1,1,"10.101.119.123"



OK

AT+FTPTYPE="I"



OK

AT+FTPTYPE?



+FTPTYPE: "I"



OK

AT+FTPCID=1



OK

AT+FTPSERV="xxx.xxx.xxx.xxx"



OK

AT+FTPUN="xxxx"



OK

AT+FTPPW="xxxx"



OK

AT+FTPGETNAME="prosbo_hires.jpg"



OK

AT+FTPGETPATH="/"



OK

AT+FTPGET=1



OK



+FTPGET:1,1

AT+FTPGET=2,1024



+FTPGET:2,1024
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top