ESP32 Bluetooth Classic with Arduino IDE - Getting Started

Поділитися
Вставка
  • Опубліковано 9 тра 2019
  • 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
  • Наука та технологія

КОМЕНТАРІ • 60

  • @RuiSantosdotme
    @RuiSantosdotme  5 років тому +7

    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 Рік тому +2

    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.

  • @MikaelMengistu
    @MikaelMengistu 4 роки тому

    Great Video! Thanks for posting!

  • @ChannelGuruMotekar
    @ChannelGuruMotekar 2 роки тому

    Thanks for your tutorial, very helpful.

  • @Jm-ls4wo
    @Jm-ls4wo 8 місяців тому

    Really nice job ! thanks a lot

  • @projetotccnai1935
    @projetotccnai1935 2 роки тому

    Very good my friend!

  • @amikhimji
    @amikhimji 3 роки тому

    VERY NICE VIDEO GOOD EXPLANATION THANK YOU

  • @angelchim834
    @angelchim834 9 місяців тому

    Oh my bestofriendo thanks for the tutorial, you are awesome

  • @pyramidgamingtv
    @pyramidgamingtv 3 роки тому

    good job, thank u

  • @Graham1904
    @Graham1904 4 роки тому +2

    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! :(

  • @luisgoncalves2897
    @luisgoncalves2897 Рік тому

    Rui graças a ti não vou chumbar a Eletrónica Industrial.. amo-te!

  • @GuesstheSongChallenge
    @GuesstheSongChallenge 6 місяців тому

    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.

  • @AsTaR75256
    @AsTaR75256 4 роки тому

    Спасибо за старания! Вам успехов! )

  • @creativemario3039
    @creativemario3039 3 роки тому

    Thanks 👍🏻

  • @marcinbiaecki9731
    @marcinbiaecki9731 Рік тому

    Thanks :)

  • @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?

  • @user-gf5er2zx8f
    @user-gf5er2zx8f 10 місяців тому

    good,,its working

  • @VMFRD
    @VMFRD 5 років тому

    Ótimo vídeo. Vc sabe se é possível proteger com senha a conexão Bluetooth?

  • @Rundik
    @Rundik 4 роки тому +1

    Can I use that for transmitting audio to a bluetooth speaker?

  • @kumarjha1729
    @kumarjha1729 4 роки тому +1

    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]

  • @askiny6576
    @askiny6576 4 роки тому +1

    The line
    SerialBT.begin("ESP32test");
    produces an error:
    Task watchdog got triggered
    The ESP32 refuses to to anything afterwards. What could be wrong?

  • @rafam6716
    @rafam6716 3 роки тому

    Great

  • @alexandr_84
    @alexandr_84 2 роки тому

    Здравствуйте.
    Подскажите пожалуйста, на какой скорости передаются данные через блютуз?

  • @partouelectric2353
    @partouelectric2353 Рік тому

    Hi Rui. This is Kazem. How can I setup another ESP32 Bluetooth classic receiver to communicate with the one you built

  • @melvin-rh2gr
    @melvin-rh2gr 2 місяці тому

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

  • @michaelkeandremusic
    @michaelkeandremusic 5 місяців тому

    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?

  • @berkefekeskin9172
    @berkefekeskin9172 2 місяці тому

    i only see built in examples on arduino IDE, how can i download esp32 devkit v1 examples?

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

  • @05arjunagarwal59
    @05arjunagarwal59 2 роки тому

    Is there a function, like if bluetooth module is connected with phone and if it is not

  • @salmamousa3274
    @salmamousa3274 3 роки тому

    can classic bluetooth connect to iphones as well?

  • @thekiller5739
    @thekiller5739 4 роки тому

    i want to control ledstrip using bluetooth with my ios smartphone how do i do that

  • @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" ?

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

  • @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???

  • @tranminhhaifet
    @tranminhhaifet 3 роки тому

    can the classic bluetooth works with ios?

  • @user-te7qh5pz6u
    @user-te7qh5pz6u 5 місяців тому

    when I do it on my computer I cant select a port in the tools map

  • @theUsesOFnot
    @theUsesOFnot 4 роки тому +2

    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?

  • @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 роки тому +1

      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!

  • @zhuk462
    @zhuk462 3 роки тому

    what about the pairing?

  • @anokhautomation4453
    @anokhautomation4453 3 роки тому

    bluetooth serial .h library not found

  • @juangassa
    @juangassa 4 роки тому

    connection failed: gatt status 133?? help

  • @SA-oj3bo
    @SA-oj3bo 5 років тому +1

    Hi Rui, can Bluetooth work simultaneously with WiFi on ESP32?

  • @fouzanjaved5441
    @fouzanjaved5441 Рік тому +1

    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 UA-cam 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.

  • @malhardeadshot6118
    @malhardeadshot6118 11 місяців тому

    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 7 місяців тому

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

  • @hellaspower7546
    @hellaspower7546 4 роки тому +1

    What about a password?

  • @canoreyesmiguelangelingeni4365

    I solved some mistares that I Gad

  • @Blmarttar
    @Blmarttar 2 роки тому

    Smart phone or android wtf

  • @Arihant-xo5wj
    @Arihant-xo5wj 6 днів тому

    pls be vegan animals also have lifes Radhe Radhe