I am working a project where I have to collect weights data from 16 load cells. Also I have to control 16 associated LEDs. There are also 16 solenoid valves which are to be operated depending on 16 input switches. All the data collection is supposed to be done via ethernet and using modbus protocol (28 devices/boards to be connected with the client via a network switch).
So far I have figured out to use ethernet library and "mudbus" library. Also I have done initial test of a single load cell using bodge's hx711 library.. and I am planning to use shift registers to operate valves and leds.
16x2 i.e. 32 pins for load cells
16 pins for switches
3 pins for leds (2 shift registers)
3 pins for valves ( 2 shift registers connecting to uln which drives relays/mosfets to operate solenoid valves)
5 pins for ethernet (w5100)
This is the pin count so far.
My question is will this system work like will all libraries come along without any internal clashes?
What shall be the pin assignment and any thing to keep in mind?
Also am I being ambitious or is this project is doable?
Any feedback will be much appreciated.
Have a great day