ESP32 BLE Receiving data from your phone over Bluetooth low energy

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2018
  • 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.io/botletics/esp...
    Thumbnail & video icon's:
    ESP32 (created by myself)
    Licensed by creativecommons.org/licenses/b...
    Phone icon by www.freepik.com
    Arrow icon by www.flaticon.com/authors/lyolya
    Bluetooth icon by www.flaticon.com/authors/smas...

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

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

    Excellent series. Thank you, hope to see more.

    • @asali-channel
      @asali-channel  5 ปีที่แล้ว

      Thank you very much! More will come in the future

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

    thanks, will help in my project. great video!

    • @asali-channel
      @asali-channel  5 ปีที่แล้ว

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

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

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

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

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

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

    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  5 ปีที่แล้ว

      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 5 ปีที่แล้ว

      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  5 ปีที่แล้ว

      @@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.

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

    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?

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

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

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

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

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

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

    • @asali-channel
      @asali-channel  5 ปีที่แล้ว +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.

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

    How to receive multiple data and separate them

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

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

    • @asali-channel
      @asali-channel  4 ปีที่แล้ว +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

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

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

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

    code is not freeee

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

    Very low sound