There is a PC program which reads ASCII data from serial port in real time and processes it. The thing is I'm not able to change the code. The program reads the incoming data where one can only set which sections to be logged.
Now there is a sensor device which outputs data via RS485 which I can convert to RS232 and to USB as well. The thing is this device will send data only if it receives request data.
My problem is the PC program is not able to send data but only receives. I need something to trigger(send request to the device) continuously and then send the received data to the PC's port to be read by the program.
Would a micro-controller work in that case as below?:
What other tricks might work in this case?