PWM control experimental - craftbeerpi/craftbeerpi GitHub Wiki
Best information on subject so far:
The Pulse With Modulation (regulate % power on heater), it can be manually added to CBP2.2 and is expected to be part of CBP version 3.0
PWM regulation involves constant on/off cycles, depending on how many % on time is required.
Two things needs to be done:
- navigate to the CBP folder and select
brewapp/base/automatic/__init__.py
Within that __init__.py file you will just have to add 1 line at the bottom import pwmstep save the file.
-
next you are going to have to make a new file at
brewapp/base/automatic/pwmstep.py -
Navigate to the
brewapp/base/automaticand right click and say "new file". Name that filepwmstep.py -
Now go to
https://github.com/.../brewapp/base/automatic/pwmstep.pycopy that whole code (57lines) and just paste it into the new file you just made. (link) -
Save it.
Reboot your system and it should be all set.