Page 2 of 2
Re: RS-422 to Ethernet
Posted: Thu May 04, 2023 1:42 am
by intangybles
Hello all!
Yes very pleased you put it here too! I'm on (new to) the discord but missed this!
I (when I get it) want to set my NABU as originally intended in the lounge on the TV and to this end I was considering using a spare Pi3B I have and fitting it internally to the NABU? How do you think this would compare with using the Ethernet adapter?
Re: RS-422 to Ethernet
Posted: Thu May 04, 2023 1:50 am
by c1ph3rpunk
I think it might be the better way to go, I have a spare one myself I want to try, headless using nabud and the regular usb to 422 adapter.
Re: RS-422 to Ethernet
Posted: Thu May 04, 2023 2:11 am
by intangybles
c1ph3rpunk wrote: ↑Thu May 04, 2023 1:50 am
I think it might be the better way to go, I have a spare one myself I want to try, headless using nabud and the regular usb to 422 adapter.
Yes.. I'm hoping it will make it a nice independent device, no server required other than the wifi internet connection for the Pi. Well, thats the idea.
Re: RS-422 to Ethernet
Posted: Thu May 04, 2023 12:28 pm
by masto
intangybles wrote: ↑Thu May 04, 2023 1:42 am
I (when I get it) want to set my NABU as originally intended in the lounge on the TV and to this end I was considering using a spare Pi3B I have and fitting it internally to the NABU? How do you think this would compare with using the Ethernet adapter?
Ethernet adapter: NABU is now available over the network.
Pi inside: Now you have an extra computer to maintain that runs a full operating system just for one program to serve a file over a serial port. Since you don’t log in to it, you’ll forget to keep it up to date, and when you try, there will be some Linux kernel incompatibility that requires you to start all over. Unclean shutdowns could trash the filesystem. Also, the SD card will eventually wear out and fail. When it doesn’t boot, you can’t troubleshoot it without taking your NABU apart.
Re: RS-422 to Ethernet
Posted: Fri May 05, 2023 3:12 am
by intangybles
All true, thanks for the reply! Lots of things to think about! To really take advantage of the adapter I would need to have ethernet available in the TV cabinet, which I don't at this stage. I've 100% decided thats where I want it to go when it arrives! Lots of things to consider..
masto wrote: ↑Thu May 04, 2023 12:28 pm
intangybles wrote: ↑Thu May 04, 2023 1:42 am
I (when I get it) want to set my NABU as originally intended in the lounge on the TV and to this end I was considering using a spare Pi3B I have and fitting it internally to the NABU? How do you think this would compare with using the Ethernet adapter?
Ethernet adapter: NABU is now available over the network.
Pi inside: Now you have an extra computer to maintain that runs a full operating system just for one program to serve a file over a serial port. Since you don’t log in to it, you’ll forget to keep it up to date, and when you try, there will be some Linux kernel incompatibility that requires you to start all over. Unclean shutdowns could trash the filesystem. Also, the SD card will eventually wear out and fail. When it doesn’t boot, you can’t troubleshoot it without taking your NABU apart.
Re: RS-422 to Ethernet
Posted: Fri May 05, 2023 11:34 am
by masto
A few people have talked about putting an ESP32 in there, which I personally think is the way to go to get WiFi. But I'm not sure any of them have quite reached production readiness.
The "easy" way is to have it serve up the serial port over TCP, but it's more than powerful enough to run a full Internet Adapter if somebody wanted to write one. It's probably the kind of ridiculous project I'd talk myself into if I didn't already have enough NABU stuff going on.
Re: RS-422 to Ethernet
Posted: Fri May 05, 2023 8:54 pm
by c1ph3rpunk
Working on an a Pi Zero W with a USB HAT right now using the 422 to USB adapter, so far there’s promising results using nabud.