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 - Наука та технологія
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.
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
Is there any additional library required for this project more than nodemcu library
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
Great video, I'm going to try it out and would like to add a camera to take pictures/videos of all incoming customers.
i have issues with connecting esp8266 with the ubidots, my esp8266 device not appear in devices tab
can i attach an bulb and make stting to turn on if their is 1 person present
what wires are used in this project
In wifi ssid and password which info do we have to upload the mobile hotspot name and password or other think
Where can I get the code?
where is te working of light on
and off
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.
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.
@@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.
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?
I think you miss out some of Library. In the vdeo she mentioned extra library.
Awesome project, 💡thanks for another great video tutorial 👍
Thank you sir
can I remove the relay and led without changing the coding?
Hi.. I try to do as you. Hve you tried it? Do you face any problem?
please make for esp 32
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.
It will count as 1.
Therefore design gate in a way that only one person can enter.
@@HowtoElectronics Any other sensors type that can count the objects?
You need esp32 cam and open cv image processing for person recognition. I have made a video on that under object esp32 cam.
COOOOOL project.What other sensors can be used to extend the distance?Keep up the good work.
Ultrasonic sensor can be good upto 4 meters and thermal sensor AMG8833 can be used more than 10 meters.
@@HowtoElectronics my appreciation for the quick reply.
Awesome project ♥
So the visitors have to move their hand to the ir-Sensors... Why not press a Button🤣🤣🤣
Also include 3D box enclosure next time..in every project
Sure sir.
Don’t have the 3D designing skill yet.
🙁🙁🙁
@@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.
Thanks for the suggestion. I was thinking to learn 3D designing software. Hope i will start soon
@@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
Pleases, answer my question about NPK in other video .
What is your question sir? Please let me know.
Journal paper for this
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
Check the baud rate. Check the wifi whether its connecting or not. Also press reset button of NodeMCU after opening serial monitor.
@@HowtoElectronics i have set the baud rate to 9600
The serial montior is printing
.......................................
Also after uploading it says
Resetting with RST pin.
@@HowtoElectronics the nodemcu is connecting and disconnecting, it is not able to establish mqtt connection
Great
👍
Half the video is ads!!! Unsubscribed!!
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.
--------------- 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.