As a short introduction, I have no experience whatsoever in doing a project like I'd like to do. My programming skills are below average. I have no electronics experience, but I can read and ask. So the first thing was reading, a lot of reading and I think I'm up to the task of building a water flow controller.
First I sketched out what I would like the device to do, then looked for possible hardware. For each item I hunted the web to find demo code and clips. The whole is broken down into manageable chunks, starting with the simpler parts and then building up.
There are quite a few questions left open I'd like to have answered before I buy any hardware. The first one am I on the right track? Things missing?
Then there is the question what Arduino to choose? If I get this thing going there are a few more projects to do and what I would really like is automatic (wireless)logging to a separate data server when a device is switched on. Now, this is of later concern but may influence the choice of board. Would the Yun be something to look for right now, or are the "extra's" a distraction?
Water Flow Controller
Settings:
modes:
measure flow rate & volume (default)
flow rate max | real time adjustable
measure flow rate & volume & stop at target volume
set target volume
flow rate max | real time adjustable | set fixed flowrate (&curve?)
start, stop (&reset)
halt, resume
Display:
target volume , total volume since start
target flow rate , flow rate
water temperature , timer(m,s)
Alarm:
5% before set volume target
set flow rate cannot be reached (low - high)
Hardware:
arduino X
LCD, buttons, rotary, ...
solenoid valve (as a fail safe if power drops)
relay (for solenoid)
temperature sensor (really wanted to make a mass flow controller, but this will do)
servo 90°
ball valve
simple flow meter (to be upgraded later)
The Manageable Chunks:
get the thermometer going (1-wire)
get the solenoid valve going
get the flow meter going and calibrated
get the servo going, controlled by a pot
get display going & get a timer/elapsed time going
hook servo up to valve
get setting volume target going
use pot/servo to get a certain flow rate
tie it all together (OOP)
(add PID to control flow rate from pre set (point or curve))
make menu and decent input controls
encase
Possible extensions, logging & phone home
Cheers,
Ingo