PIR-sensor and Micro:bit

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 18

  • @dalienNation
    @dalienNation 3 роки тому +3

    Hello Gunnar! Thanks for sharing all these great ideas of projects using the Micro:bit! They help me out a great deal in helping my pupils to decide upon their projects.
    I was wondering of you could make a video on something like a heat seeking device? Like a servo attached to a camera that follows your motion whenever you enter a room?
    I’m really looking forward to see your next video! I can hardly wait!

    • @gunnarlund6633
      @gunnarlund6633  3 роки тому +1

      Thank you very much for your comment - it made me happy. And thanks for the new idea, which probably will be quite difficult to make. Right now I am working on an expansion kit (Wappsto:bit), which can make the Micro:bit go online, so you - among other things - can log your data.

    • @dalienNation
      @dalienNation 3 роки тому +1

      @@gunnarlund6633 This looks like a great extension board with both the WiFi and the GPS features. No wonder you’ve been busy! Wappsto:bit seems much easier to use than attaching an ESP8266 WiFi module to a separate edge connector. I’m looking forward to try one out when it is released!

  • @zaramorrison6057
    @zaramorrison6057 3 роки тому +1

    Hi! Is there any chance you could do a microbit / PIR tutorial on: if i wanted to make my Microbit count the amount of people walking past the sensor (eg. People walking in through a venue & counting the amount of attendees the facility has) I am doing an assessment where I have to make a Covid19 device which alerts staff when the facility has reached maximum capacity (eg. 20 people). I am not too sure how to code this... Your help would be greatly appreciated! Thankyou

    • @gunnarlund6633
      @gunnarlund6633  3 роки тому +1

      I'm working on another project so I can't promise to make the desired video. But I would suggest the following: you assume that the store has a separate entrance and exit and that a PIR sensor is set up at both the entrance and the exit. Customers arrive at a slow pace (they enter one at a time in and out through a revolving door). At the exit, the Micro:bit counts how many people leave the store. It must be equipped with the radio function and sends a message to the Micro:bit at the entrance. The micro:bit here is a kind of master where the store can check the number of customers. It must also use the radio function and it counts 1 up for each customer that comes in, and when it receives a radio pulse from the output, it counts 1 down. It can give an alarm, when a certain number of customers is reached - or It could lock the entrance.

    • @zaramorrison6057
      @zaramorrison6057 3 роки тому

      @@gunnarlund6633 No worries at all! Your description has been plenty of help in itself. Thankyou ! I'll take that on board :) !

    • @gunnarlund6633
      @gunnarlund6633  3 роки тому

      @@zaramorrison6057 Very good!

  • @zaramorrison6057
    @zaramorrison6057 3 роки тому +1

    Thankyou Gunnar for sharing this ! Has helped me significantly with my university assessment coming up. I feel alot more comfortable with my PIR sensor now :) !!!

    • @gunnarlund6633
      @gunnarlund6633  3 роки тому +1

      Thank you - it is lovely to get feed back of that kind ;-)

  • @sallysumola9847
    @sallysumola9847 2 роки тому

    hi thank you for sharing this do you know how to create a counter using a motion censor

    • @gunnarlund6633
      @gunnarlund6633  2 роки тому

      Hi Sally. Maybe you can get an idea from this video: ua-cam.com/video/fh9yXPU-QF8/v-deo.html
      You don't need to use the Wappsto:bit

  • @zaramorrison6057
    @zaramorrison6057 3 роки тому

    Hi Gunnar it's me again!
    I was just wondering if you could assist me in my coding for my final MicroBit code for my university assignment... As previously mentioned, I am planning to create a COVID 19 venue capacity tracking system.
    The problem is, I only have one microbit to work with.
    I have purchased a SIR (Proximity sensor) as well as the additional alligator clips, etc.
    Though I am not too sure how I can code this on Microsoft Make code to count the amount of people who enter the venue.
    Ultimately I wish my code to process:
    - Patrons entering venue (maximum capacity being 20)
    - Microbit has a sound when capacity has reached the maximum amount of people (20 people)
    - a reset button (A or B) to deduct 1 patron.
    - another rest button (A or B) to reset the counted people.
    It would be amazing if you could make through a code & send it through (email, facebook, etc)
    So I am able to test it out before my assessment is due.
    Im so sorry for the long message.
    I am still quite confused with the entire microbit coding situation so your assistance would be super beneficial to me ! :)

    • @gunnarlund6633
      @gunnarlund6633  3 роки тому +1

      Hi Zara. Thank you for your message. I do not think I can come up with more help for you. I do not know the SIR sensor and it will not be possible for me to make the desired code without being able to try it in real life. I hope you will find a solution. Gunnar

    • @zaramorrison6057
      @zaramorrison6057 3 роки тому

      @@gunnarlund6633 No stress at all, thankyou kindly anyways :)

  • @sulantro3511
    @sulantro3511 3 роки тому

    Hi Gunnar Lund my school has bought a load of these sensors but none of them seem to work.They either don't detect any motion or detect motion every second. I was wondering if you would have a solution, thanks

    • @gunnarlund6633
      @gunnarlund6633  3 роки тому

      Hi Sulantro. It takes some minutes until the PIR has warmed up! Do you use an external power supply? 3V from the Micro:bit is not enough. Do you connect as well the PIR as the Micro:bit to common GND? Have you studied my video where the adjustments are explained? Are the of the same type as shown on the video?

    • @sulantro3511
      @sulantro3511 3 роки тому

      @@gunnarlund6633 thanks it works now the problem was that when it was warming up it was detecting movement and it stopped the calibration

    • @gunnarlund6633
      @gunnarlund6633  3 роки тому +1

      @@sulantro3511 👍👌