# Water rocket - measuring altitude with the accelerometer

**URL:** <https://forum.makecode.com/t/water-rocket-measuring-altitude-with-the-accelerometer/15129>\
**Category:** micro:bit\
**Created:** [August 29, 2022, 4:19pm UTC](https://forum.makecode.com/t/water-rocket-measuring-altitude-with-the-accelerometer/15129 "2022-08-29T16:19:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aha-ha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aha-ha/32/6738_2.png) [@aha-ha](https://forum.makecode.com/u/aha-ha)\
**Post date:** [August 29, 2022, 4:19pm UTC](https://forum.makecode.com/t/water-rocket-measuring-altitude-with-the-accelerometer/15129/1 "2022-08-29T16:19:31Z")

</div>

I would like to launch a water rocket and send the micro:bit along. It should measure how high the rocket flew and preferably also how fast the rocket flew… Does anyone have a code idea? Thanks a lot in advance.  
aha-ha
