Bluetooth Proximity Detection | FireBeetle ESP32

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2024
  • In this video I demonstrate how to detect the proximity of a Bluetooth Low Energy device (such as a Puck.js) using an ESP32 board (a FireBeetle ESP32) and only a tiny amount of code on the Arduino platform.
    Code: gist.github.com/wybiral/2a96c...
    Installing the ESP32 libraries for Arduino: github.com/espressif/arduino-...
    Learn more about the FireBeetle ESP32: www.dfrobot.com/product-1590....
    Learn more about Puck.js: www.espruino.com/Puck.js
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @icefire5555
    @icefire5555 4 ปีที่แล้ว +2

    Wonderful video! I was looking into finding a distance sensor for a Lasertag project and I'm glad to see it's possible with this. I wanted to have a Seach and destroy gamemode where a refuser has to be planted near the bombsite.

  • @JimmyClarke1
    @JimmyClarke1 4 ปีที่แล้ว +7

    Love how you walk through the code. Makes it really easy to understand.

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

      Nice Video! Apologies for the intrusion, I would appreciate your initial thoughts. Have you researched - Norajon Proximity Packthread (google it)? It is a smashing one of a kind guide for getting money with paid traffic without the hard work. Ive heard some pretty good things about it and my old buddy Taylor got excellent success with it.

    • @DonDon-kn9lg
      @DonDon-kn9lg 3 ปีที่แล้ว

      Great Video! Excuse me for chiming in, I would appreciate your initial thoughts. Have you heard the talk about - Norajon Proximity Packthread (should be on google have a look)? It is an awesome one off guide for getting money with paid traffic minus the hard work. Ive heard some super things about it and my good mate called Gray after a lifetime of fighting got amazing success with it.

  • @arnierosen7743
    @arnierosen7743 ปีที่แล้ว

    I suppose that is basically how a car ignition switch works when you press the button. You have to use the automatic key fob to actuate the switch when you get into the car. Otherwise just pushing the start button doesnt work. Also door locks etc. Great work.

  • @MeribRS
    @MeribRS 4 ปีที่แล้ว +1

    Thanks for this amazing video!

  • @EliasHall
    @EliasHall 5 ปีที่แล้ว +11

    This is very intriguing, I want to try to use this for access control on a dog door. I've ordered my ESP32 along with a BLE tag. Thanks for the example and excellent video.

    • @brucefarley7495
      @brucefarley7495 5 ปีที่แล้ว +1

      Elias, I'm looking to do the same thing. How did that work out?

    • @EliasHall
      @EliasHall 5 ปีที่แล้ว +1

      @@brucefarley7495 I was able to code something that works quite effectively. I'll see if I can publish it for anyone that's interested.

    • @wonderwoman8219
      @wonderwoman8219 5 ปีที่แล้ว

      @@EliasHall I'm interested in your code too, were you able to publish it?

    • @Phi349
      @Phi349 5 ปีที่แล้ว

      @@EliasHall I am doing the same thing! Would love to see your code too.

    • @EliasHall
      @EliasHall 5 ปีที่แล้ว

      Here is my code. gist.github.com/Azimuth0r/ef2a3d1f12eb5a8fa28d9e2ae671cdc8

  • @colleendemaris1211
    @colleendemaris1211 5 ปีที่แล้ว +4

    This is awesome! I have a couple questions, because I'm looking to create something similar to this set up. Can it detect bluetooth devices that are not BLE, and are instead classic bluetooth? And (I'm new at learning this) does the code force the device to pair to the bluetooth device in order to get the RSSI, or can it just grab the RSSI without connecting? Thanks so much!

  • @judojorge
    @judojorge 3 ปีที่แล้ว +1

    Great video! Do you know if this can be done using LoRa? I'm working on a project that requires detection over long distances and LoRa could really help in that regard. Unfortunately I'm a bit of a beginner when it comes to MCUs, the Arduino IDE, and electronics in general. I know the theory behind it as I've taken physics and an electromechanical systems class but I don't have a lot of hands on experience with this stuff.
    I'd imagine the code on one of the receivers would looks something like this:
    get the RSSI of the LoRa transmitter
    if RSSI < -XXdBm (whatever the value comes out to be for about .4km)
    then turn on LED
    else turn off LED
    any help would be greatly appreciated!

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

    Great video...!
    I would like to ask weather can we use one more esp32 instead of the BLE Beacon shown in the video, where in both the esp32 comes in range the led must turn on. Can this be done?
    Help me out in doing this please.

  • @NarciGH
    @NarciGH 3 ปีที่แล้ว +1

    Thanks for sharing this video. I'm going to do a project that detects the distance between two devices(Not a cell phone), and then sends that distance to the database for storage. I need guidance.

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

    Thanks for the video!! Is there a way that you know of to program a Bluetooth tag similar to RFID?

  • @rodmanunderhilliii8198
    @rodmanunderhilliii8198 ปีที่แล้ว

    Hello, I liked this video a lot. I was wondering if the detector, could see the direction the beacon is transmitting from? If not, I assume it is because it uses an omni directional antenna. Is there a directional antenna that I could replace the omni one with? I was thinking about the possibility of using this between two autonomous (RC type) toy cars, with the FireBeetle.

  • @coreyevans9543
    @coreyevans9543 4 หลายเดือนก่อน

    Some very useful information.
    Have you covered or know of any videos that cover something similar in regards to proximity?
    For example, a user with a smart phone or tablet that is connected to the ESP32 device via BLE, and the phone or tablet informs them if they're further or closer away from the ESP32 so that when walking around it'll let them know until they find it.

  • @lelandgreen117
    @lelandgreen117 3 ปีที่แล้ว +4

    Would this be able to do distances of 3 or 6 feet?

  • @sosodave4192
    @sosodave4192 2 ปีที่แล้ว

    Hey Davy,
    I just came across your video as an accidental suggestion from youtube.
    I am trying to find some sort of a Bluetooth tracker that acts as an out-of-proximity two-way alert system.
    basically, I need some sort of a tracker system, ideally Bluetooth, where I can put the puck in my backpack or purse and connect it to my cell phone.
    if the two items get more than about 60 ft apart from each other, then I would like both of them to start giving off a low audible warning, and even a vibration warning on the phone since it already has that built-in ability.
    over the course of about 15 or 20 seconds, I would like the alert on both items to get progressively louder.
    this differs from most Bluetooth trackers and key finders and other things in that I wanted to be fully automatic rather than having to press a button to find my lost keys.
    this way, if I leave my backpack in the restaurant, it will alert me after I walked out the door and gotten maybe 50 or 60 ft away so I can immediately go back and retrieve my bag. the problem with having to press a button to find my lost item is that I might not realize that I left my backpack in the restaurant until I am all the way home.
    the other half of the issue is that I may pick up my backpack, but inadvertently leave my phone at the table.
    so the puck that lives in the backpack would also have to be able to alert me that I've left my phone, since I don't have my phone to tell me that I have left my pack.
    there are already some products on the market, such as tile, that can do this, the problem is that they require you to send your geolocation through your phone back to their servers on a full-time basis.
    I will guess that they are doing so so that they can track what stores you go into and things of that nature and thus Target you with advertising, but I would much prefer a system that I can control myself that does not require me to login to anyone's server or give away my information.
    I understand that in the process, I am giving up the nifty feature of having worldwide tracking along with everyone else on their network, but I'm willing to do so since all I really need is this relatively short range proximity sensor.
    if this fire beetle can be made to run on batteries, and the Bluetooth range extended out to about 50 ft, then it seems like this might be the ticket, assuming that I can make it interact with an Android app.
    I am brand new to all things Arduino, so I am basically just throwing some ideas out that I hope are possible.
    thank you for any advice or insight you may be able to offer.

  • @tendurrr
    @tendurrr 2 หลายเดือนก่อน

    thanks for the idea! one question, does the headers used in this project work with esp32 that is not fire beetle?

  • @nursomethingas8516
    @nursomethingas8516 5 ปีที่แล้ว +4

    This is a really helpful video tutorial and solved development problems that I had for months . I just have one question which is how would I change the existing code to be able to print the distance of the beacon from the sensor ? Thanks in advance to anyone answering right or wrong .

    • @Alexandallyfishing
      @Alexandallyfishing 2 ปีที่แล้ว

      Did you figure this out?

    • @nursomethingas8516
      @nursomethingas8516 ปีที่แล้ว

      @@Alexandallyfishing Sorry saw the comment just now, yes but the code etc is being stored in my previous workplace so I do not have access to it.

  • @rabbippfx
    @rabbippfx ปีที่แล้ว +2

    is it possible to make this for specific device? I want to turn on the LED when only the specific device is nearby.....not all device! please help.......

  • @nisargpatel6574
    @nisargpatel6574 ปีที่แล้ว

    Great video! Can we do the same thing inside an ios or android app instead of using arduino?

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

    Hi,
    Is it possible to make the node scan and advertise at the same time, or scan and advertise in round robin? Basically I want them to detect each other.
    How to identify a node. I understand UUID cant be used because its application or service specific. Is there a unique identifier for every BLE chip that can be accessed inside the program as a part of scan result?
    Thanks in advance.

  • @dwurm5688
    @dwurm5688 ปีที่แล้ว

    Do you upload the sketch to the Arduino or the ESP32 module?

  • @joshuavaughan9288
    @joshuavaughan9288 2 ปีที่แล้ว

    Could you connect that circuit board to your phone such that as your phone moved in and out of range of 1-2m the light turns on or off

  • @Spitfireman01
    @Spitfireman01 5 ปีที่แล้ว +7

    Hi Guys, this is a very interesting video and I now have my Firebeetle up and running detecting all Bluetooth devices. As a newbie could someone advise as to how I could modify the code so it is looking for a particular BLE UUID or Local Name. Thanks Peter

    • @FirstLast-xn3zv
      @FirstLast-xn3zv 2 ปีที่แล้ว

      You can compare the mac address in the device object

  • @selekelektronik1059
    @selekelektronik1059 4 ปีที่แล้ว +5

    Hi Davy, thank you for your beneficial video. What can the maximum distance between esp32 and beacon? For example 20-30 meters? best regards

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

    Hi good evening. can we measure the signal distance? in arduino using any wireless module? please replay thank you

  • @legendswordch6220
    @legendswordch6220 3 ปีที่แล้ว +1

    Nice

  • @keithmycek2768
    @keithmycek2768 4 ปีที่แล้ว +4

    Davy - thanks for the video. I purchased a FireBeetle a while back and tried out your demo. I had originally though that I could do some room level presence detection - and I still might explore that option further. However now, my idea is to implement more of a "non invasive" authorization mechanism whereas someone could use their phone to identify themselves. I tried all night last night to modify you code to spit out some sort of UUID (BLEUUID?) from my iPhone or Apple Watch - to no avail. Would you know how to do that, at all?

    • @aneikei
      @aneikei ปีที่แล้ว

      Hi, did you ever get this to work?

    • @keithmycek2768
      @keithmycek2768 ปีที่แล้ว +3

      @@aneikei Yes, and no. I abandoned the original solution in favor of a custom ESPHome config that I loaded on an ESP32. It can detect my Apple Watch and can keep lights on if it detects my unlocked watch within a certain range in the particular room.

    • @nspnutritionsportsperforma6804
      @nspnutritionsportsperforma6804 ปีที่แล้ว

      @@keithmycek2768 lol I think this comment brought this video up for me. What was the custom one used

  • @sampeukert4219
    @sampeukert4219 5 ปีที่แล้ว

    Hello I am doing a project for getting the rssi between two HC05 bluetooth modules I am struggling with pairing the devices and getting the rssi? any thoughts??

  • @rukeshkoju1534
    @rukeshkoju1534 5 ปีที่แล้ว +2

    very interesting Davy. I have a question how can we use for the specific Bluetooth device. Can we turn on the WiFi instead of making the led glow. Thank you.

    • @DavyBot
      @DavyBot  5 ปีที่แล้ว +2

      Absolutely, you'd just need to change the Arduino code a bit.

    • @davesmith699
      @davesmith699 2 ปีที่แล้ว

      @@DavyBot Gday Davy, could you give me an example. Please.

  • @ThuanDuong-pv3xu
    @ThuanDuong-pv3xu 5 ปีที่แล้ว

    @DavyBot Thank a lot !, can you write the code of case that scan address of beacon (true) , LED high else LED low ?

  • @RensDuijsens
    @RensDuijsens 2 ปีที่แล้ว

    I have a 2014 Dodge Charger with Keyless entry. It has however no automatisch locking. Instead, there is a bottom on the door handle that locks the door when pushed. I want to use this BT-detection to see if my phone (or any other device) leaves the car. If so, I will lock the car by stimulating the door button press.
    Thanks for this example, but I must confess that I can not yet get it to work right.
    The blue LED just blinks in a 1 second interval.

  • @pwfraley
    @pwfraley ปีที่แล้ว

    Which Bluetooth Library did you use? I keep getting errors about the includes ... I know this video is old, but I could not find a solution on google ...

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

    Thanks

  • @Alex-vu5uu
    @Alex-vu5uu 4 ปีที่แล้ว

    How can I add another PIN in the code? for example if I want to make the device led light turn on and vibrating at the same time?

  • @stattonracer
    @stattonracer ปีที่แล้ว

    What’s the Bluetooth range pickup on this? Can it pick Bluetooth class 1? 300feet?

  • @scorpionkingzylen5090
    @scorpionkingzylen5090 ปีที่แล้ว

    great video, i need help, iam using ble proximity in esp 32 to trigger my light bulb in my living room the problem is my living room is little big so when im in corner of the room esp does not catch the ble signal from my smart watch so im thinking of using another esp32 module to create mesh network to extend signal to cover every corner inside my room. thank you.

  • @Antz_411
    @Antz_411 4 ปีที่แล้ว +3

    Have you managed to look into what the maximum sensor range is?
    I'm looking for an omnidirectional proximity trigger range of approximately 10m.
    Bluetooth seems to be the most viable solution thus far.
    Anybody got a better idea?

    • @MrMoxy76
      @MrMoxy76 2 ปีที่แล้ว

      Hi. Did BLE work for your project?

  • @DJcoasttt
    @DJcoasttt 4 ปีที่แล้ว +5

    Hi, could you explain how to make this work for multiple specific Bluetooth Beacons to be used for triangulation? (2d)

    • @PlayStore-jk8bf
      @PlayStore-jk8bf 4 ปีที่แล้ว

      Hi, Did you find a way how you do it !!

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

      I’d be interested to know too

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

    I want an Arduino controlled car to track a particular Bluetooth device(say my smartphone) and follow it within a certain range. How do I find the distance and orientation of the device using esp32? I m new to these works and I found your video very helpful.

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

      I mean can I find both the distance and angle of the device wrt the car's position using esp32?

  • @NikolaosPap
    @NikolaosPap 2 ปีที่แล้ว

    Nice idea but please add motiror scanning and unique mac to controll the proximity not best...please

  • @brenpike8152
    @brenpike8152 2 ปีที่แล้ว +2

    Hi Davy. Is it possible to have the ESP32 detect only specified Bluetooth devices such as an iPhone? For example, I would like to use the ESP32 BLE to open my front door lock, but only for devices (iPhones) that I specify.

    • @aneikei
      @aneikei ปีที่แล้ว

      Hi, did you ever get this to work?

  • @laylabekef
    @laylabekef 5 ปีที่แล้ว +2

    Hey Davy nice video! thanks , i have a q , can i tell the Ardunio to turn on the blue led only when the Ble is in X distance ... meaning ... can i set up the max or min distance between the Ble and the Ardunio by a code? thanksss

    • @DavyBot
      @DavyBot  5 ปีที่แล้ว

      You can, by changing this line:
      digitalWrite(PIN, best > CUTOFF ? HIGH : LOW);
      To something like this:
      digitalWrite(PIN, (best > MIN && best < MAX) ? HIGH : LOW);
      Where MIN and MAX are the range you've defined.

    • @laylabekef
      @laylabekef 5 ปีที่แล้ว

      @@DavyBot thanks a lot!

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

    Is there a way to do this using another FireBeetle ESP32 module as a receiver instead of other bluetooth devices?

  • @quentinjames981
    @quentinjames981 3 ปีที่แล้ว +1

    Would a range of 2 meters be achievable using this method?

  • @chaoshero223
    @chaoshero223 5 ปีที่แล้ว +2

    Hi, i have a problem is that scan frequency is 1hz ?
    i need more scan speed for my project so how to increase scan frequency?

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

      Maybe your scan speed is limited for the processor speed of your board. Do you can check the speed of your board?

  • @clyriss1115
    @clyriss1115 2 ปีที่แล้ว

    Do I can use other bluetooth module to have the RSSI?

  • @soosgabor100
    @soosgabor100 5 ปีที่แล้ว +11

    Please add Mac filtering to the code. And my BLA device sending 1 sec on 1 sec off signal so ESP-32 pin or led not constant... is it possible to add delay to stay longer on util the new signal is arrive? Thanks I want to use this as door entrance

    • @juliennhandy2643
      @juliennhandy2643 2 ปีที่แล้ว

      Did u ever get this to work for door entry?

  • @painrelieverstech
    @painrelieverstech ปีที่แล้ว

    Can we use something similar as a anti theft device? Can we control the alarm distance?

  • @1206Vince
    @1206Vince 5 ปีที่แล้ว +1

    Is it possible to get the RSSI of a connected device like a smartphone. I can connect my phone with the ESP32 with UART but i cant manage to get the RSSI

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

      Did you figure it out? Is it possible to use phone bluetooth or it must be a BLE tag?

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

    Can this work with something else on an Arduino uno and like a bluetooth receiver

  • @devrajput2439
    @devrajput2439 2 ปีที่แล้ว

    Using this we can make keyless entry system for car ,bike , automatic home door unlock, auto open garage
    Can you tell me how to make BLE key fob at home which can run on coin cell?

  • @galihtanu
    @galihtanu 2 ปีที่แล้ว

    Can it use for deciding position of your esp?
    Let say you have 3 or more ibeacon. Then you use triangulation your esp. From 3 or more ibeacon.
    Example:
    If ibeacon placed in as triangle with same distance eachother.
    And esp measure strength of signal of ibeacon 1, 2 and 3.
    If signal strength relatively equal. So you on centerpoint of triangle.

    • @rifinize
      @rifinize ปีที่แล้ว

      This is how our GPS system works

  • @theUsesOFnot
    @theUsesOFnot 4 ปีที่แล้ว +1

    How to detect Bluetooth devices that are not BLE (ie. classic). Can I do that with an ESP-32 Dev board?

    • @koller18
      @koller18 2 ปีที่แล้ว

      You are very beautiful 😵

  • @juliennhandy2643
    @juliennhandy2643 2 ปีที่แล้ว

    Can this board some how be used to activate say a 6v motor?

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

    How do you change the distance and allow for only one Bluetooth device to trip it

  • @paperwelder
    @paperwelder 4 ปีที่แล้ว +1

    Have a question looking to make a tracking toy for my son. Where I wear a device and he can track me like a ghostbusters meter but not using a phone. Can that be done?

    • @DavyBot
      @DavyBot  4 ปีที่แล้ว +1

      Absolutely! If you connected a few LEDs to use as a proximity meter (or some other kind of display) you could have different signal strength (RSSI value) ranges change the LEDs accordingly. Or use a small piezo speaker or something to beep at a speed relative to the signal strength so it beeps really fast the closer they get. That's a great project idea!

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

      Davy Wybiral well the idea is to remake this 80s toy th-cam.com/video/a_U724jTPWI/w-d-xo.html

  • @Brandon_Wlson
    @Brandon_Wlson 11 หลายเดือนก่อน

    can this same idea work with a cell phone?

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

    Can we use another bluetooth for proximity

  • @Mr.ewheel
    @Mr.ewheel 3 ปีที่แล้ว

    My question is - How to connect this to door lock relay in my car and setup with my phone bluetooth? Thanks to this idea I would put to my old car the best feature form new cars, keyless access.

    • @nideeshvv327
      @nideeshvv327 2 ปีที่แล้ว

      Yes, I’m thinking too.
      My plan is to get new fob key and the Bluetooth strength trigger the switch of the Key.

  • @RajveerSingh-vf7pr
    @RajveerSingh-vf7pr 2 หลายเดือนก่อน

    Any way to make stuff like air tag from this? 😊

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

    Hi , i m getting this error "BLEAdvertisedDevice.h: No such file or directory" , can i get help .

  • @YoutubeUser01
    @YoutubeUser01 2 ปีที่แล้ว

    Can I use a smartphone's Bluetooth instead of Puck.js?

  • @DanaGould0
    @DanaGould0 5 ปีที่แล้ว

    Isn't it redundant to keep creating the scan object and setting active scan to true in the loop?
    I would think that could be moved to setup and make the scan pointer a global.
    Obviously your way works.

    • @DavyBot
      @DavyBot  5 ปีที่แล้ว +1

      If you look at the source code for the library (in BLEDevice.cpp) all the getScan method does is return a pointer to the private scan object. So it's not actually creating it each loop. And pointer assignment is cheap.
      As for setting it active, that method is just a wrapper for a property assignment (BLEScan.cpp), which is also very cheap. But you're right, that part is technically redundant. My tests with passive scans afterwards seemed to have similar performance too so it might not even be necessary.

    • @DanaGould0
      @DanaGould0 5 ปีที่แล้ว +1

      Good points. Thanks!

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

    What was the white circle plastic?

  • @rioaditiyono8442
    @rioaditiyono8442 4 ปีที่แล้ว +1

    Can I use it as Passive Keyless Entry so my bike will autostart it's engine when I'm about 1 meter from it, and trun off engine and engage the alarm when I'm out off 1 meter radius?

    • @Dubriske
      @Dubriske 4 ปีที่แล้ว +1

      I'm looking to do something similar as ^ if anyone has any suggestions

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

      @@Dubriske still can't find any clear info about it. Was gonna use RFID but it's too short.

    • @maheen-
      @maheen- 2 หลายเดือนก่อน

      I came here for the same, still searching.

  • @edwinbilson2293
    @edwinbilson2293 2 ปีที่แล้ว

    Why is it that at a close proximity some Bluetooth devices cannot share files even though they are connected

  • @hadjisamir6727
    @hadjisamir6727 5 ปีที่แล้ว

    I want to do this with arduino Uno and CC2541 but not succeeded yet cause I have not found a library

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

    can the other Bluetooth device be an esp 32 and if so would both of the esp 32s be able to detect the proximity of the other esp 32s?

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

      Yes. You just need to take the signal strength (RSSI) and calculate the distance between the two in the same way that he did in the video

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

    Can I do this with a HC-05 module?

  • @ellpancha
    @ellpancha 5 ปีที่แล้ว +1

    Very nice project, can you identify the beacon using the UUID instead the mac address, in my case my phone uses a random mac, so can't use the mac to authenticate the user

    • @DavyBot
      @DavyBot  5 ปีที่แล้ว +1

      Thanks! It looks like the getServiceUUID() method of BLEAdvertisedDevice will return a BLEUUID. Then that BLEUUID object has a toString() method to get a string representation of the UUID.

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

      @@DavyBot Is there a similar function call to get the NAME or MAC ID of a scanned BLE device?

  • @yukizerotwo6815
    @yukizerotwo6815 ปีที่แล้ว

    How to print the rssi????

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

    Can I use VR controller instead of pucks.js ??

  • @sssedo1573
    @sssedo1573 2 ปีที่แล้ว

    How could I change up to different devices, could you make a new video?

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

    can arduino be used instead of firebeetle?

  • @devrajput2439
    @devrajput2439 2 ปีที่แล้ว +2

    Can you make it for specific bluetooth address instead of all?

    • @rabbippfx
      @rabbippfx 2 ปีที่แล้ว +1

      Also interested on it !

  • @ericsheffield3549
    @ericsheffield3549 4 ปีที่แล้ว +2

    I will use it to open my gate when i pull my car up to it...and power up lights and send data to the house control board..and more

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

      It worked? How did you synchronize the microcontroller with a specific beacon? That's where I'm confused

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

      you can create a bool variable that saves the state of the gate. If the gate is open, the lights will also open. This is a basic example, you can do something more powerful

  • @jpaulexo
    @jpaulexo 5 ปีที่แล้ว +2

    What is the range? (Meters, foots)

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

      the range is just the strength of the bluetooth signal

  • @Alex-vu5uu
    @Alex-vu5uu 4 ปีที่แล้ว

    how can I remove the delay?

  • @lindenmeyer11
    @lindenmeyer11 5 ปีที่แล้ว +1

    Can it sense from say 3 meters (10 feet) away?

    • @DavyBot
      @DavyBot  5 ปีที่แล้ว +1

      Absolutely. It senses from the range of Bluetooth Low Energy support on the devices and 3 meters is comfortably within that range. (One thing to note is that obstructions like walls can reduce this range)

  • @spammie1234
    @spammie1234 4 ปีที่แล้ว +1

    Could this be used for social distancing warning?

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

      Yes. By calculating the RSSI (which is the signal strength of the blueooth) you can know how close one person is to another.

  • @CaliforniaJoe420
    @CaliforniaJoe420 ปีที่แล้ว

    I know this is an old video but I was hoping you might by chance help me, I am trying to figure out how to alter the code to link to a known BLE device. I apologize if you have already answered or made a video on this, if you have could you point me to it kindly. Thanks again for the informative video, so far I have it working but would like it to discriminate BLE devices to only act when the correct BLE address is in range.

    • @aneikei
      @aneikei ปีที่แล้ว

      Hi, was there ever a response to this?

    • @CaliforniaJoe420
      @CaliforniaJoe420 ปีที่แล้ว

      @@aneikei unfortunately no, I needed it for a Pet Feeder design I was doing for my Senior Project. I ended up using this th-cam.com/video/yLfM6KCK9Ng/w-d-xo.html , I will say if you choose to use this method I needed to change my ESP 32 board to version 1.0.2 the newest firmware seemed to change something that conflicted with his code. I did end up successfully completing my project and am hosting a Q&A on it this Friday for my Senior Project Board as well as various electronic companies in the area.

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

    just i need of esp32?

  • @zakifahmidwiputra8773
    @zakifahmidwiputra8773 5 ปีที่แล้ว +8

    hey can u make a video to only detect specific address if u do i appreciate it

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

      yes please! I want to make a beacon positioning system!

    • @quantumdirect
      @quantumdirect 4 ปีที่แล้ว +5

      At 2:16, he addresses that. In 'BLEDevice: :init("");' you would put the unique name of the Bluetooth device inside the quotation marks.

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

      @@quantumdirect Could I put some bluetooth names? I understand is the bluetooth MAC or something like that?

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

      @@paytufo Got me, player. I was just paying attention to the video. MAC address sounds like a good start.

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

      @@quantumdirect I know he put the device name, but I think using the MAC or even UUID from the bluetooth you can avoid duplicate names.

  • @luisavila8421
    @luisavila8421 5 ปีที่แล้ว

    I really want one of this to unlock my car when I very closer to it

    • @OmkarNisal
      @OmkarNisal 5 ปีที่แล้ว

      You need to have much much more secure system if you want to keep your car safe.

    • @OmkarNisal
      @OmkarNisal 5 ปีที่แล้ว

      Check this out to know why I think it is not safe
      th-cam.com/video/u5SmWtHm9_E/w-d-xo.html

  • @chaoshero223
    @chaoshero223 5 ปีที่แล้ว +2

    How to increase scan update rate shorter than 1 second

  • @browaruspierogus2182
    @browaruspierogus2182 5 ปีที่แล้ว

    So it's just reading value of signal strength. I thought it detects a non BT object.

    • @DavyBot
      @DavyBot  5 ปีที่แล้ว

      Correct. If you want to detect any object you could use a laser range finder or ultrasonic range sensor to measure distance. This measure how far away a Bluetooth device is based on its signal strength.

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

    Is there a way to detect how many feet away? Here is a example. Say I'm within Range of 30 feet and Led comes on is there a way i can see how many feet it is into i get to 1 foot away?

    • @isaackay5887
      @isaackay5887 4 ปีที่แล้ว +1

      Lol, are you thinking of what I'm thinking of how to use this

    • @DiyintheGhetto
      @DiyintheGhetto ปีที่แล้ว

      @@isaackay5887 Sorry for the late reply. I'm thinking of something lol

    • @isaackay5887
      @isaackay5887 ปีที่แล้ว +1

      @@DiyintheGhetto Haha no worries. I have no idea of what I was thinking of back then lol

    • @DiyintheGhetto
      @DiyintheGhetto ปีที่แล้ว

      @@isaackay5887 no worries I’m always lost 😂 😆 😝

  • @1abas
    @1abas 9 หลายเดือนก่อน

    Why doesn't it sense the phone's Bluetooth signal

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

    Can we define smart phones as a buletooth device?

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

      Lol, are you thinking of what I'm thinking of how to use this

  • @Euclid58Films
    @Euclid58Films 4 ปีที่แล้ว +1

    How can I contact you via email concerning a project?

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

    Sometimes I forget my pallet jack at customers. Does there exist a bluetooth system which will give me an alarm in the truck when I drive away without the pallet jack in the cargo space? Some chip that I could put on the pallet jack and some signal in the cabin?

  • @soosgabor100
    @soosgabor100 5 ปีที่แล้ว

    Hi can anyone write a code to find a phone bluetooth signal instead bla? And maybe discriminate for only one phone mac address. PLEASE I need that. Many thanks

    • @OmkarNisal
      @OmkarNisal 5 ปีที่แล้ว

      I assume you are trying to validate access using phone mac address .
      How hard / easy is it to emulate (duplicate) Bluetooth MAC address?

    • @OmkarNisal
      @OmkarNisal 5 ปีที่แล้ว

      th-cam.com/video/Pin_q9Z3qpI/w-d-xo.html

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

    I am using the esp32 cam. How can I adapt this to work on that? Also, can i use this to get proximity of any given smartphone?

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

      yes, the esp32 cam works similarly to esp32. Any bluetooth adapter(smartphone, boards, etc) has the rssi which is what you need to calculate proximity between bluetooths

  • @cf9870
    @cf9870 ปีที่แล้ว

    Just sent you an email, Just FYI incase you miss it.

  • @biezom9418
    @biezom9418 2 ปีที่แล้ว

    Too near.....can far more ?

  • @jodokast1205
    @jodokast1205 2 ปีที่แล้ว

    Let’s be clear here, Bluetooth has no ability to really detect proximity it can only detect signal strength.
    Newer devices will have much more powerful output than older devices. So the app has no way to know the difference between an old device that is very close or a newer device that is 20 metres away.

    • @peternierop3241
      @peternierop3241 2 ปีที่แล้ว

      Hence you should ask the device for how strong it thinks it transmitted. In fact, many devices have an output level that can be configured and obviously this info is essential in the calculation of received signal.