Skip to main content
Bumped by Community user

I can't set a COM port to my paired BT module. For better understanding I recorderded a videoI recorded a YouTube video to make sure I show everything:

youtu .be/vu9cK6emnIo

Hardware:

  • Arduino Nano knock-off by robotdyn.com RobotDyn (atmega168)
  • Bluetooth module HC-05 (zs-040) which looks -https://cdn.instructables.com/FLP/2YI3/HX6ARQKC/FLP2YI3HX6ARQKC.MEDIUM.jpglike this
  • Windows 10 Home 64 bit on tablet

I have wired them up like this https://i.sstatic.net/lwMAs.jpg. 

However, before that, I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my very simple code which should just echo back what it get.

void setup() {
  Serial.begin(9600);
}

void loop() {
  if(Serial.available())
  {
    Serial.println(Serial.parseInt());
  }
  delay(100);
}

I can't set a COM port to my paired BT module. For better understanding I recorderded a video to make sure I show everything:

youtu .be/vu9cK6emnIo

Hardware:

  • Arduino Nano knock-off by robotdyn.com (atmega168)
  • Bluetooth module HC-05 (zs-040) -https://cdn.instructables.com/FLP/2YI3/HX6ARQKC/FLP2YI3HX6ARQKC.MEDIUM.jpg
  • Windows 10 Home 64 bit on tablet

I have wired them up like this https://i.sstatic.net/lwMAs.jpg. However before that I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my very simple code which should just echo back what it get.

void setup() {
  Serial.begin(9600);
}

void loop() {
  if(Serial.available())
  {
    Serial.println(Serial.parseInt());
  }
  delay(100);
}

I can't set a COM port to my paired BT module. For better understanding I recorded a YouTube video to make sure I show everything.

Hardware:

  • Arduino Nano knock-off by RobotDyn (atmega168)
  • Bluetooth module HC-05 (zs-040) which looks like this
  • Windows 10 Home 64 bit on tablet

I have wired them up like this . 

However, before that, I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my very simple code which should just echo back what it get.

void setup() {
  Serial.begin(9600);
}

void loop() {
  if(Serial.available())
  {
    Serial.println(Serial.parseInt());
  }
  delay(100);
}
Made it better to understand with very simple code example and a video
Source Link
TomasB
  • 101
  • 1
  • 3

Cannot assign COM port to HC-05 bluetooth device

I can't set a COM port to my paired (Windows says it's paired) BT module. For better understanding I recorderded a video to make sure I show everything:

youtu .be/vu9cK6emnIo

Hardware:

  • Arduino Nano knock-off by robotdyn.com (atmega168)
  • Bluetooth module HC-05 (zs-040) -https://cdn.instructables.com/FLP/2YI3/HX6ARQKC/FLP2YI3HX6ARQKC.MEDIUM.jpg
  • Windows 10 Home 64 bit on tablet

I have wired them up like this https://i.sstatic.net/lwMAs.jpg (I used pin 2 and 3 via SoftwareSerial). However before that I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my very simple code which should get data from BT and sendjust echo back what it via USB to the Arduino IDE serial monitorget.

#include <SoftwareSerial.h>

SoftwareSerial Bluetooth = SoftwareSerial(2, 3);
 
void setup() {
  Bluetooth.begin(9600);
  Serial.begin(9600);
  delay(500);
}
 
void loop() {
  if(BluetoothSerial.available())
  {
    Serial.println(BluetoothSerial.parseInt());
  }
  delay(2000100);
}

When I've sent the code to the microcontroller it immediatelly showed on my windows as an available BT device. After I paired it I tried to assign it a specific COM port, however the list of devices, I can assign port for, shows no sign of my device.

So how is possible that I can see my BT module and I am also paired with it but in the same time I am not able to assign a COM port for communication? Does it have something to do with it being Bluetooth LE, the fact that I previously used straight RX to Digital PIN wire or that I previously set the KEY(EN) pin to HIGH state?

Thank you for any answer!

EDIT: I have Windows 10 Home 64 bit. It's a tablet and the BT adapter for the tablet is build in so I don't know any additional information about it.

Cannot assign COM port to bluetooth device

I can't set a COM port to my paired (Windows says it's paired) BT module.

Hardware:

  • Arduino Nano knock-off by robotdyn.com (atmega168)
  • Bluetooth module (zs-040) -https://cdn.instructables.com/FLP/2YI3/HX6ARQKC/FLP2YI3HX6ARQKC.MEDIUM.jpg

I have wired them up like this https://i.sstatic.net/lwMAs.jpg (I used pin 2 and 3 via SoftwareSerial). However before that I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my code which should get data from BT and send it via USB to the Arduino IDE serial monitor.

#include <SoftwareSerial.h>

SoftwareSerial Bluetooth = SoftwareSerial(2, 3);
 
void setup() {
  Bluetooth.begin(9600);
  Serial.begin(9600);
  delay(500);
}
 
void loop() {
  if(Bluetooth.available()){
    Serial.println(Bluetooth.parseInt());
  }
  delay(2000);
}

When I've sent the code to the microcontroller it immediatelly showed on my windows as an available BT device. After I paired it I tried to assign it a specific COM port, however the list of devices, I can assign port for, shows no sign of my device.

So how is possible that I can see my BT module and I am also paired with it but in the same time I am not able to assign a COM port for communication? Does it have something to do with it being Bluetooth LE, the fact that I previously used straight RX to Digital PIN wire or that I previously set the KEY(EN) pin to HIGH state?

Thank you for any answer!

EDIT: I have Windows 10 Home 64 bit. It's a tablet and the BT adapter for the tablet is build in so I don't know any additional information about it.

Cannot assign COM port to HC-05 bluetooth device

I can't set a COM port to my paired BT module. For better understanding I recorderded a video to make sure I show everything:

youtu .be/vu9cK6emnIo

Hardware:

  • Arduino Nano knock-off by robotdyn.com (atmega168)
  • Bluetooth module HC-05 (zs-040) -https://cdn.instructables.com/FLP/2YI3/HX6ARQKC/FLP2YI3HX6ARQKC.MEDIUM.jpg
  • Windows 10 Home 64 bit on tablet

I have wired them up like this https://i.sstatic.net/lwMAs.jpg. However before that I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my very simple code which should just echo back what it get.

void setup() {
  Serial.begin(9600);
}

void loop() {
  if(Serial.available())
  {
    Serial.println(Serial.parseInt());
  }
  delay(100);
}
added 154 characters in body
Source Link
TomasB
  • 101
  • 1
  • 3

I can't set a COM port to my paired (Windows says it's paired) BT module.

Hardware:

  • Arduino Nano knock-off by robotdyn.com (atmega168)
  • Bluetooth module (zs-040) -https://cdn.instructables.com/FLP/2YI3/HX6ARQKC/FLP2YI3HX6ARQKC.MEDIUM.jpg

I have wired them up like this https://i.sstatic.net/lwMAs.jpg (I used pin 2 and 3 via SoftwareSerial). However before that I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my code which should get data from BT and send it via USB to the Arduino IDE serial monitor.

#include <SoftwareSerial.h>

SoftwareSerial Bluetooth = SoftwareSerial(2, 3);
 
void setup() {
  Bluetooth.begin(9600);
  Serial.begin(9600);
  delay(500);
}
 
void loop() {
  if(Bluetooth.available()){
    Serial.println(Bluetooth.parseInt());
  }
  delay(2000);
}

When I've sent the code to the microcontroller it immediatelly showed on my windows as an available BT device. After I paired it I tried to assign it a specific COM port, however the list of devices, I can assign port for, shows no sign of my device.

So how is possible that I can see my BT module and I am also paired with it but in the same time I am not able to assign a COM port for communication? Does it have something to do with it being Bluetooth LE, the fact that I previously used straight RX to Digital PIN wire or that I previously set the KEY(EN) pin to HIGH state?

Thank you for any answer!

EDIT: I have Windows 10 Home 64 bit. It's a tablet and the BT adapter for the tablet is build in so I don't know any additional information about it.

I can't set a COM port to my paired (Windows says it's paired) BT module.

Hardware:

  • Arduino Nano knock-off by robotdyn.com (atmega168)
  • Bluetooth module (zs-040) -https://cdn.instructables.com/FLP/2YI3/HX6ARQKC/FLP2YI3HX6ARQKC.MEDIUM.jpg

I have wired them up like this https://i.sstatic.net/lwMAs.jpg (I used pin 2 and 3 via SoftwareSerial). However before that I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my code which should get data from BT and send it via USB to the Arduino IDE serial monitor.

#include <SoftwareSerial.h>

SoftwareSerial Bluetooth = SoftwareSerial(2, 3);
 
void setup() {
  Bluetooth.begin(9600);
  Serial.begin(9600);
  delay(500);
}
 
void loop() {
  if(Bluetooth.available()){
    Serial.println(Bluetooth.parseInt());
  }
  delay(2000);
}

When I've sent the code to the microcontroller it immediatelly showed on my windows as an available BT device. After I paired it I tried to assign it a specific COM port, however the list of devices, I can assign port for, shows no sign of my device.

So how is possible that I can see my BT module and I am also paired with it but in the same time I am not able to assign a COM port for communication? Does it have something to do with it being Bluetooth LE, the fact that I previously used straight RX to Digital PIN wire or that I previously set the KEY(EN) pin to HIGH state?

Thank you for any answer!

I can't set a COM port to my paired (Windows says it's paired) BT module.

Hardware:

  • Arduino Nano knock-off by robotdyn.com (atmega168)
  • Bluetooth module (zs-040) -https://cdn.instructables.com/FLP/2YI3/HX6ARQKC/FLP2YI3HX6ARQKC.MEDIUM.jpg

I have wired them up like this https://i.sstatic.net/lwMAs.jpg (I used pin 2 and 3 via SoftwareSerial). However before that I tried to wire it up without the resistors (so I hope I didn't damage anything).

Here is my code which should get data from BT and send it via USB to the Arduino IDE serial monitor.

#include <SoftwareSerial.h>

SoftwareSerial Bluetooth = SoftwareSerial(2, 3);
 
void setup() {
  Bluetooth.begin(9600);
  Serial.begin(9600);
  delay(500);
}
 
void loop() {
  if(Bluetooth.available()){
    Serial.println(Bluetooth.parseInt());
  }
  delay(2000);
}

When I've sent the code to the microcontroller it immediatelly showed on my windows as an available BT device. After I paired it I tried to assign it a specific COM port, however the list of devices, I can assign port for, shows no sign of my device.

So how is possible that I can see my BT module and I am also paired with it but in the same time I am not able to assign a COM port for communication? Does it have something to do with it being Bluetooth LE, the fact that I previously used straight RX to Digital PIN wire or that I previously set the KEY(EN) pin to HIGH state?

Thank you for any answer!

EDIT: I have Windows 10 Home 64 bit. It's a tablet and the BT adapter for the tablet is build in so I don't know any additional information about it.

Source Link
TomasB
  • 101
  • 1
  • 3
Loading