Git Product home page Git Product logo

fermbot's People

Contributors

zrrichards avatar

Watchers

 avatar  avatar

fermbot's Issues

Investigate if ds18b20 is being read correctly

Ds18b20 is being read in through the 1 wire library as 48.019F but the w1_slave file says 8.875C (47.975) if this is just a rounding error then ok great. Otherwise figure out why the discrepancy. May need to shift to big decimal inside the fermbot code.

Add correction factor to DS18B20

Configurable (maybe can add a b and c terms of quadratic equation to configuration or to dashboard to correct temperature error)

Allow fermentation profile to be configured

set the current fermentation temperature profile based on temp or sg.
i.e. something like:
at SG: 1.025
increase temp to 62 for 3 days

or:
68 for 5 days
72 for 3 days

etc.

Power consumption calculator

Take in electricity cost per kWh and use known wattage of heater and cooler and determine running cost for batch

Adjust PWM Heating Algorithm

Figure out how to adjust the required duty cycle for the Pulse Width Modulation heating algorithm. Right now duty cycle is just
d(t, s, l) = (t - s + l)/l
where:
t is the current temp
s is the current setpoint
l is the lower bound of the setpoint.

i.e if the current temp is 47.5, the setpoint is 48 and the lower bound is 1, then the duty cycle is 50% (because 47.5 is the midpoint between 47 and 48).

This works well but if the ambient temperature drops too much then the duty cycle will not be enough to offset the heat lost to the environment.

Perhaps introduce a new offset to the duty cycle b and change function d above to be:
d'(t, s, l) = d(t, s, l) + b where by is empirically determined by trial and error.

Note that b must be between 0 and 1. 0 denotes that function d does not need a correction for ambient temp and a b of 1 signifies that the heater must be on a duty cycle of 100% in order to offset the ambient temp.

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.