user63791: i am making a ultrasonic radar using stepper motor and ultrasonic sensor , and displaying the output over a software(processing 3) which looks like a radar ppi on display ...is it possible ot replace the usb cable with a bluetooth connection to send data (serial) instead of using a usb cable i want the setup to be remote ..i am using a instructable https://www.instructables.com/id/Acoustic-Radar-Display/ for coding i just need to know how to make it wireless over bluetooth ...just changing the com over processing 3 works or i need to do some changes in command mode of bluetooth 

user26478: If you use a Bluetooth Module like this, that has an SSP profile, it will show up as COM port on your windows machine.
Now if you want to use the Arduino's Hardware Serial (i.e. keep using Serial.print() but for Bluetooth) then you will connect the module like this:

Bluetooth HC06 TX to digital pin 0 (Arduino Rx)
Bluetooth HC06 RX to digital pin 1 (Arduino Tx)

But remember, you load your code using these pins too. Arduino has a "USB-to-Serial" IC on board that uses those two pins. So now two entities trying to use those same pins (U2S and BT) i.e. you will have to disconnect U2S connections:

The above image is a snippet from the Arduino schematic. One way to disconnect those connections is to remove those two resistors. But then again, next time you want to load your code, you won't be able to use USB cable anymore.
So, I will suggest you to use SoftwareSerial and choose any other two pins for Bluetooth Module and change in the code wherever you were communicating with the Processing using Serial.println(). replace that with SoftwareSerial println().

63791: <p>i am making a ultrasonic radar using stepper motor and ultrasonic sensor , and displaying the output over a software(processing 3) which looks like a radar ppi on display ...is it possible ot replace the usb cable with a bluetooth connection to send data (serial) instead of using a usb cable i want the setup to be remote ..i am using a instructable <a href="https://www.instructables.com/id/Acoustic-Radar-Display/" rel="nofollow noreferrer">https://www.instructables.com/id/Acoustic-Radar-Display/</a> for coding i just need to know how to make it wireless over bluetooth ...just changing the com over processing 3 works or i need to do some changes in command mode of bluetooth </p>
 26478: <p>If you use a Bluetooth Module <a href="https://rads.stackoverflow.com/amzn/click/com/B074J5WMH1" rel="nofollow noreferrer" rel="nofollow noreferrer">like this</a>, that has an SSP profile, it will show up as COM port on your windows machine.</p>

<p>Now if you want to use the Arduino's Hardware Serial (i.e. keep using Serial.print() but for Bluetooth) then you will connect the module like this:</p>

<ul>
<li>Bluetooth HC06 TX to digital pin 0 (Arduino Rx)</li>
<li>Bluetooth HC06 RX to digital pin 1 (Arduino Tx)</li>
</ul>

<p>But remember, you load your code using these pins too. Arduino has a "USB-to-Serial" IC on board that uses those two pins. So now two entities trying to use those same pins (U2S and BT) i.e. you will have to disconnect U2S connections:</p>

<p><a href="https://i.stack.imgur.com/SldTw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SldTw.png" alt="enter image description here"></a></p>

<p>The above image is a snippet from the Arduino schematic. One way to disconnect those connections is to remove those two resistors. But then again, next time you want to load your code, you won't be able to use USB cable anymore.</p>

<p>So, I will suggest you to use <strong>SoftwareSerial</strong> and choose any other two pins for Bluetooth Module and change in the code wherever you were communicating with the Processing using Serial.println(). replace that with SoftwareSerial println().</p>
