Definitely not trying to copy the Kiwi Bot (https://www.kiwicampus.com/). Class project for MAE 148 at UC San Diego.
We use the GPS (GP-20U7) fritzing part from the Johnny-Five javascript robotics platform. The author is Rick Waldron and the johnny-five repo has many fritzing parts.
GPS module from sparkfun.
GP-20U7 | Raspberry Pi | Reason |
---|---|---|
VCC | 3.3V | Power |
GND | GND | Ground |
TX | RX | Receive Data |
RX | No Connect | Don't need to send to GPS. |
pip install pyserial
$ python gps.py
Your output should look like this:
(dk) **pi@ucsdrobocar03**:**~/not-kiwi-bot $** python gps.py
(32.88242833333334, -117.23458166666667)
(32.88242833333334, -117.23458166666667)
(32.88242833333334, -117.23458166666667)
(32.88242833333334, -117.23458166666667)
Debugging program running on fake data:
python gps.py fake
We build off the project team from Project GPS. Documentation Repository
Decoding Bytes to String Bytes
Wif Priority
Serial Ports Bluetooth ON may switch serial from /dev/ttyAMA0
to /dev/serial0
.