- This topic has 4 replies, 3 voices, and was last updated 10 years, 11 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
|
Microcontroller › Arduino › Arduino MEGA 2560+GPS+TF Card Adapter
Hello!
I have a MEGA 2560 board and a GPS module and a TF Card reader/writer. For the reader/writer i’m using pins 50-53.Which pins can I use for my GPS Module? and how my sketch does look, when I want to get gps data and write it in a .txt file on my tf card?
(sorry for my bad english)
I hope to get an answer.Thank you
I’m tried to use 18 and 19,but i get not all gps data.
Hi,
You can use 15, 17, or 19 pin to connect Tx pin of GPS.
Thanks…now i need a SCK(System Clock) Pin for my GPS.I don’t want use Port 52, because I need it for TF Card. Could I use SCK from ICSP Port?
ICSP
……
MISO |* *| +5V
SCK |* *| MOSI
RESET |* *| GND
””””’
When yes, Do I need a new library? How I can declare it?
Thanks
most of the GPS modules gives serial data. so you can connect to UART Tx-Rx pins of ATmega controller
i dont know what is TF card-reader/writer but most of card reader/writer works on SPI. so connect it to SPI pins of ATmega controller
I wonder why would you need an SCK pin for the GPS module, which is the GPS module that you are using? Isn’t there an option for asynchronous serial communication mode?
Asynchronous serial communication requires onlt the TX pin of GPS to communicate with RX pin of microcontroller.