> For the complete documentation index, see [llms.txt](https://computational-thinking-in-room11.gitbook.io/room-112-dhs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://computational-thinking-in-room11.gitbook.io/room-112-dhs/software-development/compass/navigation-using-directions.md).

# Navigation using Directions

Build a Device that can be used to navigate using the compass feature and the arrows (either the  pre-build microbit  arrows or design your own)

![](https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpUPSf3tCxHePJxNjfg%2F-Lt04SggbPMSkR8BTzLZ%2F-Lt04ZcDTjobAfDsVnTl%2Fimage.png?alt=media\&token=c2af0384-e548-4d75-95f0-965fce3f5c03)

### Basic Guide Lines

* [ ] Pick one of the 4 main directions (N  S  E  W)
* [ ] Design a Program that will  detect if the micro:bit is NOT  traveling in your chose direction
  * [ ] What will you show if you are ON course&#x20;

    * [ ] If your current compass reading = the direction you picked

  * [ ] What will happen if you are OFF course?
    * [ ] Alert Captain?
    * [ ] Notify direction they are currently traveling
    * [ ] Use arrows to show which way to turn the boat to head in the correct direction
    * [ ] Notify Captain when back on  course

![https://www.nmeaboater.com/content/blog/blog](https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpUPSf3tCxHePJxNjfg%2F-Lsx0Zz_KAfcQZwOWUVL%2F-Lsx0bFMeDPNH5lA5tLL%2Fimage.png?alt=media\&token=371d14a0-788b-4e7e-adba-91a01767b8af)

#### Extensions: pick some of these or make your own

Add the ability to for the user to select a navigational setting before the trip begins

Add the ability for the captain to "set" a direction setting by moving the microbit before the trip begins

Add the 8 point direction functions

Modify the ranges so that you are not going "relatively north" but are following a specific degree marker
