Hi All,
I just want to run a project by you to see if you can spot any obvious flaws or suggest alternatives. It's a simple enough project, but I am doing it for someone else. I'm spending their money on the parts, so I want to increase the chance of me getting it right first time!
I'm helping a guy with some old industrial equipment containing a failed PLC. The equipment is so old there's no chance of getting a direct replacement, or support from the manufacturer. Additionally PLCs seem to have a high entry cost, which I can't justify for a one-off project.
So my plan is to replace the PLC with an Arduino. The downside is the system currently have around 30x 24V inputs, and 16x 110V outputs. Everything on/off, no analog. Outputs are all inductive loads; motors, contactors, solenoids etc. Inputs are generally buttons, but a couple of higher frequency signals (eg motor RPM) - still quite slow, about 100rpm.
So plan is; Arduino mega with a terminal shield. 24V to 5V opto isolation for all inputs. 5V relays for all outputs.
Sound ok so far?
The bit where it gets interesting is finding the right bits. Ideally to save me work I'd like some PCBs that are pre-built & available in the UK (so shields/dev boards rather than discrete components). I can only find up to 8-channel opto boards on eBay/Bangood type places. I'd need 4 of those. Then a relay module, 16 channel, again super cheap Chinese.
I have two issues here - the first is that once I add all the wires it'll be a mess, but I guess I can cope. The second is that this will be used daily - I'm concerned that the cheapest relays in existence wont be up to the task. I could make my own board or use discrete DIN mounted relays (but finding them in 5V is a challenge - and finding somewhere for the flyback protection even harder) or replace the relay board relays with branded ones.... I don't know, the more I think about it the more work I'm creating for myself & it gets out of hand.
What do you think? Would you do differently?
Thanks!