Arduino OTA Comm Port

Hi.

I have an Arduino Uno I loaded a project which can talk to a computer application via a comm port.

When I plug it in USB I get a comm port

The computer program which responds and controls the Arduino Uno.
When I plug in USB the computer program lets me select which comm port my uno is on and the program works with the Arduino Uno

I would like to go wireless for the connection between the PC and Arduino

For best compatibility how would I go about converting my Arduino into a board that would allow me to wireless do the connection to the of and still result in a comm port to communicate with.

Many thanks
Shaun

Did you want to use a wireless connection for both communications with the PC while your sketch is running (like Serial Monitor) AND when uploading sketches? I think for that you would use a Bluetooth to Serial bridge like an HC-05 module. I'm not sure if the HC-05 will trigger auto-reset properly so it might not be easy to upload remotely.

Uploads and updates to the sketch can be USB that's not a problem, I don't need to perform revisions over the air, The Arduino works with the program even when the Arduino IDE is not installed!

I want the program from the PC to still detect the Arduino as a regular comm port when wireless Bluetooth

Although my experience with BlueTooth is minimal, if memory serves me well, when you use a HC05 connected to your Uno and you pair it with the BlueTooth on your PC, you will get a serial port; it will just not be called "Arduino Uno".

Will the code need to change? or will simply connecting the bluetooth device to the arduino is all thats needed?

The Serial.begin() baud rate has to match the HC-05 baud rate.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.