EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Arduino MEGA 2560+GPS+TF Card Adapter

Arduino MEGA 2560+GPS+TF Card Adapter

|

Microcontroller › Arduino › Arduino MEGA 2560+GPS+TF Card Adapter

  • This topic has 4 replies, 3 voices, and was last updated 10 years, 11 months ago by AJISH ALFRED.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 11, 2014 at 12:55 pm #3221
    ANGEL_OF_THE_SUN
    Participant

    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.

    August 16, 2014 at 4:03 am #12023
    AJISH ALFRED
    Participant

    Hi,

    You can use 15, 17, or 19 pin to connect Tx pin of GPS.

     

    August 18, 2014 at 1:35 pm #12034
    ANGEL_OF_THE_SUN
    Participant

    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

    August 19, 2014 at 10:01 am #12039
    Ashutosh Bhatt
    Participant

    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

    August 20, 2014 at 8:52 am #12042
    AJISH ALFRED
    Participant

    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.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Sump pit water alarm - Kicad 9 July 18, 2025
  • Pic18f25q10 osccon1 settings swordfish basic July 17, 2025
  • Anyone jumped from Easyeda std to Easyeda pro? July 17, 2025
  • turbo jet fan - feedback appreciated. July 17, 2025
  • More fun with ws2812 this time XC8 and CLC July 17, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise