260 likes | 438 Views
BAE Systems C2C SWAT Project. Tutorial 3, GPS. Mar 2014. Tutorial 3, GPS describes how to correctly setup the GPS to your unit, including how to establish a connection to the SWAT Controller.
E N D
BAE Systems C2C SWAT Project Tutorial 3, GPS Mar 2014
Tutorial 3, GPS describes how to correctly setup the GPS to your unit, including how to establish a connection to the SWAT Controller. This section is not compulsory, however, if you wish to complete it, please purchase the one of the two GPS units described on the following slide. Scope
Tutorial 3 > GPS Selection • Part of Tutorial 3 is in two different sections, as there are two different GPS components that may be used: • Section A: The GP-635T • Section B: The Venus Logger with SMA Connector Please choose either of the GPS units It is recommended to use the GP-635T GP-635T Venus GPS Logger
Tutorial 3 > Set Up • Insert the SD Card into your computer and open the SD Card Library. • Open the folder “Tutorial 3, GPS” and run the file titled “setup”. Note: Running the “setup” file updates the “SWAT_pin.cfg” and “SWATctrl.cfg” files in the SD Card Library, using the files from the “Tutorial 3, GPS” folder.
Tutorial 3 > Step 1 • Eject the SD Card from your computer and insert the SD Card into the WF32 board. WF32 Board SD Card
Tutorial 3 > Step 2 • Attach the battery connector to the motor shield terminal P6. It is recommended to use a splitter cable to enable the battery to provide power to the shield and the ESC. Note: “P6” is written below the terminal on the motor shield Terminal P6 From Splitter Cable GND (negative) +11.1V (positive) To Motor Shield Terminal P6 Motor Shield Splitter Cable
Tutorial 3 > Step 3 • On the WF32 board, ensure that jumper J15 is in the external (EXT) position to receive power from the battery. Note: The UART position on jumper J15 is used when the WF32 board is connected to your computer WF32 Board J15 UART EXT
Tutorial 3 > Step 4 • Physically attach the WF32 board underneath the motor shield using the connecting pins. Note: Be careful not to bend any of the connecting pins. Motor Shield WF32
Tutorial 3 > Step 5 • Attach the power plug from the motor shield terminal P7 to the WF32 board J17. Note: “P7” and “J17” is written below the terminals on the motor shield and WF32 board. WF32 Board (top view) Terminal P7 From WF32 Board GND (negative) +11.1V (positive) To WF32 Power Connection WF32 Board (side view) Motor Shield
Tutorial 3 > GPS Selection • Section A is the GP-635T tutorial. If you would like to use the GP-635T, see Section A (Step 6). • Section B is the Venus Logger tutorial. If you would like to use the Venus Logger, see Section B (Step 10). Venus GPS Logger GP-635T
Tutorial 3 > Step 6 (Section A: GP-635T) • Connect Pin 1 (GP-635T) to GND (motor shield). Note: For the GND (motor shield), use either the second or third pins on the single pin row of P3, on the motor shield (illustrated in the diagram below). Motor Shield Pin 1 P3 GP-635T GND
Tutorial 3 > Step 7 (Section A: GP-635T) • Connect Pin 3 (GP-635T) to Digital I/O Pin 39, second from top, on connector P1 (motor shield). Motor Shield Pin 3 Pin 39 GP-635T P1
Tutorial 3 > Step 8 (Section A: GP-635T) • Connect Pin 4 (GP-635T) to Digital I/O Pin 40, first from top, on connector P1 (motor shield). Motor Shield Pin 40 Pin 4 GP-635T P1
Tutorial 3 > Step 9 (Section A: GP-635T) • Connect Pins 2, 5 and 6 (GP-635T) to a 3.3V source (motor shield). Note: The 3.3V source on the motor shield is the fifth pin on the single pin row of P3, on the motor shield (illustrated in the diagram below). Motor Shield Pins 6, 5 and 2 P3 3V3 GP-635T
Tutorial 3 > GPS Selection • If you have just finished Section A, using the GP-635T, please go to Step 14. • Section B is the Venus Logger tutorial. If you would like to use the Venus Logger, see Section B (Step 10). Venus GPS Logger GP-635T
Tutorial 3 > Step 10 (Section B: Venus Logger) • Connect GND (Venus Logger) to GND (motor shield). Note: For the GND (motor shield), use either the second or third pins on the single pin row of P3, on the motor shield (illustrated in the diagram below). Motor Shield GND P3 Top Bottom GND Venus GPS Logger
Tutorial 3 > Step 11 (Section B: Venus Logger) • Connect TX (Venus Logger) to Digital I/O Pin 39, second from top, on connector P1 (motor shield). Motor Shield TX Pin 39 Top Bottom P1 Venus GPS Logger
Tutorial 3 > Step 12 (Section B: Venus Logger) • Connect RX (Venus Logger) to Digital I/O Pin 39, first from top, on connector P1 (motor shield). Motor Shield RX Pin 40 Top Bottom P1 Venus GPS Logger
Tutorial 3 > Step 13 (Section B: Venus Logger) • Connect 3.3V (Venus Logger) to 3.3V source (motor shield). Note: The 3.3V source on the motor shield is the fifth pin on the single pin row of P3, on the motor shield (illustrated in the diagram below). Motor Shield 3.3V P3 Top Bottom 3V3 Venus GPS Logger
Tutorial 3 > Step 14 • Attach the motor shield, using the splitter cable, to the battery, to power up the board. Note: The battery is always the last component to connect. Splitter Cable Battery To Splitter Cable To Battery
Tutorial 3 > Step 15 • Turn on your Wi-Fi unit and connect your computer to this. • Open the “SWAT Controller” on your computer (previously installed). SWAT Controller
Tutorial 3 > Step 16 • Once the “SWAT Controller” has established a connection, select the View GPS Data button. • A new window will open, with various tabs, in which your Position will be displayed in the GPRMC tab. • You may also view the GPGSV tab, in which the current satellites can be seen. View GPS Data
Tutorial 3 > Step 17 • Once testing is complete, disconnect the battery first from the splitter cable. Note: The battery is always the first component to disconnect. Splitter Cable Battery From Splitter Cable From Battery
Next Modules • Please continue to: Tutorial 2, Digital Compass.pptx (not compulsory) or Tutorial 4, Final.pptx (not compulsory) • Please note, Tutorial 4, Final, combines the ESC, Servo, Digital Compass and GPS.