MarcoMartines / GSM-GPRS-GPS-Shield

GSM/GPRS & GPS Shield Library for modules using SIM900/SIM908
GNU General Public License v2.0
208 stars 152 forks source link

Regarding use for arduino nano #8

Open dkingftorts opened 9 years ago

dkingftorts commented 9 years ago

Hi Marco,

Thanks for this code...i am trying to assemble a gps device, with sim900, skg13c(gps) and arduino nano. My question is can i use this on the arduino nano as well ?

If yes, how do i put all this code (steps please) into the nano, and test the device. I'm trying to learn. Kinda feel bad to ask you this question but I really do not know !

If you can link me to certain tutorial videos relevant to your project where I can get to learn all the steps that would be great.

Thanks in advance Marco

madmaze commented 9 years ago

Hi dkingftorts,

This project is specifically meant to work with the sim900(GSM/GPRS) and the sim908(GSM/GPRS/GPS). I have successfully used this project with an arduino micro and a sim900 board, presumably it should also work with a nano.

As for you the skg13c, you would need a different library to run that separately.

What kind of sim900 board do you have?

Cheers,

Maze

dkingftorts commented 9 years ago

This is what it looks like: sim900 It is a sim900A break out board with a 12V input and serial out.

madmaze commented 9 years ago

as long as you can identify the right pins, that should work. This library has been tested to work with the Open-Electronics.org GSM/GPRS/GPS Shield and the iTead Studio SIM900 Breakout

To set the correct pins, see the top of gsm.h and gsm.cpp

you'll have to find your equivalent to _GSMRXPIN/_GSMTXPIN & GSM_ON/GSM_RESET to get things to work.

quique123 commented 7 years ago

The library doesnt work for me on the nano because it wont compile due to Serial1 references in the library code for sms.

quique123 commented 7 years ago

OK how could I access the pins on this:

http://www.sainsmart.com/sim900-gprs-gsm-board-quad-band-module-kit-for-arduino-high-quality-new.html

Because I think I need the foreceon pulse to make it work.