Petrache Valentin
Published © GPL3+

Fermentation Monitor with Blynk Board

Knowledge is power. Brewing in the summertime is a definite problem if you don't have a way to keep the fermenter cool.

AdvancedWork in progress24 hours997
Fermentation Monitor with Blynk Board

Things used in this project

Hardware components

SparkFun Blynk Board - ESP8266
SparkFun Blynk Board - ESP8266
Power MOSFET N-Channel
Power MOSFET N-Channel
Adafruit Waterproof DS18B20 Digital temperature sensor
Adafruit Waterproof DS18B20 Digital temperature sensor

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)


Read more




Code for IDE

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Wire.h>
#include <SI7021.h>
#include <SimpleTimer.h>  
#include <OneWire.h>
#include <DallasTemperature.h>
#define coolerPump 5

#define ONE_WIRE_BUS 12
#define SDA 2  // GPIO2 on ESP-01 modulee
#define SCL 14 // GPIO14 on ESP-01 module

char BlynkAuth[] = "";
char WiFiNetwork[] = "";
char WiFiPassword[] = "";

SI7021 sensor;
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
SimpleTimer timer;

void setup()
  pinMode(coolerPump, OUTPUT);
  timer.setInterval(1000L, sendSensor);
  timer.setInterval(1000L, BeerTemp);
  Blynk.begin(BlynkAuth, WiFiNetwork, WiFiPassword);

void BeerTemp(){
  int tempBere = sensors.getTempCByIndex(0);
  Blynk.virtualWrite(V5, tempBere);

void sendSensor(){
  int temperature = sensor.getCelsiusHundredths();
  int humidity = sensor.getHumidityPercent();
  int temperature2 = temperature/100;
  Blynk.virtualWrite(V6, temperature2);
  Blynk.virtualWrite(V7, humidity);
  if (sensors.getTempCByIndex(0) >= 30) 
    {digitalWrite(coolerPump, HIGH);
       else {digitalWrite(coolerPump, LOW);}

void loop()

Blynk library

On-Board Temperature Library

SimpleTimer library


Petrache Valentin

Petrache Valentin

4 projects • 23 followers
Electronic engineer and hobbyist, during my life I have worked with all known embedded motherboards and shields. I'm looking to improve life with great ideas.