I am using a Arduino Mega based PLC unit from www.plc.us The specs on the unit can be seen here Open Source PLC! - 15 Day Free Trial! - Ships Overnight My goal is to monitor voltage and status of my solar power project in the Philippines. I already installed an Rpi 3 to take care of processes involving the power inverter, that was the easy part.
I am a coding dummy and have gotten as far as making 4 buttons operate a relay shield and that was kinda by sheer luck, i must say that connecting the w5100 ethernet shield proved quite easy tho. I copied a sample code from @tad.dvor and it looks similar to what I need.
list of needs:
- monitor voltage 0-60v on A0-A8
- monitor state high or low as in alarm, on or off (ie, inverter is in alarm, inverter is on/off, charge controllers on/off) on
D30-D37 - Operate the 6 built in relays to perform function via button widgets and triggers and scheduling.
- show these status and voltages on the built in touch color lcd for local and provide pages for status and volts with a button to toggle between screens and relay control local using the touch.
I know this is asking a lot but maybe someone else could use the code as well and might be interested in using this PLC in an industrial setting given it’s robust nature. I’m nearing that point where i might just pay for help if it’s in my budget.
Thanks all for your consideration!