DJR
I'm out
- Joined
- 7/2/06
- Messages
- 2,217
- Reaction score
- 36
So i finally got off my backside and have soldered up some DS18S20 temperature sensors and got myself a DS9490 USB interface.
Cranked out an old laptop and have put it all on there, used the great OWFS (http://owfs.org/) toolset to read the temperature sensors - all seems to be working.
I am going to be writing some control automation in Ruby - and have started here https://github.com/sykesey/tempcontrol/. Basically so far i have the things writing a temperature to a database every minute, and a simple gnuplot export to have a look at the temps.
The basic idea in stage 1 is to have a controlled HLT, using a 2400w SS element in a 40L Al Kettle or 50L keg, with 2 float switches, one for the boil dry protection (will be set up as an interlock on the element relay) and the other as an input to the system to tell it that the HLT is full.
The HLT filling won't be automatic but the float switch will be there for later.
Off the HLT i will then have a automated ball valve via TJFT - these come in at about $30 each and are good up to 90C apparently. Should be fine for HLT but to 90C means nowhere near kettle. No matter as i don't really want to automate anything in the kettle yet.
The mashtun will then have a ball valve automated for sparging, and then 3 (i think) float switches - one at about 60% volume, the other at about 80% volume, and the 3rd at just under 100% (more like 95%). For mashing and sparging rather than worrying too much about level sensors which seem too fragile and fickle, just fill the mash to 60% for a normal mash which still gives me the ability to either infuse (take it to 80% with hotter water) in the first stage, or recirculate at a later stage with a HERMs or RIMS tube setup as i add these bits in. Sparging just alternates between either 60-80% or 80-100% until the HLT empties - the a floatswitch in the HLT will tell me so.
I don't think having fixed 60%/80% steps will present a huge issue as i tend to use the same volumes anyway - i tend to just do beers at about 1.048 with 4-4.5kg of grain.
I/O will be all via other 1 wire devices - the DS2450 device provides 8 I/O pins which i'll use to fire off relays and valves. I have a 1wire ADC coming as well in case i need to do and ADC work - the one i ordered a sample of has 4 inputs 0-5v or 0-2.5v i believe with 16 bit accuracy.
I'll need a fairly beefy SSR and heatsink for the element relay but other than that most of this stuff is all going via the 1wire bus which means i have to be fairly safe in how it is designed - in the first stage i'll make sure the interlocks on the HLT element are there and then 100% float switch on the mashtun fires off a fairly hefty alarm in case it tries to overflow
Basic structure
USB control -> 1wire bus (RJ12 cable) -> 3x temp sensors (1 HLT, 1 Mash, 1 ambient) + DS2450 GPIO - GPIO connected with inputs from float switches (5) and outputting to 12V rail for ball valves (2) and 12V rail for HLT element SSR
HLT element SSR interlocked with extra boil dry floatswitch at least 1-2 cm above element level
Phase 2 stuff - HERMs build, march pump, multiple flows required (recirculation or drawoff) and maybe other things like automatic kettle fill and a better level sensor method
Photos soon - bit boring at the moment
Cranked out an old laptop and have put it all on there, used the great OWFS (http://owfs.org/) toolset to read the temperature sensors - all seems to be working.
I am going to be writing some control automation in Ruby - and have started here https://github.com/sykesey/tempcontrol/. Basically so far i have the things writing a temperature to a database every minute, and a simple gnuplot export to have a look at the temps.
The basic idea in stage 1 is to have a controlled HLT, using a 2400w SS element in a 40L Al Kettle or 50L keg, with 2 float switches, one for the boil dry protection (will be set up as an interlock on the element relay) and the other as an input to the system to tell it that the HLT is full.
The HLT filling won't be automatic but the float switch will be there for later.
Off the HLT i will then have a automated ball valve via TJFT - these come in at about $30 each and are good up to 90C apparently. Should be fine for HLT but to 90C means nowhere near kettle. No matter as i don't really want to automate anything in the kettle yet.
The mashtun will then have a ball valve automated for sparging, and then 3 (i think) float switches - one at about 60% volume, the other at about 80% volume, and the 3rd at just under 100% (more like 95%). For mashing and sparging rather than worrying too much about level sensors which seem too fragile and fickle, just fill the mash to 60% for a normal mash which still gives me the ability to either infuse (take it to 80% with hotter water) in the first stage, or recirculate at a later stage with a HERMs or RIMS tube setup as i add these bits in. Sparging just alternates between either 60-80% or 80-100% until the HLT empties - the a floatswitch in the HLT will tell me so.
I don't think having fixed 60%/80% steps will present a huge issue as i tend to use the same volumes anyway - i tend to just do beers at about 1.048 with 4-4.5kg of grain.
I/O will be all via other 1 wire devices - the DS2450 device provides 8 I/O pins which i'll use to fire off relays and valves. I have a 1wire ADC coming as well in case i need to do and ADC work - the one i ordered a sample of has 4 inputs 0-5v or 0-2.5v i believe with 16 bit accuracy.
I'll need a fairly beefy SSR and heatsink for the element relay but other than that most of this stuff is all going via the 1wire bus which means i have to be fairly safe in how it is designed - in the first stage i'll make sure the interlocks on the HLT element are there and then 100% float switch on the mashtun fires off a fairly hefty alarm in case it tries to overflow
Basic structure
USB control -> 1wire bus (RJ12 cable) -> 3x temp sensors (1 HLT, 1 Mash, 1 ambient) + DS2450 GPIO - GPIO connected with inputs from float switches (5) and outputting to 12V rail for ball valves (2) and 12V rail for HLT element SSR
HLT element SSR interlocked with extra boil dry floatswitch at least 1-2 cm above element level
Phase 2 stuff - HERMs build, march pump, multiple flows required (recirculation or drawoff) and maybe other things like automatic kettle fill and a better level sensor method
Photos soon - bit boring at the moment