Jump to content
ThreeDJ16

Build Your Own BBQ Controller (w/Wifi)

Recommended Posts

FYI, do we have anyone on the board interested in developing their own Wifi server BBQ controller and software? That way we would have complete control over features and functions.

I started out researching a better way to communicate from the computer to the BBQ Guru CyberQ and stumbled upon Arduino microcontrollers. There are loads of groups out there developing all sorts of neat applications for these little devices. They have also developed plenty of software librarys to run on these microcontrollers. So I purchased one along with a USB host controller shield (a shield is an additional board that plugs into the base Arduino board to add different functions to it).

http://www.arduino.cc/

http://www.amazon.com/Arduino-UNO-board ... B004CG4CN4

http://www.sparkfun.com/products/9947

Anyway, after more research I found a group of coffee roaster folks that had developed their own shield board which added thermocouples to the Arduino and had written PID & monitoring software for the purpose of controlling their roasters. Didn't take much from that to think it would be great to modify it for a KK and have a single controller that does everything I want, not even needing the CyberQ.

http://www.homeroasters.org/php/forum/v ... post_28017

http://www.mlgp-llc.com/arduino/public/arduino-pcb.html

http://code.google.com/p/tc4-shield/

http://www.sparkfun.com/products/9954

http://www.adafruit.com/index.php?main_ ... cts_id=271

I have purchased everything above (except Wifi board - that will be last) and have a working model running their software. I also modified their code library written for TypeK thermocouple to work with the standard Guru TC which is TypeT. I am looking for anyone interested in starting up a similar project as the coffee roaster guys, except for grilling. The Arduino language is based on C/C++.

-=J

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

I've played with the Arduino I got at Maker Faire a year ago but haven't done much practical with it, yet. There was an Arduino intro class at Ace Monster Toys last week but my schedule didn't allow getting to it. Sounds like a controller would be a good Arduino project, though.

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

The issue with RTD is going to be the interface board (signal amplification to get the resolution needed for accuracy). I have not run across anyone with an Arduino RTD shield. Now thermistors could be used directly with the main arduino board, but you would be limited by the number. And I typically have not had great luck with cheaply made thermistor probes.

So being these guys developed a very nice TC board (and offer it for sale) and all the existing software, seems that would be a good way to go. Not to mention, change the term strips out for phone plugs which makes it completely Guru plug compatible. They also have developed the LCD board which has 4 buttons and 3 leds on it connected by IC2 (so it does not tie up the Arduino I/Os). Check out the pics of the full unit in their google code page....pretty nice.

Since we are talking about controlling a grill and not nuclear fission (fyi, all the reactors I have seen use TCs at the bottom of the vessel), TCs should be just fine to use. Not to mention cheap, easy and sturdy. The Guru folks have used them on all their controllers and with results verified by Whizzy, are pretty darn accurate for the purpose we use them. Faster TC response might also be helpful with open lid detect since you need to see a sharp temp drop over a very short time.

-=J

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

Yeah, TCs are probably fine for a cooking application.

I had to go to RTD's in the software controlled still I've been building for a large client, because we really need 0.1 deg C precision AND accuracy in order to adjust power or reflux quickly and keep the column in equilibrium as the boiler depletes.

I'm currently using a NI backbone, industrial strength, but very spendy. I was hoping that I might find something that would do the job in the open source community.

Cheers,

Mike

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

I've played with the Arduino I got at Maker Faire a year ago but haven't done much practical with it' date=' yet. There was an Arduino intro class at Ace Monster Toys last week but my schedule didn't allow getting to it. Sounds like a controller would be a good Arduino project, though.[/quote']

Agreed! For myself, it is a learning platform for C/C++ (yes, my last programming class taught Fortran, Pascal, Cobol, Basic...so way behind the times). But at least the basic process is still there (plus I develop Filemaker databases which helps a little). Luckily with the internet, it is so easy to find a wealth of knowledge, resources and free programs to learn with. FYI, all software for Arduino is free and it also works with Arduino clones.

I already have several BBQ controllers, but thought it would be cool to have something developed by a group of BBQ folks, for us. Everything being open source and non profit would mean anyone can build it, tweak it for their own needs and share with the group. I am always amazed at all the cool toys and methods for use people can think up. And with a like minded end use, we all benefit. So hopefully, there will be some interest.

-=J

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

Yeah, TCs are probably fine for a cooking application.

I had to go to RTD's in the software controlled still I've been building for a large client, because we really need 0.1 deg C precision AND accuracy in order to adjust power or reflux quickly and keep the column in equilibrium as the boiler depletes.

I'm currently using a NI backbone, industrial strength, but very spendy. I was hoping that I might find something that would do the job in the open source community.

Cheers,

Mike

Yeah, I completely agree in your application since temp ranges are so tight. There are posts out there of people who have used Arduino for RTD, but unfortunately I did not come across any premade shields.

Just curious, Moore used to make a tiny PLC called the Equation Station that easily handled RTDs. From what I remember, they were pretty cheap as I have one. Though you still have to buy their software to program the device. Used to deal with PLC and DCS systems once upon a time.

-=J

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

The idea of a crowd-sourced temperature controller is kind of neat. Especially since I now think I need to rewrite stoker_mon, anyway. The Stoker seems a little underpowered for my technique of using a JSON polling method - it was fine with a fan and three probes, but with two blowers and four probes the Stoker is fairly unresponsive. I'll probably need to work on a telnet-based interface instead of polling the webserver, in the mean time maybe just adding some (adaptive?) delay between polls will help...

One thing I like about the Stoker is that they have arbitrary configurations. This necessitates some sort of identifier in the plug, though, so that would kill the idea of reusing Guru probes. I suppose there's no problem with putting the identifier into the female side of the plug (essentially making the blower/probes position dependent), but it would be nice to be able to auto-detect if it's a blower or a temperature sensor.

An alternative solution is to have standalone adapters that add a small identification mechanism. That also opens us up to allowing other temperature probes more easily, something like a Maverick probe adapter for example. We can also use a different connector type if we want a higher density of ports. With a little forethought we may be able to handle un-identified probes as well using a manual assignment.

Sadly, I'm much better at coming up with requirements than actual implementation ;) Still, if you want the structure of a formal design doc I'd be happy to lend a hand.

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

I'll play, I like wiring little electronics projects though I'm an amateur. I thought up a circuit on my own to charge 12 V worth of rechargeable batteries using a 12.25 V iPod charger, evading the usual 1.5 V overhead by using a "current mirror". (Instead of wasting voltage I'm wasting current a different way, but that makes the charger viable.) Now I notice there's not quite the ideal board that reads both 4-pin PWM fan headers on a computer motherboard, buffers and converts to analog, amplifies to run many, many 3-pin fans under motherboard control. Easy, a pair of C-R buffers to smooth PWM to voltage, op-amps to replicate the voltages with no load, and then a pair of power amps. (I'm stuck on which one to choose for 30 watts output @ 12 volts, but I'll figure it out.) Most computer fan controls are ridiculously overwrought, but why do anything in hardware that can be done in software? My motherboard has the best idea of relevant temperatures, and it offers fine control of both PWM fan headers.

This puts me squarely in the analog camp, but I'd love to play with these digital controller boards. My bias is toward finding the simplest answer. I learned this from my Dad who designed the filter used in most digital cameras.

I'd say it's crucial that any device put up a web page; if an $85 laser printer (until 4/11 various sources, including wireless, ethernet and auto duplex) or a $30 router can manage this, so can we. Then simply identify the different plugs using the web page, never waste hardware on something that can be done in software?

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

While I do like the arangement Stoker has implemented whereas you can use any jack to plug in any device, that throws in many more complications. After doing some googling, that chip (called a 1-Wire) in the Stoker is not just identifying the device, it is transmitting the signal (if it is a temp probe). So if they are using a TC, then is it must have the ability to amplify too. Same people that make the Stoker's board, also make the 1-wire chip. I have read some posts about people interfacing 1-wire chips with Arduino......will look and see what is involved.

http://www.maxim-ic.com/products/1-wire/

I forgot to look the last time the stoker was apart, but I am guessing the for fan and signal from 1-Wire chips is handled via different prongs on the phone plug (they can even have mechanical switching available on the jack side).

Oh yeah Syz, the PWM is easily handled on the Arduino. One of my first projects was creating a dimming LED via PWM. For the fan, just use a solid state relay on an output pin and control away. Also the web server is there. When you add the Wifi card, you can add the webserver software. There is already a library written for it....in my original post, check out the link to Arduino, then library section.

-=J

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

What people do in audio DIY forums, once they get the design down, is to make a limited run of the custom circuit board. One buys the custom board from the forum collective, then goes to Mouser, DigiKey etc to buy the parts to populate it. Keep the surface mount components on a large enough scale, and one can (with care) solder them by hand.

For discrete components I've engraved blank copper boards by hand; seemed easier than the whole chemical etch thing. One still has to drill holes, though one can just pay to have the prototype fabricated. Or there's the whole SchmartBoard approach; I've found their jumper cables incredibly handy for quick electronics mods.

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

I do have contacts in the manufacturing realm, I'd be happy to tap those for a quote once we get a design down. Depending on how many people are interested we can also look into an injection-molded case, but I'm guessing it would be a lot more cost effective to attack a generic box with a Dremel.

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

A reflow oven (plenty of homemade designs out there) would be nice for SMD components, but I have hand soldered some pretty small SMD parts. There are some other homemade devices, one made of a desoldering iron, that can make the job easier. My favorite is the Reflow skillet (http://www.sparkfun.com/tutorials/59). Also, there are plenty of places online you can get the boards nicely manufactured once you have a layout drawing.

http://batchpcb.com/index.php/AboutUs

In agreement about Mouser, Digikey and have also used PartsExpress (more audio related stuff).

I definately like the idea of the custom case. FYI, the link below looks just like the Guru Procom remote case? Here are a couple of places that have loads of premades and do custom.

http://www.pactecenclosures.com/product ... classid=27

http://www.polycase.com/

An LCD readout is also a must. I did find an article on connecting an LCD via the 1-Wire system. Also found out they have 1-Wire buttons and loads of other devices that could be cool addons.

But first things first, microcontroller platform? Existing premade or completely custom? Addon board? 1-Wire system or the TC-4 shield board listed above? The biggest unanswered question is software design and computer interface? Guessing that depends some on the microcontroller.

I am already partial to the Arduino and there is so much out there for it already. They are a whole $30, so anyone can grab one and develop from that base. I have already purchased a TC-4 with lcd/button board, but willing to chalk it to learning if we can actually come up with a better way to interface whatever temp device with the microcontroller. One downside to the Arduino is nobody is currently making a clone (that I have found) that has Wifi built into the base board. There was one company, but they went out of business in the last month. The Wifi cards add another shield layer to the board and considerable expense being they are only B & G ($50-$90 which is rediculous for that). Each additional shield layer complicates the case design too. If we stuck with only one additional shield, the case I posted in the first post was already custom made for the arduino board, one shield, button cutouts and an LCD. I am probably up to the challenge with handling the board soldering for those who need it (provided the numbers were not rediculous), but I am just starting out on the software side. Would need someone to take the lead on that aspect.

-=J

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

OK, I give up. I've ordered an Arduino starter kit to play with. I want to see what the software looks like and if I can get an HTTP (HTTPS?) and SSH server running on it.

One of my contacts may be able to build us a custom board once we've cobbled together some prototypes. Most of his experience is in FPGA design and his focus is on high bit-rate telecom systems rather than price so it's not a slam dunk. But if we end up with something the size of a dorm fridge I wouldn't worry too much, we'll fix it in the respin ;)

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

I'm actually wondering if a Gumstix-like solution would be a decent choice. Reading a bit about the Arduino it seems a little limited from a management interface perspective - I'll know more once I play with it a bit. What if we had an Arduino as a dumb microcontroller paired with a Gumstix system-on-a-chip providing the Ethernet connectivity and management interface? It does bring the cost up a lot (without volume, I think a WiFi-enabled Gumstix is $200 - there may be cheaper competitors), but it's my impression that the Arduino Uno probably would need custom software to access it which would mean trying to develop cross-platform code (Qt, perhaps? Problem is the future of Qt is in the air with Nokia's troubles...). With a GumStix we could have a web-server and SSH/Telnet server built-in.

http://www.gumstix.com/

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

Cool, glad you grabbed one to play with, as they are a fun little toy. You can grab their IDE and start playing immediately. Not sure what more is needed with the management software, as you can already host a web server that can control the device and display basic information (just need to add a wifi or ethernet shield for that). Another interesting thing, I had forgot there is another program that can be used with the Arduino called Processing. It was designed for interfacing with Arduino and displaying data....such as a nice temp graph. The coffee roasting guys use it along side their arduino programs to get a nice temp graph of their roasts.

http://www.arduino.cc/playground/Interfacing/Processing

I agree the Uno is limited, but what is needed for a BBQ controller? As long as it has enough inputs/outputs to do all the functions we need. Would be much nicer with an embedded Wifi controller and 1-wire (if we go that route).

Another thought is something suggested to me by another forum member (Dan), you could just buy a Tini board from the same people as Stoker. I believe they were in the $100 range. Not sure if any have the Wifi built into any boards, but that would be easy enough to check. Since they also built the 1-Wire chips, stands to reason interface with them should be built in. Will look into them more when I get the chance.

FYI, not had a chance to do this since I have been working nights all weekend, but next couple of days off I will break open the Stoker probes and try to identify the chips used in the connectors. Also I want to get a better understanding of power distribution via their jacks.

-=J

Link to comment
Share on other sites

Re: Build Your Own BBQ Controller (w/Wifi)

Playing around a bit with the IDE I do see a webserver example which is promising. Being security conscious I'd much rather have a secure protocol like SSH or HTTPS which I don't think it can handle, but there are options I'm considering - especially if we go the stoker_mon route where I don't mind a mostly insecure connection from PC to controller because I can add security on the webserver. If I ever get any spare time I'll try to slap together a document or two.

Regarding WiFi, my only real request is WPA2 support. So far it seems like most routers support B, there is a risk that it could be dropped in the future but until then I can't see any issues with network speed. And hopefully there will be a drop-in replacement module (perhaps even cheaper than today's B module).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...