Recommendations on a RS485-Wifi server/gateway #833
Replies: 3 comments 16 replies
-
Lets start with I don't use any of the mentioned adapters. From the brief read over of most of them, they are the same concept. Including the EW11. The device itself is a TCP server running on an assigned port that relays the RS485 data over the socket. This is the way all of them work and there is no adapter in the pi for its use. |
Beta Was this translation helpful? Give feedback.
-
Well, so that didn't work ... :) For my curiosity and your reading entertainment, I ordered one of these kwang-bong brand RS485-wifi servers on Amazon, as I wanted per the thread above to explore alternatives to the Pi-Zero/SoCat route. What made me pull the trigger on the purchase was it has a transparent-mode, where supposedly all traffic is relayed to a IP port on either UDP or TCP, dealer's choice. Seamed like a good match with NJSPC While the setup documentation reads like the lovechild between a Mandarin toaster-oven manual and a migraine attack, I managed to get the device onto my network and configurable via it's web interface. Hooked it up to a powersupply and the pump's data port, configured the UART: Configured the network side of the gadget, seems straight forward: On the NJSPC side, I configured a RS485 network port matching the settings on the gadget: I got as far as it actually connected and NJSPC says the port is open as shown above, yet no data comes through. I know from experience using cable previously, that once there's comms are established, the pump display blanks out with a DISPLAY INACTIVE message, locking out local control. That does unfortunately not happen. I've tried some of the other modes the serial server offers, yet none of them yields any different result: So, hands down I think I've given this server the time of day, to reasonably determine if it might work with NJSPC. While I think I'm at the end of the rope with this thing and about to return it next week, I would appreciate a note if you think there's something obvious I might have missed. Alternatively if there's other industrial hardware out there known to be Socat compatible, i.e. NJSPC can speak to it - I would not mind giving it a try. |
Beta Was this translation helpful? Give feedback.
-
Yes, I found a cheaper kit with only one EW11A device on Amazon. It was super quick to set up and worked immediately. This accomplishes what I set out to do; getting wireless comms up and getting NJSPC off the Pi and onto the NAS. The only snafu I ran into, was getting the paths right in the docker-compose.yaml file, for running on top of my Synology NAS. If others are interested in going the same route, look here for the nitty-gritty, but here's what my file looks like.
Before uploading the compose file, I SAMBA'ed into the Pi, grabbed the /data folder and copied it into the docker file structure using the Synology Filestation: And here is what the final setup looks like; now I just need to stick it all in a nice outdoor box ;) |
Beta Was this translation helpful? Give feedback.
-
Hi all,
TLDR question; Is there a readymade RS485-to-Wifi gateway/server (other than a pi-0) which is compatible with a Nixie RS485 network port? Is Nixie able to talk to anything non-SoCat over the network?
Background: I used a direct RS485 cable connection for Nixie/NJSPC at our old place, yet the layout of the new house does not lend itself well to cable, so I'm looking at wireless options.
As I have a good wifi-mesh covering the backyard, I would like to get a RS485-Wifi gateway known to work with Nixie's network port option. I understand one option is putting a Pi Zero by the pump, running SoCat, yet I've had outdoor Pi's die on me before, due to the seasonal hot weather here in southern Nevada.
For wireless RS485 in general, I can see there's been some discussion of the Elfin EW-11, however I'd like to avoid having RS485 hardware in the controller end, as end state goal is having Nixie running in a docker container on a Synlogic NAS, instead of on a Pi.
I was looking at equipment such as this one, or any of these others on Amazon, yet not sure if they are compatible with Nixie?
What caught my eye is that the Nixie port setup, where the description says 'Socat, ETC'
So I guess my question is, what's the ETC for? What else can Nixie talk to over the network. To illustrate what I'm hoping to do is this. Question is, what can I put in front of the pump?
PS: I suppose a slightly alternate option is one of these com-port servers where you install a virtual com port driver on the controller side, however if there's a way to avoid having to install anything driver-wise on the host-os of the NAS it would make me sleep better :)
Thoughts? Any hardware recommendations? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions