peter145 wrote:ame wrote:paulie wrote:If anyone wants a pre-wired cable to interface Adafruit's Ultimate GPS,
I use a spare audio lead from a PC CDROM. Vin, GND, NC(RxD not used), TxD.
As long as you don't need to send data to the device, and you connect to the right pins,
it just works.
This module is not the same as Adafruit's Ultimate GPS. But I agree, CDROM audio cables are handy 4-pin wiring harnesses.
well i just did the soldering way so next is to connect what pins to the Raspberry pi?
By the way I found this link(
https://github.com/lurch/rpi-serial-console) piece of resources that makes Controlling the Serial much easy... What' your recommendation about the link i gave you? Should i Enable or diable my serial console?
I just soldered the jumper 2-3 for 3.3logic level (which is connected now to my VDD not directly to 5volts)so :
1.Connect +5v Raspberry pi (what pin?) to +5volts to Gps module
2. Connect the jp4 Tx to Tx(What pin?) of raspberry pi? and jp4 Rx to Rx on raspberry PI(What pin?)?
Good job on the soldering. I think it's the best way, and now you have some knowledge and experience.
Now, pins.
You forgot to mention GND. It is important.
Also, I don't think you need the Tx signal for data from the Pi to the module. So that means only 3 wires are necessary.
Take a good look at the diagram here:
http://elinux.org/RPi_Low-level_peripherals
Make sure you know which is pin 1, and how the pin ordering works from 1 to 26. Next, when you are connecting to these pins be careful not to let your wires touch the pin next to it. Finally, double-check the pin number.
1) 5V supply
Take 5V from the RPi to power the module. You can use pin 2 on the GPIO header, or pin 4. Connect it to the module 5V pin on JP1 (pin 3).
2) GND
You must connect GND from the Pi to the module. You could use any GND pin on the GPIO header, but maybe pin 6, as it is next to pin 4 (+5V). Connect it to one of the GND pins on the module (e.g. JP1 pin 4)
3) GPS data
This is the data transmitted from the GPS to the Pi. Connect RX on the module JP4 to RXD on the Pi (it's pin 10).
That should work, but for completeness you could connect TX on the module JP4 to TXD on the Pi (it's pin 8) if you want to.
You may have noticed that these 4 pins are together on one edge of the GPIO connector. If you ignore the first 5V pin (pin 2) then the rest are next to each other in this order: +5V GND TXD RXD (pins 4,6,8 & 10).
Double check the orientation of the GPIO connector. If you count from the wrong end then you will get the wrong pins and damage something.
Finally, the script you linked to might be useful. You can do the work by hand if you like, but the script is easier I suppose. You need to 'disable' the console because you are using the serial port for your own purpose.