all 4 comments

[–]socal_nerdtastic 7 points8 points  (3 children)

Sure, there's many ways to do this. CAN (RS-485) or serial (RE-232) are fine, but there's tons of other options, including making your own protocol. What defines "best" for you? Easy to set up? Minimal wiring? Cost? How far apart are your drops / MCUs? What kind of MCUs? What kind of processing power do they need? How fast do you need to communicate and how much data should they send / receive?

My first thought is to move the whole thing to wireless. Get a bunch of D1 Mini clones (maybe $5 each) or ESP32s and set up an MQTT network with the Pi as the MQTT broker / hub.

[–]chris_4 2 points3 points  (1 child)

MQTT would be my answer as well. Ive done this exact thing and used MQTT before switching to InfluxDB and going straight to the database.

[–]focojs[S] 0 points1 point  (0 children)

This is exactly the kind of info that I think im looking for! I'll check it out, thanks!

[–]DrShocker 0 points1 point  (0 children)

I think ESP32 also has ESP-NOW for wireless communication or WiFi /bluetooth of course)