Project 6: Automatic Hand Washing Timer That Plays Happy Birthday

Sdílet
Vložit
  • čas přidán 1. 04. 2020
  • Day 6 of Stay In and Make/Do - This DIY hand-washing timer plays you 20 seconds of Happy Birthday
    #StayHome 🏠😷 #WithMe #microbit
    You may think that counting to 20 isn't that hard, but try timing yourself. Make sure you're washing your hands for the required 20 seconds by building this hand washing timer that automatically plays music when you wave your hand over it.
    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)
    🔷Crocodile clip wires
    🔷 3 volt speaker (you can salvage one from a greetings card that plays music)
    UK: amzn.to/3aRkZ2C
    🎥🎞️ 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.
    Version 1: makecode.microbit.org/_LRMDuc...
    Version 2: makecode.microbit.org/_CC1eDb...
    🤖✨Join me elsewhere on the internet ✨🤖
    ➡️Twitter: / hannahmakes
    ➡️Website: www.hannahmakes.com
    ➡️Enquiries hello@hannahmakes.com
    🤖✨SUPPORT ME ON PATREON✨🤖
    ➡️ / hannahmakes

Komentáře • 10

  • @AthAthanasius
    @AthAthanasius Před 4 lety

    Kudos for not setting off the music whilst it was close to the cat.
    Am I one of the few people who prefers to concentrate on hand washing technique, ensuring full coverage, and that just naturally takes *more* than 20 seconds ?

    • @HannahMakes
      @HannahMakes  Před 4 lety

      Yeah, definitely better to focus on coverage rather than spending 20 seconds washing one finger! Perhaps version two should shout directions at you

  • @JesperDramsch
    @JesperDramsch Před 4 lety +1

    You could set the light timer to be "1 < light sensor < 10" to avoid it going off in near absolute darkness.

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

      That's a great idea! Genuinely annoyed I didn't think of that 🤣

    • @JesperDramsch
      @JesperDramsch Před 4 lety

      @@HannahMakes oh awesome! I figured you'd leave it out to make that example simple enough... 😅

  • @erigenfajanilan5928
    @erigenfajanilan5928 Před 8 měsíci

    What app or website did you use for the code? Beginner here

  • @pigglyjo5228
    @pigglyjo5228 Před 3 lety

    Fantastic video! All useful fun tasks for classes to do as well!
    In love with your shelves and storage though, where are they from? Been looking to tidy up my creative areas :D
    Cheers!

    • @HannahMakes
      @HannahMakes  Před 3 lety

      My big folding cupboard with all the plastic boxes is made by a UK company called Storage4Crafts. It's probably my proudest purchase, especially now I've labelled all the boxes!

  • @henrykunjumon5897
    @henrykunjumon5897 Před 3 lety

    Hey, How can I add custom sound ? Basically I want to ad my voice recording, is it possible ?

    • @HannahMakes
      @HannahMakes  Před 3 lety

      There's no easy way to add your own voice - you can write your own tune in the MakeCode editor with the "play tone" blocks. If you wanted a voice recording, one way I can think of is to take the electronics out of those greetings cards that let you record a message. Then you could trigger that with the microbit somehow, perhaps with a relay. Hope that helps!