Ofcourse I respect your choices, everyone would make different choices I guess.
If you go the ethernet way then I would make it PoE so you have DC already at every node to switch valves etc.
The valves require 24V AC (50 or 60hz...) not pulsed DC but true AC (polarity reversal) so POE doesn't work. i need AC at point of load. i will send 24VAC down the wire on the two unused pairs. a small local transformer will maintain isolation. or i may use a simple rectifier driving a DC/DC. depends on what is cheaper. i do want to retain galvanic isolation between modules. have not looked into detail on this yet.
Too steep of a learning curve. not interested. needs to be simple. rpi and linux is anything but simple.
[/quote]
rpi is expensive (compared to esp32), draws way more power than an esp32 and they are hard to get these days and an annoying form factor. hats, capes , whatever. yuck. even using the CM is a problem. Those connectors are finnicky.
Python is not up for discussion, nor is anything that smells like or is lunix for that matter. I don't want a whole OS. So many times i had to reformat my SD card in the rpi i have played with. It got hosed during an uncontrolled shutdown. no thanks.
following is NOT a rant. just trying to clarify what i seek in simple terms :
Besides solving my irrigation problem i used this as a kind of experiment to figure out if we have a
simple AND cheap ethernet/wifi networking solution yet.
The ESP32 (or 8266) is a winner hands down in the price camp. can't beat it.
My definition of cheap is 5$ max (i can get a usb uart for 2$ and a processor for 3$)
Espressif is actually cheaper than that.
It is also the winner in the simplicity camp , albeit way more complex than an FTDI solution. yes you can do udp in an easy way but that is not "simple" as it requires custom stuff on the other side. To stick within the realm of simple : point a browser or open a telnet port. something ready made that itself is cheap and simple.
Simple means just that : simple. Simple as in commodore 64 simple. Basic simple. FTDI usb simple. i am looking for that kind of simple to use ethernet. in 2022 it should be simple by now. Python on a pi may be simple for others , it is not my definition of simple. a small micro is simple. granted, esp32 is not exactly a small micro but it comes in small 48 pin QFN (pico-d4), does not need an OS and i could even use the factory built in basic interpreter. That classifies as simple.
commodore simple means : apply power and 10 milliseconds later you have a prompt and can start writing code. no need for compilers, ide's , jtag probes and whatnot. turn it off when you want. will not turn into a brick , doesnt take 10 seconds to boot , hard rom. no need for endless os updates.
ftdi simple means : write string, read string. behaves as a buffered uart.
Basic simple means : interactivity , non endless space / tab / whitespace nonsense , no case sensitivity no semicolons or other nonsense that cramps my colon. understanding when = means assign and when it means compare. simple english without fluff. no endless [ compile , fix case mismatch / missing semicolon / forgot to define variable, compile again , flash , crash , figure out problem using printf statement] cycles.
i can fire up an old 8052-ah-basic processor, hook it to a ftdi chip (i would use the silabs 2021 now) , open a terminal program and off we go. that's simple in my mind. Or i can take a raw 8052 (feel free to substitute with your micro of choice) and do the same using a cross compiler ( i would use PL/M since that is close to pascal as a language and highly efficient for small processors. it was designed for intel micros). driving a uart is like 5 instructions. wait for buffer empty bit , throw byte in tx register , repeat for however many bytes you want to send. you get an interrupt on receive. Print hello world is like 30 bytes of rom space (and that includes the constant "Hello world") and requires no ram. That kind of simple. The FTDI chip hides the complex stuff. And it just works. That's what i am looking for , but on ethernet or wifi network.
Damn it starts looking like a rant.
Maybe it's because i am from a different generation. Things were simple in my day. Not so much anymore.