DIY Arduino PID and Web Reporting Temp Control

details

Here is a tutorial to create your own arduino based PID controller unit that sends all of its data to a web server. Also included is the HTML/PHP required to pull up the graphs of your data to view it real time.

Shown below is the web based dashboard which will be created from data collected by the arduino. This can be viewed from your PC or phone. The web page updates itself every 30 seconds so it is always up to date. You can see by the chart below that when I pulled the graph I had turned on the heater about 86 minutes prior. Although further work could be done to tune the PID and reduce the variability (although it already is controlling to +/- 0.5F).

 

arduinoPID

Hardware

  • Arduino Uno
  • Ethernet Board, Ethernet Cable, and Working Ethernet Router
  • Breadboard
  • Potentiometer
  • DS18B20 Temperature Sensor & 4.7k ohm resistor

Arduino Temp Control

 

Temp Sensor DS18B20 – Connect as shown by the diagram below:

DS18B20_2

Connect Pin 1 to Ground.

Connect Pin 2 to Arduino Digital 2 (this will send the temperature to the arduino)

Connect Pin 3 to 5V

The most important part is to place a 4.7kohm resistor from pin 2 to pin 3

Source : http://fermentationriot.com/arduinopid.php

Here is a tutorial to create your own arduino based PID controller unit that sends all of its data to a web server. Also included is the HTML/PHP required to pull up the graphs of your data to view it real time.

Shown below is the web based dashboard which will be created from data collected by the arduino. This can be viewed from your PC or phone. The web page updates itself every 30 seconds so it is always up to date. You can see by the chart below that when I pulled the graph I had turned on the heater about 86 minutes prior. Although further work could be done to tune the PID and reduce the variability (although it already is controlling to +/- 0.5F).

 

arduinoPID

Hardware

  • Arduino Uno
  • Ethernet Board, Ethernet Cable, and Working Ethernet Router
  • Breadboard
  • Potentiometer
  • DS18B20 Temperature Sensor & 4.7k ohm resistor

Arduino Temp Control

 

Temp Sensor DS18B20 – Connect as shown by the diagram below:

DS18B20_2

Connect Pin 1 to Ground.

Connect Pin 2 to Arduino Digital 2 (this will send the temperature to the arduino)

Connect Pin 3 to 5V

The most important part is to place a 4.7kohm resistor from pin 2 to pin 3

Source : http://fermentationriot.com/arduinopid.php

COMMENTS

Please Login to comment
  Subscribe  
Notify of