Soldiers got lost in heavy fog due to broken navigation tools, accidentally entered enemy territory. After escaping, they identified the need for a reliable device to guide them back to camp.
So, build a microcontroller-based device that
Predefined Military Camp Coordinates: “X=18.556283, Y=73.955067”
NOTE: Instead of an Army GPS device, we can send a GPS string via the serial terminal (e.g., Putty, Arduino IDE) to avoid hardware complexity.
Example
” X=18.532525, Y=73.850457”
“X=18.556283, Y=73.955067”
Distance to camp: 11.34 km
Direction to camp: E
Serial Terminal Output:
You can send the following GPS string manually via the Serial terminal(e.g., Putty, Arduino IDE). The system should show the distance and direction.
NOTE: For verification, you can refer to the expected output.
Table
Sr.No | GPS String for Soldiers (send via serial monitor) | Expected Output (on serial monitor) |
1. | “X=18.543070,Y=73.852389” |
|
2. | “X=18.447045,Y=73.858581” |
|
3. | “X=17.692949,Y=74.003719” |
|
4. | “X=18.145256,Y=74.575520” |
|
5. | “X=18.500245,Y=73.858700” |
|