Fighting COVID-19 - Arduino hand washing timer with PIR sensor and NeoPixel ring

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 พ.ค. 2020
  • As a sequel to my PIR sensor video, I made this prototype circuit and code of a handwashing timer circuit that when it detects a movement over the PIR sensor it lights up a NeoPixel ring of 12 RGB WS2812 LEDs in a rainbow pattern for about 20 seconds. This is the recommended time that you need to wash your hands with soap by the WHO.
    The project uses Arduino Nano that reads the input signal from the PIR sensor on analog input 3 and it controls the RGB ring through pin 6. A 360Ohm resistor is placed on the signal line for the NeoPixel ring and 47k Ohm resistor between source and ground on the PIR element.
    The article where I saw the tape trick:
    sites.google.com/a/gr0b.com/0...
    Tools and materials needed to make this project:
    Arduino Nano - s.click.aliexpress.com/e/_dSy...
    RGB WS2812 NeoPixel ring - s.click.aliexpress.com/e/_d7A...
    Assorted resistors - s.click.aliexpress.com/e/_d8n...
    HC-SR501 PIR Module - s.click.aliexpress.com/e/_dYE...
    Mini PIR Module - s.click.aliexpress.com/e/_dZJ...
    D203S PIR Element - s.click.aliexpress.com/e/_d73...
    Fresnel Lens - s.click.aliexpress.com/e/_dVi...
    SYB-170 Mini Breadboard - s.click.aliexpress.com/e/_d7b...
    Breadboard wires - s.click.aliexpress.com/e/_dZA...
    Check out the written article at Instructables:
    www.instructables.com/id/Hand...
    The code for the handwashing timer is available on GitHub:
    github.com/bkolicoski/arduino...
    Support my work on Patreon so I can continue producing free content and tutorials!
    / taste_the_code
    My recording gear:
    GT10 Pro 5G Android Phone - s.click.aliexpress.com/e/_oDn...
    Dragon Touch 4K Action Camera - s.click.aliexpress.com/e/_mrc...
    USB Condenser Microphone - s.click.aliexpress.com/e/_mq5...
    Tripod - s.click.aliexpress.com/e/_ooa...
    Phone tripod mount - s.click.aliexpress.com/e/_s9WaiJ
    Fighting COVID-19 - Arduino hand washing timer with PIR sensor and NeoPixel ring
    #arduino #timer #covid-19 #washyourhands #tastethecode
    Main Site and blog: www.tastethecode.com
    Facebook: / tastethecode
    Instagram: / taste_the_code
    Twitter: / taste_the_code
    Get exclusive Taste The Code t-shirts and merch at
    teespring.com/taste-the-code
    Click on the link below to get two months of free premium access to Skillshare and start learning today!
    skl.sh/37LnRua
    Get $50 off your order on hosting for all of your website needs and learning projects on Dreamhost!
    www.dreamhost.com/r.cgi?24057...
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 4

  • @Drxxx
    @Drxxx 4 ปีที่แล้ว

    Great video

  • @LittlePetieWheat
    @LittlePetieWheat 3 ปีที่แล้ว

    You need the poly Fresnel lens on the unit for it to work at distance . You should see a spike followed by a dip (20mV peak to peak) when a warm moving object is detected. See::www.makerguides.com/wp-content/uploads/2019/07/RE200B-Datasheet.pdf

    • @TasteTheCode
      @TasteTheCode  3 ปีที่แล้ว

      Yes, I know about the lens but with it, the movement will be triggered even by standing to it unless there is something covering the sides and only the top is exposed.
      Thanks for the datasheet.