ismurdegus:
2# Happy with web interface. But I would like a display that only show live the reading of the weight.
That's the tricky bit of a web interface. Some kind of ajax controls are needed for this number to update, that's one of the few things I haven't done yet.
So you have the load cells working already? Any code that can read them successfully? Obviously that's something I won't be able to test here.
3#Sorry for my typo. Each butterfly valve are controlled via 24V contactor. I will install a rele' array to control the contactors. The micro controller need control these 5/12v DC relay.
Should be no problem, assuming the relays have drivers built in and are designed to work with 3.3V signals, rather than 5V signals.
One concern is still the adding of material.
Depending on the material and the construction of the whole thing there will be some delay between closing of the valve (which takes some time in itself) and the last material hitting the bottom of the container. On top of that there's the delay in reading the load cell (there's a limit to how fast it can be sampled) and the material falling into the container also momentarily increases the down force, and hence the measured weight.
So the materials first get placed into four containers, on top of the mixing container. How are they transferred into the mixer itself? Why first weighing in those four containers and not directly into the mixer?
Output 5 :butterfly valve discharge weight hopper (need have a timer to be run for 3/5min allow material discharge.
Input 1: If is HI-> Batch can start / If is LOW-> Batch can't start
I don't understand what this is supposed to do (big picture is lacking).
[qoute]The GUI need look nice and simple to read. Don't need be preatty
We also need a button to reset to "0" the weight hopper.[/quote]
Based on that picture and the live update requirement I have the feeling it's best to have a display attached to the machine itself, and a set of buttons. 7" or up will do just fine; the largest displays for use with microcontrollers that I can readily find are 10.1" 1024x600px displays.
Four push buttons for the four bins and a dial (rotary encoder) to increase/decrease the weight, set limits and increments (e.g. 0.5-20 kg limits; 0.1 kg increments). Press button to select a bin, then dial left/down and right/up.
One push button to zero the total weight (set tar weight).
There's something marked "batch instance" - what's that supposed to do?
And finally a push button to start and stop the mixing process.
What do the four large blue bars marked BIN 1 through BIN 4 stand for?
Touch screen is also an option; input of the weight would then be through an on-screen numeric keyboard. Which option is better depends on your end users.
I'm imagining an industrial or at least lab style setting for this project, am I right?