Go Down

Topic: Communicate with GPS using Arduino Uno (Read 2 times) previous topic - next topic

retrolefty

#10
Dec 09, 2012, 06:32 am Last Edit: Dec 09, 2012, 06:41 am by retrolefty Reason: 1

The GPS has 4 pins. 5V,GND,TXD,RXD. TXD goes to Arduino Pin 0(RX), and RXD goes to Arduino Pin 1(TX). Not sure what you mean by 'rec'. Is it the same as RX?

Am I supposed to connect RXD -> Pin 0(RX) and TXD to Pin 1(TX)?



That depends if you want the GPS to talk to the AVR chip running a sketch
OR
If you want the GPS to talk directly to the PC via USB serial

Those require two different wirings to pins 0 and 1, so tell us what you want to talk with what.

That link you posted in your first post is showing you how to have your GPS talk to the PC, bypassing the AVR chip.

Lefty

0xKD

Quote
If you want the GPS to talk directly to the PC via USB serial

This is what I want.

retrolefty


Quote
If you want the GPS to talk directly to the PC via USB serial

This is what I want.


Then wire connect RXD -> Pin 0(RX) and TXD to Pin 1(TX) but only after you either load that 'dummy' sketch into your AVR chip as that article showed, or simple run a jumper from reset to ground to keep the AVR chip electricaly isolated from the serial communications going on between the GPS and the PC.

Lefty

0xKD


Go Up