# Micro:bit heading direction

**URL:** <https://forum.makecode.com/t/micro-bit-heading-direction/3377>\
**Category:** micro:bit\
**Created:** [September 7, 2020, 12:09pm UTC](https://forum.makecode.com/t/micro-bit-heading-direction/3377 "2020-09-07T12:09:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MINTGenie](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mintgenie/32/1052_2.png) [@MINTGenie](https://forum.makecode.com/u/MINTGenie)\
**Post date:** [September 7, 2020, 12:09pm UTC](https://forum.makecode.com/t/micro-bit-heading-direction/3377/1 "2020-09-07T12:09:40Z")

</div>

Hello,  
I am using the DFRobot Maqueen kit where the micro:bit is mounted vertically. I wanted to use the accelerometer and/or magnetometer to traverse a map or draw a path, for example. Start pointing towards North and then move 15 cms, turn 45 degrees to the left/west and so…  
I noticed that the compass heading cannot be used effectively to find the orientation when mounted vertically. Is there an alternative method using “magnetic force uT” block  
Warm regards  
MINT Genie

---

<div class="post-metadata">

**Author:** ![ioannis-t](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ioannis-t/32/7222_2.png) [@ioannis-t](https://forum.makecode.com/u/ioannis-t)\
**Post date:** [November 28, 2022, 5:47pm UTC](https://forum.makecode.com/t/micro-bit-heading-direction/3377/2 "2022-11-28T17:47:55Z")

</div>

Hey MINTGenie,  
have you found any solution on this? I am also using Maqueen and I want to use the accelerometer in order to find out if there is any error moving forward.  
Best,  
Ioannis
