ESP32 Bluetooth Classic with Arduino IDE - Getting Started
HTML-код
- Опубликовано: 2 окт 2024
- For complete project details (schematics + source code), visit ► RandomNerdTuto...
Enroll in "Learn ESP32 with Arduino IDE" Course ► RandomNerdTuto...
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/subscrib...
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!
Can I use that for transmitting audio to a bluetooth speaker?
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 RUclips 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.
Very good my friend!
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" ?
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]
The line
SerialBT.begin("ESP32test");
produces an error:
Task watchdog got triggered
The ESP32 refuses to to anything afterwards. What could be wrong?
good,,its working
Can I use this module as a Bluetooth client? I want to scan and pair with an HID device.
Did you find an answer to this question?
Why a simple Bluetooth class 80% program memory full
Thanks for your tutorial, very helpful.
soft RemoteXY in smartfone 👍👍
i want to control ledstrip using bluetooth with my ios smartphone how do i do that
i only see built in examples on arduino IDE, how can i download esp32 devkit v1 examples?
What about a password?
Thank you bro!
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.
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?
bluetooth serial .h library not found
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?
Really nice job ! thanks a lot
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?
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%.
can the classic bluetooth works with ios?
I solved some mistares that I Gad
Hi Rui. This is Kazem. How can I setup another ESP32 Bluetooth classic receiver to communicate with the one you built
@Rui Santos : Can i restrict only 1 device can be connected to esp32
Hello,there's no esp32 Bluetooth signal(ssid) when I scan on my mobile. What is the solution???
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...😊😊
VERY NICE VIDEO GOOD EXPLANATION THANK YOU
Oh my bestofriendo thanks for the tutorial, you are awesome
Its perfect tutorial video!! I have a question sir!
Is it possible to extend bluetooth signal with esp32 from other bluetooth signal?
I wasn't able to find the example in the Arduino web editor
when I do it on my computer I cant select a port in the tools map
Is there a function, like if bluetooth module is connected with phone and if it is not
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?
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!
Great
Hi Rui, can Bluetooth work simultaneously with WiFi on ESP32?
Nope
It does
techiesms video
Rui graças a ti não vou chumbar a Eletrónica Industrial.. amo-te!
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! :(
connection failed: gatt status 133?? help
can classic bluetooth connect to iphones as well?
Smart phone or android wtf
Здравствуйте.
Подскажите пожалуйста, на какой скорости передаются данные через блютуз?
what about the pairing?
Thanks :)
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?
Check the pinout. The pinout are different between ESP32 CAM and ESP32 DEV.
Thanks 👍🏻
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.
good job, thank u
Ótimo vídeo. Vc sabe se é possível proteger com senha a conexão Bluetooth?
Спасибо за старания! Вам успехов! )
Great Video! Thanks for posting!
pls be vegan animals also have lifes Radhe Radhe