(HD) Auto-Connect BT to BT Module Without Using Arduino At All - Presence Detection System

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 75

  • @oscarbavelaar7403
    @oscarbavelaar7403 7 лет назад +1

    Hi, nice video and very clear to follow.
    I want to make keyless entry for my car,i have followed you`re vidi-torial and got it to work (almost)
    My problem is that when i put the module in slave mode, i need to send a command to the bt module to get it to work
    Pin 34(key) is not high when paired only when connected.
    What i wouldt like is that i dont have to touch my phone and when in range pin 34 (relay) will work and unlock my car.
    When i move away then the car gets locked.
    I tried to make the module master and connect to phone, this works (kinda) i open up spp server and module connects to phone but every time i need to input pin number, and voila relay works, but...........
    When i get out of range i need to restart bt scan and enter pin number again.
    Any Thoughts?
    Thanx for youre Vid-torial

  • @riz237
    @riz237 5 лет назад

    hello , although im only planning to set up the hc05 for the first time. can you kindly help with the circuit. my AT commands are not responsive.

  • @MuhammadAmir5940
    @MuhammadAmir5940 7 лет назад +1

    Hello your project is so helpful but the issue which I am facing is Auto reconnecting. Once its connected its connected but when ever I disconnect HC-06 then power it up its not auto connecting again...any help would be appreciated. thank you

    • @nudgeme4844
      @nudgeme4844  7 лет назад

      Is it so? From the video it can be seen that the modules continue to be auto connected even after the power has been disconnected.

  • @emmabennett9916
    @emmabennett9916 6 лет назад

    Thanks for the tutorial , well done, will be implementing underwater; from an ROV as slave and the master on Ocean floor bouy release. Bluetooth signal should max at 10cm in water.

    • @nudgeme4844
      @nudgeme4844  6 лет назад

      You are welcome. Don't forget to share your project video here okay :)

  • @raymondtjong2455
    @raymondtjong2455 6 лет назад

    Hi hello there, its a nice project.. and i will use it for my motorcycle. Thank u for sharing this. But can i use BLE in my xiaomi mi band 2 to connect rather than my smartphone? So when im wearing my mi band and near it i can turn on my motorcycle, and when i walk away the motorcycle is off.

    • @nudgeme4844
      @nudgeme4844  5 лет назад

      Hello, I think it won't be possible as the HC-05/HC-06 is not compatible with the BLE devices.

  • @RidwanGhibran
    @RidwanGhibran 4 года назад

    Hi..
    what if it was connected between BT To Smartphone ?

  • @ddedishtm2203
    @ddedishtm2203 4 года назад

    please request coding installed on the MYBT android application

  • @manojv717
    @manojv717 5 лет назад +1

    Hi, i have a doubt in Bluetooth module. I want to reset or ON OFF the
    Bluetooth module when android device disconnected. Is it possible??????

    • @nudgeme4844
      @nudgeme4844  5 лет назад

      Yes, it is possible. When you turn it back on, it will be automatically paired again.

  • @kwcatur
    @kwcatur 3 года назад

    To avoid all HPs (that app installed) auto-pairing to my bluetooth device, please add feature to give a name to BT devices

  • @lim11111
    @lim11111 5 лет назад

    On the "STATE" pin of the HC-05 board, the logic level does not change. I do not know why, but there is always "0", even when the connection is established.

    • @nudgeme4844
      @nudgeme4844  5 лет назад

      Did you check it with multimeter? Normally a "working" HC-05 will give output 3.3V on the STATE pin when connection is established. If possible, try to test with another HC-05 module to check either the module is faulty or not.

    • @lim11111
      @lim11111 5 лет назад

      @@nudgeme4844 Yes, I measured the voltage with a multimeter. This pin is always low voltage, about zero volts. Perhaps I have a faulty device, or the manufacturer did not register this function in the firmware. I use the HC-05 board in my project, and I need the pin "module status output". Therefore, I am looking for information on the Internet about the use of this pin. I have no other module to check. Thank you for the answer.

  • @cloudy0_038
    @cloudy0_038 7 лет назад

    Hi sir, thanks for your video, may i just ask if it is applicable for arduino?

    • @cloudy0_038
      @cloudy0_038 7 лет назад

      Thanks sir for reply, Our intention was to use one Bluetooth module and a Smartphone bluetooth, do we need still need HC-06, the tricky part?

    • @nudgeme4844
      @nudgeme4844  7 лет назад

      Hi, to connect the BT module to phone's BT, have a look here: play.google.com/store/apps/details?id=me.nudge.btkeylessBG

  • @lasersbee
    @lasersbee 7 лет назад

    3:35.... Why did you not press the on board Push Button and power up the HC-05 to get into AT Command Mode ?????

    • @nudgeme4844
      @nudgeme4844  7 лет назад

      Does it really work? Have you tried it yourself?
      forum.arduino.cc/index.php?topic=128991.msg971873#msg971873

    • @lasersbee
      @lasersbee 7 лет назад

      Yes.... It works... Yes I've used it...
      Much easier.
      Why do you think there is a Push Button on the PCB ???

    • @nudgeme4844
      @nudgeme4844  7 лет назад +1

      Thanks for the info!

  • @rubysidik6407
    @rubysidik6407 7 лет назад

    hi.. it is really good idea, but can you make the bt transmitter master with android phone

    • @nudgeme4844
      @nudgeme4844  7 лет назад

      ruby sidik Hi, good news, I have done it already. Please have a look here: play.google.com/store/apps/details?id=me.nudge.btkeylessBG
      Thank you!

  • @vishaltesla2832
    @vishaltesla2832 5 лет назад +1

    HELLO,when i try AT+INIT command it shows ERROR(17) can u explaim this
    please it is ASAP project to me

    • @nudgeme4844
      @nudgeme4844  5 лет назад

      Hi, maybe the Bluetooth module does not support that command.

  • @bambangmahfudin2083
    @bambangmahfudin2083 4 года назад

    Hi
    İ just find your post, my question
    İs the İNQ number (2016:6:70320) always same on each BT ör unique each one
    Thanks

  • @achillesgrandeza
    @achillesgrandeza 6 лет назад

    What is the model of the USB to UART? Can i use any USB to UART?

    • @nudgeme4844
      @nudgeme4844  6 лет назад

      +Ace Charles Yes. Actually I used that just to supply the correct voltage (either 3.3V or 5V) from the powerbank to the Bluetooth module. So of you have any other way then that would do also.

  • @adiprakosa3219
    @adiprakosa3219 4 года назад

    may i know how to coding the hc05 in order to connect it with bt master (MYBT) app..? just rename the modul and pswd and set it as slave or what, thank you

    • @nudgeme4844
      @nudgeme4844  4 года назад

      Hi, just rename the module to MYBT, pair it first using your phone's Bluetooth Setting and that's all. The wire connection of HC-05 is just the same as HC-06, no need to set is to Slave or Master. Thanks!

    • @adiprakosa3219
      @adiprakosa3219 4 года назад

      @@nudgeme4844 thanks for the explanation, i've done it last night, but i have another problem, the power that came out from "state pin" can't activate the 5v relay solenoid.. i checked the voltage is about 3.3v,, what shoul i do..?

    • @nudgeme4844
      @nudgeme4844  4 года назад

      May I know which voltage pin do you use to power up the HC-05, is it 5V or 3.3V on the Arduino/supply? If possible, try to connect the VCC pin of the HC-05 to 5V instead of 3.3V supply.

    • @adiprakosa3219
      @adiprakosa3219 4 года назад

      @@nudgeme4844 i'm using 5v pin on it,, and also i tried to using it with 5v dc regulated adaptor, but still can't activate the relay,, it could only activate the diode led 😔

    • @adiprakosa3219
      @adiprakosa3219 4 года назад

      @@nudgeme4844 is the version of hc05 take effect..? because i'm using hc05 version 4 (can't using AT+INIT on AT COMMAND)

  • @newzee19
    @newzee19 8 лет назад

    very nice

  • @rmaideas6364
    @rmaideas6364 7 лет назад

    what if you exceed the range of the your BT device the other one is a meter away it may stop the machine? then try to back again. there is a possible that will turn again?? thanks.

    • @nudgeme4844
      @nudgeme4844  7 лет назад

      Razzedhel Azuela Hi, I have tried that. When I was like 10m away from the receiver the motor stopped and when I came back within range the Bluetooths were automatically connected and the motor started to turn again.

    • @rmaideas6364
      @rmaideas6364 7 лет назад

      +Nudge Me okay thanks a lot, it helps me so much..

    • @nudgeme4844
      @nudgeme4844  7 лет назад

      Razzedhel Azuela You are welcome ☺️

    • @rmaideas6364
      @rmaideas6364 7 лет назад

      +Nudge Me can i ask another thing? what if I'll try to reverse? when Bluetooth is on the machine will "off" then vice versa? it could be possible? thank you!

    • @nudgeme4844
      @nudgeme4844  7 лет назад

      Certainly! The easiest way to do that is instead of using the NC and COM pin of the relay as shown in the video, use the NO and COM pin. This will make the circuit work oppositely to the current condition we have.

  • @АлександрКоргин-ш5ж

    вот если бы ты еще делал русские субтитры, я бы даже лайк поставил)

    • @nudgeme4844
      @nudgeme4844  8 лет назад

      Извините, но я не знаю русский

  • @muhammadsarfaraz1907
    @muhammadsarfaraz1907 7 лет назад

    Hello dear, very nice demo. But please help me out, I want to activate the relay whenever HC05 finds any bluetooth getting paired (not just the specific HCO6 one). It will be paird through password. So that any one who knows the password can activate the relay from its android phone. Please helpme how to do that ?

    • @nudgeme4844
      @nudgeme4844  7 лет назад +1

      Hi, the easiest way to do that is just let the HC05 switched on all day long. Everyone with their phone can scan the HC05 and connect it as usual, using predetermined password. When the HC05 gets connected, it triggers the relay to activate any component you want.
      Example scenario: John switches on a HC05 Bluetooth module connected to his car lock system and leaves for a meeting. His housemate Jack wants to get home early so he just goes to the John's car, scans HC05 Bluetooth device using his smartphone, pairs it using a pincode and when it is connected, the car unlocks itself. Jack gets in the car, grabs a key beneath the driver's seat, starts the engine and goes home.

    • @muhammadsarfaraz1907
      @muhammadsarfaraz1907 7 лет назад

      Thanks for your rapid response. Yes you are right, I want the very similar scenerio, but how to do that I mean, how to work with the AT codes in HC 05 ? Pls help. On the other hand can such fuction be added that once a phone has been paired using password, it will be automatically paired when ever the phone is within range?

    • @nudgeme4844
      @nudgeme4844  7 лет назад +1

      MUHAMMAD SARFARAZ HASAN SIDDIQUI Attari In my humble opinion, we need to pair both of the Bluetooth modules first to make them connect automatically, so we cannot make the HC05 just connect with any Bluetooth device when it is in range. So if you insist to make it connected with any Bluetooth device available, you need to follow the John/Jack scenario's steps.

    • @muhammadsarfaraz1907
      @muhammadsarfaraz1907 7 лет назад

      yes right. What will be the steps for adding password?

    • @nudgeme4844
      @nudgeme4844  7 лет назад +1

      MUHAMMAD SARFARAZ HASAN SIDDIQUI Attari Password of the HC05 is standard, which is normally "1234". If you want to change it, connect it in AT mode and use "AT+PSWD" command. More info please go to www.instructables.com/id/Modify-The-HC-05-Bluetooth-Module-Defaults-Using-A/

  • @ngocdai102
    @ngocdai102 7 лет назад

    Thanks for your tutorial video. I want to make a project. I use one HC-05 module and smartphone with bluetooth. I want to HC-05 connect to phone automaticaly to control somethings. I used Arduino UNO to config HC-05(Master) in AT mode by serial monitor. HC-05 and phone paired successful, but can not link ( AT+link = ) (it shows FAIL). Please show me why it is? What can I do ? Thank you very much.
    Code Arduino:
    #include
    SoftwareSerial BTSerial(10, 11); // RX | TX
    void setup()
    {
    pinMode(9, OUTPUT); // this pin will pull the HC-05 pin 34 (key pin) HIGH to switch module to AT mode
    digitalWrite(9, HIGH);
    Serial.begin(9600);
    Serial.println("Enter AT commands:");
    BTSerial.begin(38400); // HC-05 default speed in AT command more
    }
    void loop()
    {
    // Keep reading from HC-05 and send to Arduino Serial Monitor
    if (BTSerial.available())
    Serial.write(BTSerial.read());
    // Keep reading from Arduino Serial Monitor and send to HC-05
    if (Serial.available())
    BTSerial.write(Serial.read());
    }

    • @nudgeme4844
      @nudgeme4844  7 лет назад +1

      NGOC DAM Hi, have a look on this app (BT Master): play.google.com/store/apps/details?id=me.nudge.btkeylessBG. It is designed to automatically connect to your Bluetooth module with some little configuration. You may find the instruction at the Google Play page. Hope that helps. Thanks!

    • @ngocdai102
      @ngocdai102 7 лет назад

      Thank for your sharing. When I use smartphone with this app to connect to my Bluetooth module, my Bluetooth module must set to Master, Slaves ??? Somebody with phone and this app can connect with my BT module by "1234" password ???? Can I change password of my BT module to other pass ??? What did you use to code this app?

    • @nudgeme4844
      @nudgeme4844  7 лет назад +1

      You can change the default 1234 password to other pass you like. The Bluetooth module needs to be in slave mode, but usually by default, the HC-05 will run in slave, and the HC-06 will always be slave.

    • @vaibhavis1
      @vaibhavis1 4 года назад

      Hi NGOC DAM , were you able to complete this project ? I too am working on this project , it would be really kind of you if we can connect .

  • @Althu-blog
    @Althu-blog 4 года назад

    hi sir naice but .
    pleace remove song