IoT Based Bidirectional Visitor Counter using ESP8266 & MQTT

Поділитися
Вставка
  • Опубліковано 22 бер 2021
  • Free Download PCB design checker: www.nextpcb.com/nextdfm.html?...
    Register and get $100 from NextPCB: www.nextpcb.com/?code=Htoeletric
    ....................................................................................................................................................................................................................................
    In this project, we will make IoT IR Based Bidirectional Visitor Counter using NodeMCU ESPP8266 & Ubidots MQTT. You can use this project for monitoring the total number of incoming, outgoing, and current visitors online from any part of the world using Ubidots Dashboard. To count the incoming and outcoming visitors, it is better to use an Infrared or IR Sensor. The Visitors data uploads automatically to Ubidots cloud using the NodeMCU ESP8266 WiFi Module.
    You can use this NodeMCU Bidirectional Visitor counter in the hall, Shopping mall, office, functions in the entrance gate to count the total number of visitors. The device counts the total number of people entering through the gate & also counts the total number of people leaving through the different gates. And finally, it calculates the total number of current people by subtracting the outgoing visitor from the incoming visitor. When even a single person is found inside the room, the light turns on automatically. When no people are present in the room, the light turns off automatically.
    In one of my previous projects, I made the Visitor Counter Project using Arduino. But this time we will send the data to the cloud instead of watching it on OLED Screen. We can make this IoT Visitor Counter using ESP8266 Wifi Module, a pair of IR Sensor, OLED Display, and a Relay Module. Apart from these main components we also need some passive electronic components & PCB Board. The project is simply easy and even a beginner can make it without any difficulty.
    Project Details, Code & PCB Gerber File: how2electronics.com/iot-bidir...
    ....................................................................................................................................................................................................................................
    Drop a like if you liked this video.
    Don't forget to subscribe to our channel for more Electronics projects and tutorials.
    Website: www.how2electronics.com
    Facebook: / electronicsbyalex
    Instagram: / how2electronics
  • Наука та технологія

КОМЕНТАРІ • 55

  • @on_the_earth
    @on_the_earth Рік тому +1

    hello there!
    can we use ultrasonic sensors in place of IR modules?
    because IR sensors do not work nicely in sunlight or outdoors.
    will be thankful for the fast reply, I am working on this project.

  • @poojadorik8002
    @poojadorik8002 2 роки тому +1

    I made oled connect according to circuit diagram. But I didn't got out put can you help me.
    How can can count visitors counter using oled

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

    Is there any additional library required for this project more than nodemcu library

  • @volkancebeci33
    @volkancebeci33 Рік тому +2

    I really liked the project. Can I use PIR sensors instead of IR sensors? At the same time, I can design how it can count when more than one person passes side by side. Can you make a video for that too? @How To Electronics

  • @nickperez22
    @nickperez22 9 місяців тому

    Great video, I'm going to try it out and would like to add a camera to take pictures/videos of all incoming customers.

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

    i have issues with connecting esp8266 with the ubidots, my esp8266 device not appear in devices tab

  • @syedmoiezullahbukhari2676
    @syedmoiezullahbukhari2676 Рік тому

    can i attach an bulb and make stting to turn on if their is 1 person present

  • @syedmoiezullahbukhari2676
    @syedmoiezullahbukhari2676 Рік тому

    what wires are used in this project

  • @oledgaming8011
    @oledgaming8011 8 місяців тому

    In wifi ssid and password which info do we have to upload the mobile hotspot name and password or other think

  • @itachi_uchiha45
    @itachi_uchiha45 Рік тому

    Where can I get the code?

  • @syedmoiezullahbukhari2676
    @syedmoiezullahbukhari2676 Рік тому

    where is te working of light on
    and off

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

    Will this work without the PCB or does it require the PCB to work properly? I'm getting a boot loop with the code causing ESP8266 to reset itself constantly.

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

      This is bcoz of the power issue. The current required by ESP might be less.
      Chcek the power supply or use a good adapeter with proper power rating. Check your USB cable.

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

      @@HowtoElectronics I have tried with multiple power sources through micro usb. In fact removed the IR sensors to save power as well but still getting the same boot loop. Other sketches work just fine.

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

    I try to make it. But it is showing me on Arduino IDE is " error compiling for NoduMCU 1.0) ". So what can I do now?

    • @narisyaash5523
      @narisyaash5523 Рік тому

      I think you miss out some of Library. In the vdeo she mentioned extra library.

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

    Awesome project, 💡thanks for another great video tutorial 👍

  • @muhammadhaziqmifzalbinrusl1589

    can I remove the relay and led without changing the coding?

    • @narisyaash5523
      @narisyaash5523 Рік тому

      Hi.. I try to do as you. Hve you tried it? Do you face any problem?

  • @feritriatmojo6566
    @feritriatmojo6566 Рік тому

    please make for esp 32

  • @InspireandAchieve768
    @InspireandAchieve768 Рік тому

    What will happen if two person enter at the same time? It will count 1 or 2? Please Please reply, if any suggestion on my question.

    • @HowtoElectronics
      @HowtoElectronics  Рік тому +1

      It will count as 1.
      Therefore design gate in a way that only one person can enter.

    • @InspireandAchieve768
      @InspireandAchieve768 Рік тому

      @@HowtoElectronics Any other sensors type that can count the objects?

    • @HowtoElectronics
      @HowtoElectronics  Рік тому +1

      You need esp32 cam and open cv image processing for person recognition. I have made a video on that under object esp32 cam.

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

    COOOOOL project.What other sensors can be used to extend the distance?Keep up the good work.

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

      Ultrasonic sensor can be good upto 4 meters and thermal sensor AMG8833 can be used more than 10 meters.

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

      @@HowtoElectronics my appreciation for the quick reply.

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

    Awesome project ♥

  • @thomaslocke1503
    @thomaslocke1503 6 місяців тому

    So the visitors have to move their hand to the ir-Sensors... Why not press a Button🤣🤣🤣

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

    Also include 3D box enclosure next time..in every project

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

      Sure sir.
      Don’t have the 3D designing skill yet.
      🙁🙁🙁

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

      @@HowtoElectronics I can understand but if it would be included....this will create a great awareness in Engineers to make their simple project into a product.

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

      Thanks for the suggestion. I was thinking to learn 3D designing software. Hope i will start soon

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

      @@HowtoElectronics Yes, Fusion 360 is one software....and just like you show how to order PCB from PCB way....you can show how to order the 3D Box after designing...👍
      That would be excellent

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

    Pleases, answer my question about NPK in other video .

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

    Journal paper for this

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

    after uploading the code , i am not seeing anything in serial monitor , please help me with this, it is very urgent, i have to sumbit it in my college

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

      Check the baud rate. Check the wifi whether its connecting or not. Also press reset button of NodeMCU after opening serial monitor.

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

      @@HowtoElectronics i have set the baud rate to 9600

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

      The serial montior is printing
      .......................................

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

      Also after uploading it says
      Resetting with RST pin.

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

      @@HowtoElectronics the nodemcu is connecting and disconnecting, it is not able to establish mqtt connection

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

    Great

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

    👍

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

    Half the video is ads!!! Unsubscribed!!

    • @HowtoElectronics
      @HowtoElectronics  3 роки тому +4

      When you look for free content, you may be forced to watch ads. You have to understand that creator have to work whole night and day to create a good content. If they don’t put ads how will they survive.

  • @narisyaash5523
    @narisyaash5523 Рік тому

    --------------- CUT HERE FOR EXCEPTION DECODER ---------------
    ets Jan 8 2013,rst cause:2, boot mode:(3,6)
    load 0x4010f000, len 3460, room 16
    tail 4
    chksum 0xcc
    load 0x3fff20b8, len 40, room 4
    tail 4
    chksum 0xc9
    csum 0xc9
    v00048c70
    ~ld
    .........WiFi connected
    IP address:
    192.168.1.9
    My Serial Monitor shows this. I had follow all yr steps. However, I only use 2 IR sensor and nodemcu only.
    Hopefully someone can help me out.