4 ms·
GPS modules use SPI which you can get a standard USB serial adapter for $2 on eBay. As the title suggests, it's overkill. Basically it's using the Rpi as SPI ad
by frankreyes 3y ago
GPS modules use SPI which you can get a standard USB serial adapter for $2 on eBay. As the title suggests, it's overkill. Basically it's using the Rpi as SPI adapter.
Edit: USB to TTL costs like $3.5, it's like a standard RS232 serial port but much simpler and faster.
- greggyb 3y agoAh, cool. I didn't know that about the connection. Thanks for sharing.
- BenjiWiebe 3y agoIf he's using the timing pin on a GPS module, you want it on GPIO or an actual built-in serial port, because SPI or USB or other adapters can't be configured to trigger a CPU interrupt within a few CPU cycles. Your accuracy will be less otherwise.