Project 10: Build a motion alarm that makes your phone vibrate

Sdílet
Vložit
  • čas přidán 5. 04. 2020
  • Day 10 of Stay In and Make/Do - Get a notification to your phone every time the microbit moves
    #StayHome 🏠😷 #WithMe #microbit
    Build this motion alarm that can send a notification to your phone when it detects movement. You can use it to check no one's tampered with your stuff, or find out when someone enters or leaves a room. You can even use it to tell you when the kettle's boiled.
    Stay in and Make/Do is my series of daily projects to keep you entertained while you're staying at home. They're mainly electronics projects using the BBC Micro:bit (an affordable and easy to obtain little micro controller you can program in a really simple way), and these projects are suitable for all ages and ability levels - whether or not you've ever written code before or programmed anything!
    ⚙️🔨 YOU WILL NEED 🔨⚙️
    🔷 Microbit and battery pack
    (As an Amazon Associate I earn from qualifying purchases made with these affiliate links, but it doesn't cost you any extra 👍)
    UK: amzn.to/3p7q7EL
    US: amzn.to/3jEvkmd
    🔷 USB cable (for programming the Microbit)
    🔷 Smartphone
    🎥🎞️ OTHER VIDEOS IN THE SERIES 🎞️🎥
    0️⃣ Introduction - • Stay In And Make/Do - ...
    1️⃣ Project 1 - • Project 1: Microbit Fa...
    2️⃣ Project 2 - • Project 2: Build your ...
    3️⃣ Project 3 - • Project 3: Use two mic...
    4️⃣ Project 4 - • Project 4: Make a Toil...
    5️⃣ Project 5 - • Project 5: DIY remote ...
    6️⃣ Project 6 - • Project 6: Automatic H...
    7️⃣ Project 7 - • Project 7: Make micro...
    8️⃣ Project 8 - • Project 8: Make a musi...
    9️⃣ Project 9 - • Project 9: How to run ...
    🔟 Project 10 - • Project 10: Build a mo...
    💻⌨️ LINKS TO CODE ⌨️💻
    Want to see my working? Download a version of my code to play with and investigate.
    Here it is: makecode.microbit.org/_Xt41sr...
    🤖✨Join me elsewhere on the internet ✨🤖
    ➡️Twitter: / hannahmakes
    ➡️Website: www.hannahmakes.com
    ➡️Enquiries hello@hannahmakes.com
    🤖✨SUPPORT ME ON PATREON✨🤖
    ➡️ / hannahmakes
    Sound effects from www.zapsplat.com

Komentáře • 15

  • @diellagashi8438
    @diellagashi8438 Před 2 lety +2

    I dont have the "devices" thingy!

  • @Stoneman06660
    @Stoneman06660 Před 3 lety +2

    These microbits are very well developed and supported, aren't they? So much stuff in such a small package. Love it!

    • @HannahMakes
      @HannahMakes  Před 3 lety

      They're so great! And I love how there are multiple options for programming them too!

  • @imrannaim5890
    @imrannaim5890 Před 2 lety

    what value should the accelerometer strength should be when if the door opens it triggers and not if the knob moves

  • @MyraDeister-educator
    @MyraDeister-educator Před 3 lety +1

    I wanted to send a message to vibrate my phone but I cannot find the Devices extension that you mentioned in your video.

    • @HannahMakes
      @HannahMakes  Před 3 lety +1

      How weird! I just opened up MakeCode and I couldn't find the devices menu either. There's still a page mentioning it in the official documentation, and I noticed that if you click on the link in the description of the video to see my code, it still works. In fact, if you hit "Edit" after clicking the link to my code, you get taken to a MakeCode window with the Devices menu in the tray. Looks like the library still exists and functions, but it's been hidden for some reason. I might drop the foundation an email about that! Great spot!

  • @15answerz_
    @15answerz_ Před 3 lety +1

    My teacher always make us watch your vids so she doesn’t have to explain everything :/ but i like your vids

    • @HannahMakes
      @HannahMakes  Před 3 lety +1

      Well I'm glad you like the videos! :)

  • @meya09
    @meya09 Před 3 lety +1

    how to make it wireless

    • @HannahMakes
      @HannahMakes  Před 3 lety

      It's already wireless, in that it doesn't have to be plugged in anywhere to work. Do you mean wireless charging?

  • @gunnarlund6633
    @gunnarlund6633 Před 3 lety

    Does it work with iPhone?

    • @HannahMakes
      @HannahMakes  Před 3 lety

      It should do! In fact, the iPhone/Apple app for microbit has some features that the android app doesn't, and the pairing tends to be more reliable. So it might be even better with iPhone!

    • @gunnarlund6633
      @gunnarlund6633 Před 3 lety

      @@HannahMakes Thank you 😀 But I can’t make it work on an iPhone/iPad. The pairing works fine, and I can make the code, but I can’t make the interaction with the Micro:bit work...

    • @HannahMakes
      @HannahMakes  Před 3 lety

      @@gunnarlund6633 Hmm, that's weird! Have you tried updating the firmware on the microbit? I think the iphone app works better when you go into "monitor and control" to connect to the microbit, then leave that screen open, so you could try that?

    • @gunnarlund6633
      @gunnarlund6633 Před 3 lety

      ​@@HannahMakes Hello again. As you said the solution was to choose "Monitor and Control" and let it be open. There are quite a lot of steps to take until it works. But thank you very much for your advice and the best wishes of a happy new year!