We use our barbecue grill and our deck frequently. After once leaving the grill on all night, I wanted an easy way to check to make sure the grill is off before going to bed. This is especially important since our grill is tapped into our natural gas line and will stay on forever if we don't shut if off. We also like to leave our deck door open when it's nice out but it bugs me when I notice the door open and cool air is coming in, sometimes kicking on the furnace.
The goal of this project was to:
- Display the inside and outside ambient temperatures on an OLED in the kitchen,
- Light a red LED if the grill is on (i.e., grill temp exceeds a pre-determined temperature),
- Display the grill temperature when it's on,
- Light a blue LED if the temperature outside is colder than inside and the deck door is open and display a message indicating the deck-door should be closed.
Since I'm new to both programming and electronics, this project took me quite a few hours to complete but it was a great challenge, it was fun, and I'm happy with the results.
There are quite a few wires inside the device, some of which are shown on the following photo. You end up with even more after you run the signal wires (2 temperature sensors, magnetic door switch, thermocouple, power) to the box.
Everything fit snugly inside a 1-gang switch box. I would rather use a 2-gang box for more room but we already had an unused 1-gang box mounted in the perfect location in the kitchen backsplash.
Normally, the OLED will display the indoor and outdoor ambient temperatures.
If we open the deck door and the outside temperature relative to the inside temperature indicates we're probably loosing heat, a blue LED will light and the OLED will display a message telling us to close the door.
Once we turn on the barbecue grill and the temperature inside the grill exceeds 120F, a red LED lights and the grill temperature is displayed on the OLED. The grill operation overrides all other functions.
A couple notes regarding the code. First off, I'm sure there are better ways to do the coding. As mentioned, I'm new to this game so I'm open to suggestions for improvements. In general, my code works. I'm having one issue where the grill temp occasionally scrambles and then returns to normal. I haven't had time to figure out what's going on. I'll get to it someday.
Comments