Page 1 of 1
ARDUINO MEGA + SIM800L + Flowcode 7
Posted: Wed Mar 01, 2017 7:22 pm
by cortex
Hi,
I have issues communicating with my SIM800L module with flowcode 7.
i checked my setup using Arduino IDE (with Software Serial library) and everything works fine, i can send and receive data from and to the module.
Yet as soon as i switch back to Flowcode, hook my module to RX1/TX1 of my MEGA, the GSM:Initialise() Macro never RETURNS 0.
What could i be missing ?
Re: ARDUINO MEGA + SIM800L + Flowcode 7
Posted: Thu Mar 02, 2017 5:23 pm
by Benj
Hello,
Any idea what value the initialise macro is returning.
255 = SMS Message Format Command "AT+CMGF=1" Send Fail
254 = SMS Message Format Command Reply Fail
253 = SMS New Message Indication Command "AT+CNMI=1,2,0,0,0" Send Fail
252 = SMS New Message Indication Command Reply Fail
If you're not using SMS messages then you may be able to ignore the error return value, however it would be good to know what's going wrong.
Looking at the AT command datasheet for the SIM800L both AT commands should be supported.
Re: ARDUINO MEGA + SIM800L + Flowcode 7
Posted: Thu Mar 02, 2017 7:08 pm
by cortex
Hi benj,
It returns 255.
for this project i actually exclusively use SMS.
I checked if the Commands are supported using a terminal, and both are supported.
Re: ARDUINO MEGA + SIM800L + Flowcode 7
Posted: Mon Mar 13, 2017 2:50 am
by cortex
Hi everyone,
I fixed my issue.
And the solution is the silliest one !
Rx1 and Tx1 tags are reversed on my Arduino Mega (which i guess now is a knock off)....
Problem solve.
Thx you for helping.
Re: ARDUINO MEGA + SIM800L + Flowcode 7
Posted: Tue Mar 14, 2017 11:11 am
by Benj
Glad you got it working and thanks for letting us know what the problem was.