ultimate gps pps signal and ftdi

Talk about Adafruit Raspberry Pi® accessories!

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

ultimate gps pps signal and ftdi

Postby bilsch » Sat Jan 12, 2013 11:26 pm

So,

I've been working on a low power ntp server synced off of GPS. Running off of a raspberry pi. Due to the simple serial ( uart is tx/rx only afaik... ) I'm using an ftdi chip since it breaks everything out nicely.

I have communications working between the pi and the gps for NMEA data and can track between 10-13 ( occasionally I get 14, nice :-> ) however I'm having problems with getting the pps signal to work properly.

I hooked up the pps output to the CTS of the ftdi and I can attach the pps fine:
Code: Select all
pi@raspberrypi ~ $ sudo ldattach -s 9600 PPS /dev/ttyUSB0


Logs:
Code: Select all
Jan 12 23:19:52 raspberrypi kernel: [36168.272319] pps_core: source usbserial0 got cdev (251:0)
Jan 12 23:19:52 raspberrypi kernel: [36168.336427] pps pps0: new PPS source usbserial0
Jan 12 23:19:52 raspberrypi kernel: [36168.391261] pps pps0: source "/dev/ttyUSB0" added


However I'm don't get anything back from ppstest
Code: Select all
pi@raspberrypi ~/gits/pps-tools $ sudo ./ppstest /dev/pps0
trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)


From /var/log/syslog:
Code: Select all
Jan 12 23:21:27 raspberrypi kernel: [36262.468102] pps pps0: time format unspecified (11)
Jan 12 23:21:27 raspberrypi kernel: [36262.528005] pps pps0: PPS_FETCH
Jan 12 23:21:27 raspberrypi kernel: [36262.566098] pps pps0: timeout 3.000000000
Jan 12 23:21:30 raspberrypi kernel: [36265.608357] pps pps0: PPS_FETCH
Jan 12 23:21:30 raspberrypi kernel: [36265.646016] pps pps0: timeout 3.000000000
Jan 12 23:21:33 raspberrypi kernel: [36268.686861] pps pps0: PPS_FETCH
Jan 12 23:21:33 raspberrypi kernel: [36268.724769] pps pps0: timeout 3.000000000


Anyone know what I'm doing wrong here? I did have to compile the kernel myself to get the pps drivers. I've thought about getting the gpio input but ... well, this should be working ;)
bilsch
 
Posts: 12
Joined: Thu Oct 25, 2012 4:16 pm

Return to Adafruit Raspberry Pi® accessories

Who is online

Users browsing this forum: mibignistinly, VeleBookSot and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]