IoT Based Bidirectional Visitor Counter using ESP8266 & MQTT

  Переглядів 15,963

How To Electronics

How To Electronics

3 роки тому

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 Рік тому
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.
@volkancebeci33
@volkancebeci33 Рік тому
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
@arshidap8172
@arshidap8172 2 роки тому
Is there any additional library required for this project more than nodemcu library
@nickperez22
@nickperez22 6 місяців тому
Great video, I'm going to try it out and would like to add a camera to take pictures/videos of all incoming customers.
@poojadorik8002
@poojadorik8002 Рік тому
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
@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
@yudhariswan1486
@yudhariswan1486 Рік тому
i have issues with connecting esp8266 with the ubidots, my esp8266 device not appear in devices tab
@syedmoiezullahbukhari2676
@syedmoiezullahbukhari2676 Рік тому
where is te working of light on and off
@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.
@oledgaming8011
@oledgaming8011 5 місяців тому
In wifi ssid and password which info do we have to upload the mobile hotspot name and password or other think
@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.
@mramzadg
@mramzadg 3 роки тому
Awesome project, 💡thanks for another great video tutorial 👍
@HowtoElectronics
@HowtoElectronics 3 роки тому
Thank you sir
@itachi_uchiha45
@itachi_uchiha45 Рік тому
Where can I get the code?
@InspireandAchieve768
@InspireandAchieve768 10 місяців тому
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 10 місяців тому
It will count as 1. Therefore design gate in a way that only one person can enter.
@InspireandAchieve768
@InspireandAchieve768 10 місяців тому
@@HowtoElectronics Any other sensors type that can count the objects?
@HowtoElectronics
@HowtoElectronics 10 місяців тому
You need esp32 cam and open cv image processing for person recognition. I have made a video on that under object esp32 cam.
@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.
@feritriatmojo6566
@feritriatmojo6566 Рік тому
please make for esp 32
@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
@muhammadhaziqmifzalbinrusl1589
@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?
@thomaslocke1503
@thomaslocke1503 3 місяці тому
So the visitors have to move their hand to the ir-Sensors... Why not press a Button🤣🤣🤣
@veta1000
@veta1000 3 роки тому
Great
@shakerileiwat4341
@shakerileiwat4341 3 роки тому
Awesome project ♥
@nazionfilho3247
@nazionfilho3247 3 роки тому
Pleases, answer my question about NPK in other video .
@HowtoElectronics
@HowtoElectronics 3 роки тому
What is your question sir? Please let me know.
@harinin8539
@harinin8539 2 роки тому
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
@electronic7979
@electronic7979 3 роки тому
👍
@groovetrain397
@groovetrain397 3 роки тому
Half the video is ads!!! Unsubscribed!!
@HowtoElectronics
@HowtoElectronics 3 роки тому
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.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 513 тис.
IoT Based Bidirectional Visitor Counter using ESP8266 and Blynk App
7:01
IoT Projects Ideas
Переглядів 5 тис.
McDonald’s MCNUGGET PURSE?! #shorts
00:11
Lauren Godwin
Переглядів 32 млн
IR sensor based bidirectional Person Counter project with Arduino
3:44
DPV TECHNOLOGY
Переглядів 22 тис.
Effective Ways To Detect People With Common Sensors
7:43
Core Electronics
Переглядів 49 тис.
How to make liquid filling machine using ardiuno/Flow sensor
4:11
Technical Era1
Переглядів 4,2 тис.
15 Brilliant IoT Projects for Beginners!
9:25
ToP Projects Compilation
Переглядів 756 тис.
IoT Water Meter with ESP32 - Full Tutorial and Code
23:15
Kevin Darrah
Переглядів 47 тис.
IoT Based Smart Electricity Energy Meter using ESP32 & Blynk Application
9:44
How To Electronics
Переглядів 239 тис.
ESP8266 IoT Control and Monitor Using Arduino, MQTT, and Cayenne
14:25
How to Make a Simple Pencil Welder at Home for Soldering! Amazing Smart
10:02
Arduino Visitors Counter | Automatic Light
6:11
Viral Science - The home of Creativity
Переглядів 108 тис.
Радиоприемник из фольги, стаканчика и светодиода с батарейкой?
1:00
wyłącznik
0:50
Panele Fotowoltaiczne
Переглядів 816 тис.
iPhone - телефон для нищебродов?!
0:53
ÉЖИ АКСЁНОВ
Переглядів 3,8 млн