Constant Simmer is a Python script for RaspberryPi that interfaces with a DS18B20 temperature sensor and the Digital Loggers IoT Relay, and allows you to keep your pots at a constant simmer! No need to tend to the stove, and no risk of boiling over!
You will need:
- Raspberry Pi with GPIO pins
- DS18B20 temperature sensor
- Digital Loggers IoT Relay
- 4.7k Ohm Resistor
- Leads (recommend an assortment of Female to Female, Male to Male & Female to Male)
- Either a breadboard or a circuitboard and a soldering kit
- A hot plate or other device to control
- Connect data wire (yellow) to pin 7 (GPIO 4)
- Connect power wire ( to pin 2 or 4 (5V)
- Connect 4.7k Ohm resistor between data and power
- Connect ground wire (black) to pin 6 (GND)
- Connect pin 22 (GPIO 25) to positive input of IoT Relay
- Connect pin 20 (GND) to negative input of IoT Relay
- Plug in the IoT Relay to the wall
- Plug in the Raspberry Pi to the "Always On" plug of the IoT Relay
- Plug in the hot plate to the "Normally Off" plug of the IoT Relay
- Put your pot on the hot plate and hang the temperature sensor inside, so the sensor is submerged (careful that the cable is not touching the hot plate)
- Turn the hot plate to it's max setting
- SSH to the Raspberry Pi* and run
python temp_control.pyin the terminal. The hot plate should turn on and you should start seeing temperature readings in the terminal. - By default,
temp_control.pyhas a target simmer temperature of 82 deg C, but you can adjust the target temperature while the program is running by typing a new temperature in deg C in the terminal or by providing a command line argument likepython temp_control.py 75 - Go for a bike ride, read a book, visit a friend, and know that your pot is being kept at a constant simmer! (NOTE! Keep the SSH terminal open and running!)
*If you have not connected via SSH before, I recommend downloading the iPhone App PiHelper, or the Windows program PuTTY. Both devices (Raspberry Pi and phone/computer) must be on the same WiFi network. If in doubt, you can connect a keyboard and monitor to your Raspberry Pi and set your default network, which it will automatically join upon startup in the future. If you will be using Constant Simmer in a location with no internet, you can set your Raspberry Pi to run temp_control.py upon startup.