ESP32 Bluetooth Classic with Arduino IDE - Getting Started

  Переглядів 162,402

Rui Santos

Rui Santos

5 років тому

For complete project details (schematics + source code), visit ► RandomNerdTutorials.com/esp32...
Enroll in "Learn ESP32 with Arduino IDE" Course ► RandomNerdTutorials.com/learn...
The ESP32 comes with Wi-Fi, Bluetooth Low Energy and Bluetooth Classic. In this tutorial, you'll learn how to use ESP32 Bluetooth Classic with Arduino IDE to exchange data between an ESP32 and an Android smartphone.
We’ll control an ESP32 output, and send sensor readings to an Android smartphone using Bluetooth Classic.
Like my page on Facebook:
/ randomnerdtutorials
Follow me on twitter:
/ ruisantosdotme
Subscribe for more projects like this!
bit.ly/subscribeRNT

КОМЕНТАРІ: 58
@RuiSantosdotme
@RuiSantosdotme 5 років тому
You can find the complete project details including schematics and source code on my blog ► RandomNerdTutorials.com/esp32-bluetooth-classic-arduino-ide/ You might also consider enrolling in my "Learn ESP32 with Arduino IDE" Course: RandomNerdTutorials.com/learn-esp32-with-arduino-ide/ Thanks for watching!
@fredrik8685
@fredrik8685 Рік тому
This was one of the best tutorials I have ever seen. So easy to follow, even if I used it for another thing it was so easy to understand how to do it.
@ChannelGuruMotekar
@ChannelGuruMotekar 2 роки тому
Thanks for your tutorial, very helpful.
@MikaelMengistu
@MikaelMengistu 4 роки тому
Great Video! Thanks for posting!
@Graham1904
@Graham1904 4 роки тому
Brilliant tutorial. I want to use the on board LED that I think is on GPIO2 but cannot get to turn it on or off using the message routine but if I test using digital write ON and OFF only (with a delay) such as BLINK - LED the led works! :(
@GuesstheSongChallenge
@GuesstheSongChallenge 3 місяці тому
This is very helpful. Thanks Does your course cover proximity to the ESP32? For example, if I'm holding my phone and walk closer or further away from the proximity of the ESP32 then it will let me know if I'm further or closer to it.
@amikhimji
@amikhimji 3 роки тому
VERY NICE VIDEO GOOD EXPLANATION THANK YOU
@greenhelix
@greenhelix 2 роки тому
Its perfect tutorial video!! I have a question sir! Is it possible to extend bluetooth signal with esp32 from other bluetooth signal?
@Jm-ls4wo
@Jm-ls4wo 5 місяців тому
Really nice job ! thanks a lot
@angelchim834
@angelchim834 6 місяців тому
Oh my bestofriendo thanks for the tutorial, you are awesome
@Rundik
@Rundik 4 роки тому
Can I use that for transmitting audio to a bluetooth speaker?
@user-gf5er2zx8f
@user-gf5er2zx8f 7 місяців тому
good,,its working
@projetotccnai1935
@projetotccnai1935 2 роки тому
Very good my friend!
@luisgoncalves2897
@luisgoncalves2897 11 місяців тому
Rui graças a ti não vou chumbar a Eletrónica Industrial.. amo-te!
@kumarjha1729
@kumarjha1729 4 роки тому
Nice video. But I want to know how to acquire potentiometer data connected on ESP 32 (pin number 34) using the Laptop bluetooth. [I don't want to use android phone, I need data in laptop using its bluetooth]
@VMFRD
@VMFRD 5 років тому
Ótimo vídeo. Vc sabe se é possível proteger com senha a conexão Bluetooth?
@pyramidgamingtv
@pyramidgamingtv 3 роки тому
good job, thank u
@askiny6576
@askiny6576 4 роки тому
The line SerialBT.begin("ESP32test"); produces an error: Task watchdog got triggered The ESP32 refuses to to anything afterwards. What could be wrong?
@partouelectric2353
@partouelectric2353 Рік тому
Hi Rui. This is Kazem. How can I setup another ESP32 Bluetooth classic receiver to communicate with the one you built
@youtotoube
@youtotoube 4 роки тому
Nice ! One question i have been struggling with : how to make an ESP32 client that initiate a conection with an Android or a PC - i mean, with the ESP32 as client, so that you get an "ESP32 wants to connect" on the PC and click "yes" ?
@thepokergrind
@thepokergrind 4 роки тому
On a android device, it would be easier : receive a notification on your android app with a POST request from the ESP32 to a Firebase notification service.
@SriRam-dv6mb
@SriRam-dv6mb 5 років тому
Hai Rui Santos ....I am from INDIA State-(TAMILNADU) i want to buy ESP8266 ESP32 and Arduino board where can i buy it...i keep seeing in amazon and Flipkart... Reviews are bad and i can't trust that buying...so let me know where can i buy.... Thank You...😊😊
@AsTaR75256
@AsTaR75256 4 роки тому
Спасибо за старания! Вам успехов! )
@alexandr_84
@alexandr_84 2 роки тому
Здравствуйте. Подскажите пожалуйста, на какой скорости передаются данные через блютуз?
@melvin-rh2gr
@melvin-rh2gr 5 днів тому
@Rui Santos : Can i restrict only 1 device can be connected to esp32
@meanamoto3663
@meanamoto3663 4 роки тому
Sir? about the code, i want to do the temperature sensor only without LED. if (SerialBT.available()){ char incomingChar = SerialBT.read(); if (incomingChar != ' '){ message += String(incomingChar); } else{ message = ""; } Serial.write(incomingChar); } // Check received message and control output accordingly if (message =="led_on"){ digitalWrite(ledPin, HIGH); } else if (message =="led_off"){ digitalWrite(ledPin, LOW); } delay(20); if I erased this code for LED?, temperature sensor will still work?
@05arjunagarwal59
@05arjunagarwal59 2 роки тому
Is there a function, like if bluetooth module is connected with phone and if it is not
@michaelkeandremusic
@michaelkeandremusic 3 місяці тому
im using a esp32 duino board i bought off temu works well with wifi but for some reason with bluetooth i keep getting a bunch of random symbols and question marks in the monitor window. any reason why?
@salmamousa3274
@salmamousa3274 3 роки тому
can classic bluetooth connect to iphones as well?
@creativemario3039
@creativemario3039 2 роки тому
Thanks 👍🏻
@marcinbiaecki9731
@marcinbiaecki9731 Рік тому
Thanks :)
@thekiller5739
@thekiller5739 4 роки тому
i want to control ledstrip using bluetooth with my ios smartphone how do i do that
@theUsesOFnot
@theUsesOFnot 4 роки тому
Can I use this module as a Bluetooth client? I want to scan and pair with an HID device.
@JoeTheSpaceGuy
@JoeTheSpaceGuy 2 роки тому
Did you find an answer to this question?
@user-te7qh5pz6u
@user-te7qh5pz6u 3 місяці тому
when I do it on my computer I cant select a port in the tools map
@MikaelMengistu
@MikaelMengistu 4 роки тому
I wasn't able to find the example in the Arduino web editor
@sarojchaudhary9967
@sarojchaudhary9967 3 роки тому
Hello,there's no esp32 Bluetooth signal(ssid) when I scan on my mobile. What is the solution???
@middelbh
@middelbh 5 років тому
Hi! I tried the software on my ESP32-cam. It compiles and runs fine, but does not show up in the bluetooth devices. On another ESP32 (development unit) all is fine and shows up in bluetooth devicez. What could be wrong?
@edm.7555
@edm.7555 4 роки тому
Check the pinout. The pinout are different between ESP32 CAM and ESP32 DEV.
@vtech8716
@vtech8716 4 роки тому
Good tutorial, but ESP32 BT classic can not connect with my APP in MitAPP inventor, in other hand arduino nano with HC-05 works good, where is my error?
@vampireknight1115
@vampireknight1115 3 роки тому
Try to reproduce this issue with a serial bluetooth app from playstore, if that connection fails is your ESP if connect, is your app. Good luck!
@tranminhhaifet
@tranminhhaifet 3 роки тому
can the classic bluetooth works with ios?
@SA-oj3bo
@SA-oj3bo 4 роки тому
Hi Rui, can Bluetooth work simultaneously with WiFi on ESP32?
@saurabhpant
@saurabhpant 4 роки тому
Nope
@05arjunagarwal59
@05arjunagarwal59 2 роки тому
It does
@05arjunagarwal59
@05arjunagarwal59 2 роки тому
techiesms video
@malhardeadshot6118
@malhardeadshot6118 9 місяців тому
I know it's been 4 years since the video, but if any one replies it would be great. I have a question, can we connect and send data from and to the esp32 via Bluetooth without using the bt serial terminal?
@GimmilFactory
@GimmilFactory 4 місяці тому
You can use anything in it's place its just using serial as the communication standar - The fact that the library uses 80% of the system memory is a game breaker for me though as my project is already passed 20%.
@rafam6716
@rafam6716 3 роки тому
Great
@fouzanjaved5441
@fouzanjaved5441 Рік тому
Sir, I am very impressed with your amazing ESP32 Bluetooth Classic with Arduino IDE - Getting Started. Sir, is it possible that I can control Xbox360 robotic arm controlled by 6 DOF with a fantastic RC tank connected using Xbox 360 Arduino controller? Sir, can you teach me how to make a UKposts video on how to make an Xbox360-controlled 6 DOF robotic RC tank using an Xbox360 Arduino controller? Sir, can you also give me a circuit diagram and code for 6 degrees of freedom robotic RC tank using an Xbox360 Arduino controller? Sir, tell me, is it possible or not to build a robotic arm tank controlled by 6 DOF Xbox360? Sir, please tell me the answer to my questions.
@juangassa
@juangassa 3 роки тому
connection failed: gatt status 133?? help
@anokhautomation4453
@anokhautomation4453 3 роки тому
bluetooth serial .h library not found
@zhuk462
@zhuk462 3 роки тому
what about the pairing?
@canoreyesmiguelangelingeni4365
@canoreyesmiguelangelingeni4365 11 місяців тому
I solved some mistares that I Gad
@hellaspower7546
@hellaspower7546 4 роки тому
What about a password?
@tarasmartsiyash1475
@tarasmartsiyash1475 2 роки тому
Smart phone or android wtf
BLE with ESP32 tutorial part 1: the Server
25:23
MoThunderz
Переглядів 67 тис.
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Переглядів 1,5 млн
SMART GADGET FOR COOL PARENTS ☔️
00:30
123 GO! HOUSE
Переглядів 17 млн
Não pode Comprar Tudo 5
00:29
DUDU e CAROL
Переглядів 62 млн
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 500 тис.
ESP32 Bluetooth Classic - ESP32 Beginner's Guide
8:35
Enjoy Mechatronics
Переглядів 45 тис.
Setting up an ESP32 with Arduino IDE
4:03
Synthetic State
Переглядів 197 тис.
Back when the internet was fun. (1999 Apple iBook)
22:46
DankPods
Переглядів 302 тис.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 561 тис.
How does Bluetooth Work?
21:35
Branch Education
Переглядів 8 млн
#173 ESP32 Bluetooth BLE with  Arduino IDE (Tutorial) and Polar H7
15:55
Andreas Spiess
Переглядів 169 тис.
React-Native with Expo and Bluetooth Low Energy for Beginners
20:02
Dan's React Native Lab
Переглядів 35 тис.
NOTHING PHONE 2A - НЕОБЫЧЕН ВО ВСЕМ!
30:39
DimaViper
Переглядів 47 тис.
Самая редкая видеокарта от SONY
13:51
Nitroxsenys
Переглядів 51 тис.
Сомнительно... Ну Окэй... Распаковал Nothing Phone (2a)
16:19
РасПаковка ДваПаковка
Переглядів 51 тис.