Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Sending data via Bluetooth to PC/Bluetooth port not availabl

Apr 5, 2018 6:53AM PDT

Hello everyone!!
I'm trying to send data wirelessly (without USB) from a sensor connected to Arduino UNO (like an HC-SR04 ultrasonic sensor) using the AT-09 Bluetooth module. I'm trying to configure the serial port (COM port) the Bluetooth module is going to use to send the data from the sensor but I'm using Windows 10 and it won't let me add any serial ports or appear anywhere in the settings which port Bluetooth is using. The Bluetooth is paired with the PC but it won't let me configure a new port for it. In device manager there is no Bluetooth com port available . I also run a script in Processing which shows the available ports and it only shows one when the usb is connected, so I guess this means that the PC or the OS doesn't support a Bluetooth serial port??.
In an older PC i have though (running win7 ) I can see the Bluetooth port but there is no driver available for neither of the two ports (the one with the USB and the Bluetooth port)- its a very old SONY VAIO..probably it needs more drivers to be installed

Thank you very much!!

Discussion is locked

- Collapse -
Answer
I can only guess your setup.
Apr 5, 2018 9:09AM PDT

But here I have apps stretching back to pre-2000 that send over Bluetooth's Serial Port Profile. And these still work fine on Windows 10. The Com port number is created by the Bluetooth driver.

I have never seen a procedure to add a serial port via the method you wrote above. I'm left with the feeling you are just new to Bluetooth and serial port use.

So in short, If you want a COM port that's done with Bluetooth to Serial devices like you see over at Serialio.com.

If you want to use other transport methods, not comports then you have to research those areas which I will not write about here.

- Collapse -
COM Port added
Apr 5, 2018 9:19AM PDT

I actually maged to add a com port through the bluetooth settings and now i can also see the Bluetooth port in the device manager.. still I can't get the bluetooth to send data to my pc
If you want to get a picture of what i'm trying to do take a look at this tutorial
I'm just trying to get the bluetooth send the data from a connected sensor , via the COM port to the serial monitor of Arduino.
And yes I'm really new to Bluetooth!!

- Collapse -
If the tutorial fails
Apr 5, 2018 9:23AM PDT

Write to its author.

As you are new to this, read it again and be sure to make note of the incoming and outgoing serial port. That can trip up folk.

- Collapse -
but i did
Apr 5, 2018 9:38AM PDT

i read it and done it all over again 100 times.. the procedure is: firstly i pair the bluetooth with my laptop, then I upload the sketch to arduino with the usb serial port -then i connect the bluetooth again and disconnect the usb . i choose the com port of the bluetooth this time but the serial monitor shows no data..:/ I added the bluetooth serial port manually through bluetooth settings...

- Collapse -
Sorry
Apr 5, 2018 10:01AM PDT

But writing what you did means you expect me to go over the tutorial and see if you diverged in any way.

Here I can share that on Windows XP, 7, 8.x, 10 and Windows Mobile/CE all had excellent Bluetooth Serial Port Profile stacks. I never had any issue there. On Windows Mobile/CE it did have me write more code to try both incoming and outgoing for reasons that were never quite clear but that's a system that is no more so back to Windows XP to 10. All good here.

I only have some 4,000+ users out there so if there was an issue I'm sure I would have heard about it. Oh, I almost forgot my old PalmPilot Bluetooth serial based apps. Those worked too.

So back to that author to see if they have other ideas.

My only thought is to get a terminal app up and open the COM port of interest to see what shows up.

- Collapse -
recommendations
Apr 5, 2018 3:56PM PDT

Ok sorry to bother you with my silly questions .. any recommendations for a free bluetooth terminal running on windows 10 where i can finally see the data via bluetooth??

- Collapse -
That's news to me.
Apr 5, 2018 4:38PM PDT

Post was last edited on April 5, 2018 4:44 PM PDT

- Collapse -
Answer
Drivers missing.
May 15, 2018 12:43AM PDT

You are correct, I have faced similar issues when I was doing my project a year back and there was no bluetooth COM port in Windows 10. I am not sure how to fix it since I then started using my friend's laptop which was running on Windows 8 I think where it worked fine.
Either way, here is an arduino tutorial which might help you fix your problem.