Crude navigation
Dependencies: GPS2 L3GD20 LSM303DLHC2 PID mbed SDFileSystem
Fork of GPSNavigation by
Revision 10:b6bf86de613f, committed 2015-04-27
- Comitter:
- Spilly
- Date:
- Mon Apr 27 16:56:49 2015 +0000
- Parent:
- 9:fb8e34e31dfb
- Child:
- 11:1b34319671eb
- Commit message:
- BoatProject
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Apr 27 16:50:43 2015 +0000 +++ b/main.cpp Mon Apr 27 16:56:49 2015 +0000 @@ -13,10 +13,14 @@ // A PID loop is used to control the heading of the vehicle // // The project uses a FRDM-K64f (Freescale microcontroller), a LSM303DLHC (magnetometer and accelerometer) to create a tilt compensated comapass, -// MTK3339 GPS module,xBee Pro S1, three TE KRPA-11 relays (relay logic H-bridge for trolling motor), and a L298n (H-Bridge for linear actuator) +// MTK3339 GPS module, two xBee Pro S1, three TE KRPA-11 relays (relay logic H-bridge for trolling motor), and a L298n (H-Bridge for linear actuator) // /***************************************************How To***************************************************************************************************************************************/ // +// Requires a serial to usb adapter to connect an X-Bee to a PC +// Set both X-Bees up for 115200 baud +// Use TeraTerm (or other serial program) to read and send data over X-Bees +// // Program starts by prompting user to press any key // Once user presses a key, the program waits for a DGPS fix (can be set by changing "FIX") // Once the program sees a DGPS fix, manual mode is enabled