ESP32 BLE Receiving data from your phone over Bluetooth low energy
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...
Excellent series. Thank you, hope to see more.
Thank you very much! More will come in the future
thanks, will help in my project. great video!
You're welcome, goodluck with your project and thanks! :)
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
Is it me... or do you overwrite your TX characteristic with your RX characteristic...? (it might be me)
putting this behind a paywall is hella sus dude. FYI he didnt show the bottom where you need to start "BLEAdvertising"
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
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!
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?
@@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.
this just dosnt work anymore.
the tx part works. but not rx.
esp32 and a samsung s10.
I want use esp32 to send data but How to send more than 20 bytes in each connection
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.
Thanks this is just the video I was looking for but I have run into the error "'class BLEService' has no member named 'createService'"
How to receive multiple data and separate them
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?
Hi, I have a color sensor with DEC value …how to send it
how do you define the service and characteristics of the phone ?
can we send whole txt file via bluetooth in esp 32?
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
code is not freeee
Very low sound