Still working on my Home Theater Automation project.
This is the solution to (professionally) replace the
RPi 3B+ I was using with
USB-Serial adapters.
MOXA has a LOT of products in catalog, and they're quite pricey ($1.5K~2K).
But if you go for older/used models on eBay, they can be found for less than $100.
Got a
NPort 6650-8 for $89 recently.
Attachment:
6650-8.jpg [ 42.59 KiB | Viewed 173 times ]
You connect the device to your LAN, it comes with a Web GUI but you can use CONSOLE port, Telnet or SSH to configure it.
From there each Serial port,
using the official MOXA pin out (took me a while to understand that), can be connected and become LAN-enabled.
DO NOT USE CISCO/Arista Console cables. They connect DB9 Port #5 (GND) on RJ45 pin 4~5
which is where MOXA expects Tx/Rx.
Best case you'll get an echo of your Tx back to Rx, but you can't communicate with the serial device.
You can choose to access it over Telnet, SSH, or have MOXA drivers installed to look like a local COM ports (called
RealCOM, Windows or Linux), or even be a COM to COM proxy (over Ethernet) or reverse telnet. There's a lot you can do with this device, it's aimed at industrial/professional usage.
So, from there, any device with
DB9 Serial control (such as DVD/BD players, Projectors, some A/V Amps, etc.) just becomes an IP:Port on your network.
Example, using port #2 of the MOXA to control an OPPO Player:
Attachment:
MOXA1.png [ 10.8 KiB | Viewed 173 times ]
Attachment:
MOXA2.png [ 9.28 KiB | Viewed 173 times ]
$ telnet moxa 4002
Trying 192.168.10.240...
Connected to moxa.
Escape character is '^]'.
#PON
@OK ON
#QVR
@OK 20XRU-65-0131
#QPL
@OK HOME MENU
#EJT
@OK OPEN
#EJT
@OK CLOSE
#POF
@OK OFF
Next... get Pioneer (SR + Xantech) and SONY (CONTROL S) devices IR IN turned into a LAN-controllable device.
And then automate everything with a VM running
NODE-RED.
Julien