frejus
Thanks :-) Just ordered that one, will receive it next week and try again It seems to be an old classic one. . http://www.ebay.fr/itm/GSM-GPRS-shield-SIM900-Quad-Band-/251752785569?pt=Componenti_elettronici_attivi&hash=item3a9da2a6a1 Cheers
Sinamics
Hi Frejus. I had to test this myself, so i borrowed my friends Arduino Nano and tested. This work flawlessly. I used this code. #include <SoftwareSerial.h> SoftwareSerial mySerial(10, 11); // SoftwareSerial RX, TX void setup() { mySerial.begin(57600); Serial.begin(57600); } void loop() { if (mySerial.available()) { int inByte = mySerial.read(); Serial.write(inByte); } if (Serial.available()) { int inByte = Serial.read(); mySerial.write(inByte); } } I used a lipo and a step down to 7v for Sim900 power supply. I powered my Nano directly from USB cable and had one cable from Nano Ground pin to Sim900 Ground. I connected Sim900 tx/rx to port 10 & 11. Bingo.. Connected at first attempt.
frejus
Like.... Do you want me to kill myself ??? I mean, man, why is it working on yours and not on mine ? The only difference is that I provide 5V to the modem i.o. 7v :-) Now I am glad I sent the Sim900 back and I wait for the new one in a week or so... Thanks for your curiosity and help !
Sinamics
Lol Now you now that this will work.. :) I bet you are looking forward to get the new one.
frejus
Hey, Received new modem GPRS, everything works straight from scratch... Cannot believe I lost so much hair on the previous one. New modem is from Geeetech, V1 The only thing is that it only communicates cleanly on 19200. And I need to make a micro-soldering to create a jumper allowing for powerup/down from arduino... I am not so goot at micro-soldering, I guess i will simply make some ugly blob. Now that part is closed, I can move forward to the communication with the APM... Yihaa....
Sinamics
Great news. Glad you made it through. Could you elaborate " it only communicates cleanly on 19200 " ? Are you not able to connect with i higher baud rate?
frejus
Shoot... Same crappy modem answers AGAIN ! AT => "Yû" I hope I did not fry that second modem... What a nightmare :-) Getting bad caracters at every speed... I was so close ...
frejus
Looks actually like my Arduino nano is agonizing... Those are dirt cheap : http://www.banggood.com/ATmega328P-Nano-V3-Controller-Board-Compatible-Arduino-p-940937.html Purchasing a more standard modem was a huge benef, So I guess I should now just purchase another arduino... What is your preference between Arduino Uno and Arduino Mega ?
Sinamics
Hi I never used or tested Uno so i dont know. I`ve been using Mega 2560 which works great. Have you tried using another digital pins for Softserial? Again i must remind you the importance of proper ground connections between Sim900 and Arduino. Try fiddle with ground cable. This has fooled me couple of times before.