rpoet
Member
i second yosi, arduino is the cheapest.
It's the cheapest, until you consider that it comes "naked" and has no ability to interface with the outside world without building custom circuitry. An Arduino can't directly control a 24v relay, for instance. It can't directly read a thermocouple. It doesn't even come with a power supply. Once you consider all the needed extras and add-ons, it's not nearly so cheap. Plus, you have to factor in the time needed to build the custom interface circuits. And what if it fails? There's no off-the-shelf replacement available.
Hobbyist-grade electronics like the Arduino and PICAXE are much less robust physically, can't mount to DIN rail without a custom-fabbed bracket, and are much more prone to electrical noise (I just chased that particular problem for almost a day, earlier this week) than a product engineered for the demands of a control system. Bottom line... you get what you pay for.
-rpoet