Git Product home page Git Product logo

arduino-pid-control-for-isothermal-chamber's Introduction

PID-Control-Chamber

Control code and electronics for the isothermic chamber of my PhD

Welcome!

I'm glad to share this PID control project, including the electronic design from the PCB and the related Arduino code.

This cooler was usewd to cool down a piezoelectric sensor to a minimum of 5 Celsius. The power delivery of the Peltier used is not high enough for cooling further, however for the purposes of this particular project that was more than enough. In onrder to increase the cooling capabilities use a higher power cooler BUT keep in mind that it must be rated to < 5A at 12V.

The board and code are broadly described as follows. Please check the code and schematic and if you have any questions leave a comment.

ELECTRONIC BOARD

This PID control is for the control of a relay rather than a MOSFET or Bipolar transistor. The relay is rated to 12V and 5A, is a miniature relay (give me some time to retrieve an exact model number). The PCB was originally drawn on Proteus 8.4/8.6. Despite its simplicity is a robust design that incorporates an I2C LCD, a rotary encoder, an NTC as the temperature sensor and a custom-made keyboard.

The PCB has a form factor as small as 40mm x 60 mm

alt txt

ARDUINO CODE AND INSTRUMENTATION

An Arduino Pro Micro Leonardo was powerful enough for this project.

Libraries used and general description:

a. The core of this project is the PID library <PID_V1.h> by Brett Beauregard. Further technical information about this library can be found here.

I must say that his library works like a charm but it needs a lot of fiddling to tune up.

b. In addition my code uses interrupts to read the changes from the rotary encoder. I literally used a salvaged encoder from I microwave I burnt ๐Ÿ”ฅ a bag of popcorn in and it was totalled afterwards (I almost evacuated the entire building after burning it ๐Ÿ˜ถ)

c. The instrumentation was developed with the GINOURMOUS help from the of blog of Joseph Corletto.

d. The NTC is a 10kOhm thermistor from Vishay

e. The Peltier cooler originally used can be found here

f. The classic DHT22 humidity sensor was used. I don't add a link becuase you knoiw where to find them. They are E V E R Y W H E R E!

g. An acrylic and very nice enclosure like this was used.

The front panel looks like this:

alt txt

NOTE: That nan from the humidity sensor was simply a bug that I promptly solved

#TODO

  1. Upload a clear schematic for the keyboard. However the pinout can be extracted from the code
  2. Port the schematic to kiCAD
  3. Cleanup and comment the code
  4. Buy more beer...

Cheers! ๐Ÿบ

dzalf ๐Ÿ˜Ž

arduino-pid-control-for-isothermal-chamber's People

Contributors

dzalf avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.