Giter Club home page Giter Club logo

heat-o-matic's Introduction

An abandoned (for now) splashpage design

YouTube Channel Views

Heat-o-matic

A proportional integral derivative (PID) controller that will be used to run a home-made precision heater. PID is a fancy way of saying that the code plays a game of 'Warmer', 'Colder' to get something to a particular value (in our example, a particular temperature). The internet is littered with examples of these things, so it is primarily a didactic exercise that will use a few bits of code we've previously developed, and hopefully it will make us a little smarter along the way.

(You can use the PID controller to regulate other things, depending on the sensor and device being powered. It just needs to measure something, and to be able to influence that measurement. People have used PID controllers to make robots follow lines, and other things I can't think of right now)

Hardware

  • Raspberry Pi Pico
  • SSD1351 Waveshare OLED
  • WGCD KY-040 Rotary Encoder
  • DS18B20 Stainless Steel Temperature Sensor (with 5K1 pull-up resistor)
  • A relay switch
  • A plug socket for the heating device. For cooking, we use one of these
  • Wires Galore

Warning: Don't generate heat using something that dislikes being power-cycled a lot. This is GPL code, ie NO WARRANTY

Installing Heat-o-matic onto a Pico

First flash the board with the latest version of micropython.

Then clone this repository onto your computer

 git clone https://github.com/veebch/heat-o-matic

and move into the repository directory

 cd heat-o-matic

There are a few files to copy to the pico, ampy is a good way to do it.

 sudo ampy -p /dev/ttyACM0 put ./

substitute the device name to whatever the pico is on your system.

Wiring

All of the pins are listed in main.py. Note that the temperature sensor needed a pull-up resistor on the signal. Also, the switch on the roatary encoder (that was being used as a means to toggle the UI) is disabled as it was being triggered by the relay.... this can probably be fixed with a capacitor.

TO DO: Draw wiring diagram.

Using heat-o-matic

Plug it in, pop the temperature probe into the medium you are going to heat, plug the heat-providing device into the plug socket, pick a setpoint using the dial. That's it!

Video

Cooking With Micropython

From GitHub to GutGrub. Thank you, thank you, I'm here all week, don't forget to tip your waitress.

Contributing to the code

If you look at this and feel like you can make it better, please fork the repository and use a feature branch. Pull requests are welcome and encouraged.

Licence

GPL 3.0

heat-o-matic's People

Contributors

veebch 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.