ESP32 BLE Receiving data from your phone over Bluetooth low energy

Sdílet
Vložit
  • čas přidán 26. 08. 2024
  • ESP32 Bluetooth Low Energy - BLE tutorial with the sparkfun esp32 thing, receiving data from your phone.
    All my code will be available on my Patreon page:
    / 21699483
    www.patreon.com/asali
    Links:
    Sparkfun ESP32 thing
    Affiliate link: amzn.to/2SyQjsm
    Normal link: goo.gl/abAiDf
    Normal ESP32 (cheaper)
    Affiliate link: amzn.to/2GTCHGS
    Normal link: goo.gl/aNXDqi
    In the end it doesn't really matter which ESP32 you are using as long as you change the "board" choice in the Arduino IDE to the correct board.
    Arduino Uno Starter Kit (original version)
    Affiliate link: amzn.to/2H4femD
    Normal link: goo.gl/v4NFAU
    Arduino Uno Starter Kit (cheap version)
    Affiliate link: amzn.to/2R2a6Uu
    Normal link: goo.gl/Z3Ekup
    Arduino Uno
    Affiliate link: amzn.to/2R47IwA
    Normal link: goo.gl/mdSGRH
    Credits:
    Music:
    Classique - Francis Preve
    Video inspiration:
    www.hackster.i...
    Thumbnail & video icon's:
    ESP32 (created by myself)
    Licensed by creativecommons...
    Phone icon by www.freepik.com
    Arrow icon by www.flaticon.c...
    Bluetooth icon by www.flaticon.c...

Komentáře • 26

  • @robertlongoria765
    @robertlongoria765 Před 5 lety +2

    Excellent series. Thank you, hope to see more.

    • @asali-channel
      @asali-channel  Před 5 lety

      Thank you very much! More will come in the future

  • @cyborgplay
    @cyborgplay Před 5 lety +2

    thanks, will help in my project. great video!

    • @asali-channel
      @asali-channel  Před 5 lety

      You're welcome, goodluck with your project and thanks! :)

  • @mohannadrababah757
    @mohannadrababah757 Před měsícem

    Hi mate ... thank you so much it worked so well for me appreciate that ❤❤ I want to only receive from the phone not to send from the esp32 ... so I want to reduce the load on the esp by getting rid of the sending procedure ... so what should I remove from the previous video without making any trouble .. thank you again

  • @WistrelChianti
    @WistrelChianti Před 4 lety +4

    Is it me... or do you overwrite your TX characteristic with your RX characteristic...? (it might be me)

  • @matthewcasavecchia
    @matthewcasavecchia Před 2 lety +5

    putting this behind a paywall is hella sus dude. FYI he didnt show the bottom where you need to start "BLEAdvertising"

  • @jurgenkriebs9405
    @jurgenkriebs9405 Před 5 lety

    It is so good to folow you and your style is very engaging and also very well made maby your intro is a bit to long but other than that it is very very well made

    • @asali-channel
      @asali-channel  Před 5 lety

      Thanks for your comment! I've been working on the intro too, don't know what to do with it yet but I'll probably change it in the future!

    • @jurgenkriebs9405
      @jurgenkriebs9405 Před 5 lety

      I have a further question if it is possible to use the data that was received outside that loop you created to deal with the date?

    • @asali-channel
      @asali-channel  Před 5 lety

      @@jurgenkriebs9405 I am not sure if this is possible, I think you will have to try this out for yourself, HOWEVER if you were to create an application in let's say C# you could send in data AND a date aswell, it would be like adding "12-12-2019" to the same string and you could catch this in Arduino and split these values up and do something with it.
      Also if you are interested, I will be uploading a new video by Friday where I will be covering DEEP SLEEP which could be very interesting if you are planning on running your ESP32 on a battery! Deep sleep will enable your ESP32 to consume less battery when it's not reading out data from your heart rate sensor. In my case it lowered the mAh from 40 to 1 which is a huge difference.

  • @OutOfNameIdeas2
    @OutOfNameIdeas2 Před 2 měsíci

    this just dosnt work anymore.
    the tx part works. but not rx.
    esp32 and a samsung s10.

  • @0805bryan
    @0805bryan Před 5 lety +1

    I want use esp32 to send data but How to send more than 20 bytes in each connection

    • @asali-channel
      @asali-channel  Před 5 lety +1

      If you want to send out more data or in a more continuous stream then you should look into normal Bluetooth connection, I presume BLE uses a different method for this.

  • @shuvidola5164
    @shuvidola5164 Před 4 lety

    Thanks this is just the video I was looking for but I have run into the error "'class BLEService' has no member named 'createService'"

  • @remnrom15
    @remnrom15 Před rokem

    How to receive multiple data and separate them

  • @rickbran7541
    @rickbran7541 Před 3 lety

    I recently buy new esp32 via online shop, but my phone does not detect its bluetooth but wifi connectivity is ok i keep pressing "en" button but i still nothing...how can i enable its bluetooth capability?

  • @purplegirl6103
    @purplegirl6103 Před 2 lety

    Hi, I have a color sensor with DEC value …how to send it

  • @shanehayden7765
    @shanehayden7765 Před 2 lety

    how do you define the service and characteristics of the phone ?

  • @shashih9130
    @shashih9130 Před 4 lety

    can we send whole txt file via bluetooth in esp 32?

    • @asali-channel
      @asali-channel  Před 4 lety +2

      Yes but probably not as a txt file, if you can't find a way to send the txt file then try to convert your contents of the txt file to a string and send this? Also check if there is a limit of data that can be send over bluetooth in one go, not sure if there is a limit tho

  • @horimiyarawstyle
    @horimiyarawstyle Před rokem

    code is not freeee

  • @pauldusa
    @pauldusa Před rokem

    Very low sound