I got stuck at the electronic side of things. I require a specific chip, which I've ordered. Unfortunately, that order comes from the UK and who knows when that'll arrive in Oz during the silly season...
Pissed off that I couldn't get moving on the PID build, I decided to put the plan on the side and just hook the Arduino up to a .NET application and run it all from there.
I'd heard a lot about this being difficult, and initially I did look into things like Firmata. There's even a port over to VB.NET, which is what I prefer to use. Honestly, I couldn't get it to work, I didn't know what the fella had done, but the Arduino didn't react to any of the code transmitted to it from the application. I could see it arriving, but nothing would happen.
So what do you do? You code something up from scratch, that's what
![Big Grin :D :D](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
My Arduino now has some simple code in place that accepts commands coming in via the serial port, which is then able to turn on and off things like LEDs and elements.
Outgoing communications are also possible, again via the serial port.
This is what it looks like at the moment, infant stages, but the basics are there to control an element.
I have wired up a temperature probe (DS18S20) and two LEDs.
If the temp is higher than 33.00C then the green LED will go on, good fun sitting in an office at those temps...
Ahhh QLD how I love thee, but also beer, delicious cold beer :chug:
So next is to and in the complete PID algorithm along with entry points for Kp, Ki and Kd values. Also somewhere to enter the mash steps' temp values,
I've looked at creating a gauge for the temps, ala Keg Kings one that goes on the physical mash tun... We'll see how keen I get... I do want to keep a graph logging the temps though.
Cheers
Martin