Motion Sensor

I am attempting to create a microbic that can tell when I am about to wake up and send an alarm. Because I usually move a lot before I wake up, the microbit will sense the movement and make a sound loud enough to make me wake up. To try this, I will set up a motion sensor and if it doesn’t work my phone will send a notification through bluetooth.