#176 BLE Human Presence Detector using an ESP32 (Tutorial, Arduino IDE)

#176 BLE Human Presence Detector using an ESP32 (Tutorial, Arduino IDE)

Andreas Spiess

6 лет назад

221,387 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@debuggerau
@debuggerau - 02.04.2020 23:57

interesting, thank you for sharing

Ответить
@wl11lm
@wl11lm - 10.04.2020 16:19

hello, i don't understand english very well, but i would like to know if the light only goes on if you pass with your bluetooth device, if the answer is yes, i can find a way to understand

Ответить
@daniel.ehrhardt
@daniel.ehrhardt - 12.04.2020 23:08

Did someone tested this with Phones?

Ответить
@leepq8034
@leepq8034 - 27.04.2020 10:38

Hi, do you have a tutorial on Wifi instead of BLE for sensing humans?

Ответить
@asvsharma3508
@asvsharma3508 - 30.04.2020 16:54

can we try to measure RSSI value and based on that turn the lamp


if so how to do ?

Ответить
@prayersonchristian1936
@prayersonchristian1936 - 04.05.2020 10:51

Hello there, I have one question. Is the BLE MAC address of ESP32 is discoverable while it is configured as BLE scanner?

Ответить
@ytkdmr
@ytkdmr - 04.05.2020 23:36

This is not Human Presence Detector, this is device presence detector.

Ответить
@ytkdmr
@ytkdmr - 25.05.2020 19:25

Great video thanks. But why do we need wifi connection ?

Ответить
@davesemmelink8964
@davesemmelink8964 - 08.06.2020 09:51

I needed a lazy way to take attendance in my class and remembered this project. I have it working now, but initially had a problem compiling: Sketch too big. I couldn't find the option to re-partition the storage, but eventually thought of changing the board from ESP32 DOIT to ESP32 Dev Module. Now the Partition Scheme option appears under Tools and I could change to Huge App, and all was well after that. I wonder did the libraries grow so much in 2 1/2 years? And why does the DOIT board not have the partition option? More lessons learned...

Ответить
@hossainellas9669
@hossainellas9669 - 21.06.2020 18:23

Nice Video clip! Excuse me for the intrusion, I would love your thoughts. Have you ever tried - Norajon Proximity Packthread (do a search on google)? It is a smashing one off guide for getting money with paid traffic without the hard work. Ive heard some great things about it and my friend Sam finally got cool results with it.

Ответить
@trandanh_nietisland5929
@trandanh_nietisland5929 - 28.06.2020 13:23

use esp8266+module ble replace esp32 ?

Ответить
@kipsta1993
@kipsta1993 - 08.07.2020 22:17

So i can not build a BLE bridge which broadcasts my received ble data over wifi? :(

Ответить
@rioaditiyono8442
@rioaditiyono8442 - 16.07.2020 06:23

Hi, is it possible to use rssi to paired bluetooth device in order to turn on and off things.
I want to connect with serial bluetooth to my Android and if the signal strength is high then the switch on, if the strength is low then the switch off, so I don't have to click anything on my Android. How do you measure rssi of paired device and how to set the rssi treshold?

Ответить
@chirodiesel
@chirodiesel - 16.07.2020 17:19

Hello there and thank you. I am looking to create social distancing alarm watches for children with audio/visual alerts based on the esp32 chipset. My question is whether or not the chipset has built in BLE to transmit proximity values in addition to what I already know it has the capability to do regarding reception of the signals. If it does, is there a significant latency period between switching modes between transmission and reception of signals, and if there is, can it be set to toggle between the two without absolutely draining a sub 1000 mAh battery in under 2 hours? Again, thank you so much. Great informative channel.

Ответить
@eclecticlife
@eclecticlife - 21.08.2020 23:07

Thanks for the great video. Do you know why my smart watch is not detected by the esp32 when it's connected to the phone? As soon as I turn the BT of the phone off and the watch disconnects, it's detected by the esp32. Thanks!

Ответить
@BerndSchmitt-Martinique
@BerndSchmitt-Martinique - 19.10.2020 13:37

its always a pleasure to detect NEW FIELDS of application with your help and orientation. THANK YOU FOR YOUR HELP to so many makers.

Ответить
@hamhumtube
@hamhumtube - 19.10.2020 23:38

thank you boss. they mention "monitor" in docker. should we go in that route? how? please guide.

Ответить
@linekodak
@linekodak - 07.11.2020 02:44

how to add user and password to the MQTT connection?

Ответить
@xisop
@xisop - 08.11.2020 10:08

Hi Andreas,

Thank you so much for all your video´s. Really helping me out.
I was wondering about your git code.
On line 76 there is a value presented. The code writes -80. Is this where I can set the minimal signal strength for my BLE device? i.e. if I want my BLE device fairly close to the sensor I can change the value to lets say -50?

Ответить
@raiyanamiruddin4741
@raiyanamiruddin4741 - 12.11.2020 16:49

hey, so I want to make a project that can detect human presence from about 5 feet away do you know anything I should do maybe combine a heat sensor and a thermal sensor

Ответить
@knightautomationservices
@knightautomationservices - 11.01.2021 21:49

Thank you so much bro! Great video !!

Ответить
@mikeissa9853
@mikeissa9853 - 03.02.2021 13:50

Hi...do you sell the completed model? I would like to just receive a message each time someone enters a room..... if that person leaves then returns, I get another message etc....thanks

Ответить
@invertedbro
@invertedbro - 04.02.2021 16:51

Thanks a lot ! I made an anti-theft key alarm using this .

Ответить
@lauro7352
@lauro7352 - 12.02.2021 16:38

Hi Andreas, thanks for your great videos they are a source of inspiration.
I need a hint for my project. I have 5 ESP32 connected in a mesh via BLE.
I would like them to sense how physically distant they are from each other. It's for a game and I'm interested in approximately knowing their distance when they are between 10cm and 1 meter far apart.
Is this feasible? (PIR, Ultrasound and laser won't work as they don't distinguish an esp. RFID and Hall sensor don't have proper range)
thanks.

Ответить
@NastyOi
@NastyOi - 15.02.2021 03:03

hey Andreas,
ich habe deinen sketch erfolgreich kompelieren können, super arbeit... ich weiss der beitrag ist mittlerweile 4 jahre alt aber ich hätte da mal eine frage:
wäre es möglich das wenn der esp das gerät als abwesend erkennt sobald es ausserhalb der range < 80 wie in deinem skecht er auch das Topic 0 bzw Abwesend sendet ?
falls du dies ließt danke ich dir im voraus für die Hilfe..!

Ответить
@102diy
@102diy - 05.04.2021 18:15

Maybe it is the goal to use esp32 for Bluetooth that will be always in listen mode and will always search ble in your appearance, and esp8266 for wifi communication to mqtt server, serial (i2c) link between esp32 and esp8266.... I think it will work, I'll try to make some tests with this "topology"

Ответить
@NextLevelCode
@NextLevelCode - 05.05.2021 03:26

I like this idea a lot. I’m thinking though I could use an esp32 for Bluetooth and an esp8266 for WiFi. Connect them together with uart. Then I could have a continuous stream of Bluetooth RSSI measurements being transferred to the mqtt. No switching on and off the different radios. With a few different nodes measuring the same RSSI should be able to do some triangulation.

What do you think about that?

Ответить
@thomasriwar9617
@thomasriwar9617 - 29.05.2021 12:55

Hallo Andreas, gut dieses Video ist schon etwas älter, dennoch sehr interessant! Das ganze erinnert doch sehr an ein kommerzielles Produkt, nämlich "Happy Bubbles". Leider berücksichtigt dein Sketch kein Login beim MQTT-Broker. Das ist in aktuellen Implementierungen, z.Bsp. Home Assistant zwingend. Vielleicht gibt es irgendwann ein Update? Vielen Dank für deine tollen Videos und viele Grüsse!

Ответить
@laurichilhorst7395
@laurichilhorst7395 - 23.06.2021 23:08

Hi Andreas. As always, a very cool video.

I have a question. I recently bought a small and cheap BLE iBeacon to play around with. The device is powered by a coin cell and features a push button. Is it possible to use such a device to trigger events on my Esp32? I would like to be able to use a small key-ring sized device to trigger a simple function on my Esp32. So I should like to know how to detect if the button on the iBeacon is pressed.

Ответить
@soovui
@soovui - 30.07.2021 20:16

Hi Andreas, Like to check with you, are you able to teach how to detect the ibeacon battery status level and send notification to mqtt server? This could be a very interesting topic.

Ответить
@brantwinter
@brantwinter - 06.08.2021 10:19

What is that overhead LED light you have in your lab???

Ответить
@BenjaminGatti
@BenjaminGatti - 06.09.2021 06:29

You could add a video about esp csi human detection

Ответить
@davidk.3450
@davidk.3450 - 22.09.2021 01:26

I know that Video is very old but today there is also the "olimex esp32-poe" available for 25Bugs. I would be interested in setting up a housewide network of such beacon snifferts collectiong their distances to a specific MAC on a Server(RaspberrPi) and calculate their position in different rooms.

Maybee it is possible to set up x nodes(sniffer) and create a Room-Map while going with the beacon through every room. (So afterwards it might be possible to identify each room)
In an ideal smart world I can go through the rooms with a beacon in my pocket and only lights in the coresponding room will turn on ;)
Too much?

Ответить
@qzorn4440
@qzorn4440 - 06.11.2021 01:46

i have wireshark and know very little about it... with all the bluetooth devices does wireshark have an auto detect app function..? also will it work with modicon modbus? thanks.

Ответить
@WagonLoads
@WagonLoads - 11.12.2021 09:23

Can you get the esp32 Bluetooth to detect and or link to a Tile Keyfob tracking device or the app that tracks it?

Ответить
@sudhagarp7237
@sudhagarp7237 - 25.03.2022 05:34

How to send integer data from ble esp32 to phone using uuid can you please send the code to me

Ответить
@RobinHagg
@RobinHagg - 17.07.2022 17:05

Could I use this to count people passing a location. But i have to estimate since not all phones would replay right?

Ответить
@scanner_956
@scanner_956 - 13.11.2022 12:20

Can it detect oui?

Ответить
@mol2626
@mol2626 - 04.01.2023 04:43

Thank, this gets me closre to a goal i have, id like to remind myself to not eat to much every time i enter the kitchen, but also id like to not spam me forever, do you have any idea on the range that the notification is sent?

Ответить
@kirillberezin8859
@kirillberezin8859 - 07.02.2023 18:57

Huge delay. You should send info over zigbee instead of reconnecting to wifi. C6 can do it

Ответить
@tommyboi0
@tommyboi0 - 26.05.2023 16:46

This is from 2017, Have you addressed this problem since this video was posted?

Ответить
@Ramdaron
@Ramdaron - 30.06.2023 09:14

Hello Andreas and thanks for your video!
Have you tested iBeacon with NRF51822 or NRF52810? Aliexpress has several options for tags on this chip. In theory, this should give a good result.
This question is especially relevant now for HomeAssistant users who want to set up automations when they change location - "ibeacon" integration was added not so long ago.
I found information about testing Chipolo One, but they did not achieve success there.
For me personally, work through the EspHome Bluetooth Proxy is of particular interest

Ответить
@ilyapolyanskiy9335
@ilyapolyanskiy9335 - 09.12.2023 01:20

IED bumala bumala

Ответить
@pierrejeanes
@pierrejeanes - 10.12.2023 03:14

And aaa what if I don't use smart watch?

Ответить
@RajveerSingh-vf7pr
@RajveerSingh-vf7pr - 02.02.2024 16:02

Now its time for a mmwave presence sensor :)

Ответить
@RajveerSingh-vf7pr
@RajveerSingh-vf7pr - 12.02.2024 06:03

Is it possible to use ble for precision tracking like air tags?
Do you have a video on uwb?

Ответить
@____________________________.x
@____________________________.x - 10.07.2024 15:10

Combining PIR and microwave into one sensor detector might be an easier solution? That’s how home security systems work

Ответить
@____________________________.x
@____________________________.x - 10.07.2024 15:11

Thanks for the NodeRed info, I hadn’t heard of it before

Ответить
@C4ndyD4rling
@C4ndyD4rling - 01.11.2024 22:01

Cab BT radio estimate arrival signal direction? If one detector in both end of flat if it's not excluded downstairs neighbors, my child or me between those two radio, it's robber or police, which are pretty much equally bad so it's better trigger to send sms and start cameras recording..

Ответить