Pretty new to Arduino, however i've been given a challenge, and from what i've seen so far, i'm hopeful that the Arduino might be able to achieve what I need to do. The scenario is this:
- 1 RS-232 source (audio processor unit)
- 2 RS-232 receiver (video switchers)
The RS-232 source (sound processor) has only one RS-232 port, but I need to control the 2 video switchers separately. The video switchers use a predefined set of RS-232 Hex strings to switch particular inputs to outputs (8 x 8 matrix switcher, so 64 "switch" hex strings).
What i'm hoping to achieve is this:
- We fire a serial string out from the audio processor (HEX or ASCII), this would be a custom string such as Unit2Input1Output5 , to the Arduino, which would be listening on one serial port. Once it sees this command come in, I need it to fire the relevant command ("Input 1 to Output 5" in this instance) to the relevant video switcher (switcher 2 in this case).
Essentially I want the Arduino to act as an RS-232 signal router, listening for commands and using (I'm guessing here) a lookup table or similar to translate the incoming command to the correct output command, and to the right RS-232 output port. Alternatively I can send the signals out to the video switchers using serial over IP, but the incoming signal from the audio processor will always be hardwired RS-232.
I have an Arduino Mega, and a few premade PCBs with a DB9 socket and MAX232 ICs on board (RS Components MAX232 PCB)
Can anyone tell me whether what I'm trying to achieve is even possible? I don't want to spend days working on this only to find out that what i'm asking it to do is outside the Arduino's capabilities.
If you need any information or clarification jut ask
Thanks in advance