So I have a motor control system with UNO in a box. There are three cables coming out of the box. The motor cable, the power supply cable and the arduino USB.
How can I get rid of the arduino USB? Maybe via a bluetooth module like HC-05?
There is a limitation, as I control my motors through labview, I have uploaded the firmware onto the arduino so I cannot upload other code.
How can I get rid of the arduino USB? Maybe via a bluetooth module like HC-05?
If it's just used for serial communication (you didn't provide that information), this might be an option. If you want to upload code over it, it isn't an option.
There is a limitation, as I control my motors through labview, I have uploaded the firmware onto the arduino so I cannot upload other code.
I don't see why this limitation exists. Extend your code to include the additional functionality and upload again.
You might be able to solve that without changing the Arduino code but you delivered to little data for that. What software is running on the Arduino (post complete code), what baudrate is used, do you have control over the PC side of the project?
pylon:
What software is running on the Arduino (post complete code), what baudrate is used, do you have control over the PC side of the project?
He is programming in LabVIEW on the PC side.
He most likely is using LIFA firmware for the Arduino or possibly the newer LINX firmware for the Arduino so that he can control the Arduino with LabVIEW.
This makes no sense but it doesn't matter if it is true. You are communicating by serial now, and Bluetooth is simply serial without wires. As far as Arduino in concerned, you connect HC-05 to its serial port and you are off to the races. No change of code required, you just need to be sure that bluetooth is configured to the same baud rate you are currently using, which is quite likely to be the default 9600. Any other problems you may have are at the PC end.
Nick_Pyner:
This makes no sense but it doesn't matter if it is true. You are communicating by serial now, and Bluetooth is simply serial without wires. As far as Arduino in concerned, you connect HC-05 to its serial port and you are off to the races. No change of code required, you just need to be sure that bluetooth is configured to the same baud rate you are currently using, which is quite likely to be the default 9600. Any other problems you may have are at the PC end.
He'll have to change the firmware on the Arduino.
He didn't write that firmware.
The LIFA firmware does not support Bluetooth.
The LINX firmware may.
I have never heard of LIFA firmware. I'm guessing that it is a substitute for the standard Arduino stuff that come with a Uno. That doesn't support bluetooth either. Further, I have no idea of what is going on at the PC end. All I assume is that OP can open said box, and access Uno's pins 0,1. No change of code required.
ieee488:
He is programming in LabVIEW on the PC side.
He most likely is using LIFA firmware for the Arduino or possibly the newer LINX firmware for the Arduino so that he can control the Arduino with LabVIEW.
.
Thanks for answering ieee488, you are right I am using LIFA.
Nick_Pyner:
This makes no sense but it doesn't matter if it is true. You are communicating by serial now, and Bluetooth is simply serial without wires. As far as Arduino in concerned, you connect HC-05 to its serial port and you are off to the races. No change of code required, you just need to be sure that bluetooth is configured to the same baud rate you are currently using, which is quite likely to be the default 9600. Any other problems you may have are at the PC end.
By that I mean that arduino has to have a specific code (firmware) uploaded to it, so if the bluetooth part needs extra code, that will, at best case scenario slow down my program response. if it works.
Nick_Pyner:
I have never heard of LIFA firmware. I'm guessing that it is a substitute for the standard Arduino stuff that come with a Uno. That doesn't support bluetooth either. Further, have no idea of what is going on at the PC end. All I assume is that OP can open said box, and access Uno's pins 0,1. No change of code required.
You hit the nail on the head! Exactly what I was asking for, thanks.
at best case scenario slow down my program response. if it works.
I really can't fathom why you have a problem, and I feel you might be looking for problems that aren't really there. For all that I'm glad there is a painless solution!