Kiln Controller
Jump to navigation
Jump to search
To Do
- Temperature sensor volatility remains a problem, rendering the PID D term unusable.
- Implement a better smoothing function. Consider forward weighted moving average over significantly more than 10 terms.
- Look at the run from 2024-09-03 to find out the period of the high temperature swings.
- Look at the data from 2024-09-04 to find the noisiness at low temperature.
Rebuild
Simulator
Log Reader
- Parse JSON ovenWatcher lines.
- Plot results in Jupyter notebook.
- Put this stuff on Kanban
- 2024-09-07: simulator v1 working
Sensor
Notes
CLI
$ rsync -avz kiln-controller/ pi-kiln:./kiln-controller/ --exclude '*/profiles/*' --exclude '*__pycache__*' $ pip install adafruit-circuitpython-bitbangio adafruit-circuitpython-max31856 RPi.GPIO $ rsync -navz ./ pi-kiln:./kiln-minder/ --exclude='venv' --exclude='.git' --exclude='__pycache__' $ rsync -navz ./ pi-kiln:./kiln-mind/ --exclude '*__pycache__*' --exclude '*.git*' --exclude '*venv*' --exclude '*minder.log'
$ pip install adafruit-circuitpython-bitbangio adafruit-circuitpython-max31856 RPi.GPIO # old $ pip install adafruit_blinka adafruit-circuitpython-max31856 numpy mysql-connector-python
$ rsync -navz 192.168.0.6:./Documents/hacking/code/kiln-controller/python/kiln-minder/ ./kiln-minder/ --exclude '*/profiles/*' --exclude '*__pycache__*' --exclude '*.git*' --exclude '*venv*'
Other
- Kiln Controller: https://digitalfire.com/url/3306
- Thermocouple Amplifier: https://learn.adafruit.com/adafruit-max31856-thermocouple-amplifier/pinouts
- Testing: https://learn.adafruit.com/adafruit-max31856-thermocouple-amplifier/wiring-and-test
- Pi 31856; soft SPI failed, hard SPI succeeded: https://forums.adafruit.com/viewtopic.php?t=112301
- Watchdog Timer: https://pimylifeup.com/raspberry-pi-watchdog/
- Kiln Controller 2: https://www.instructables.com/Build-a-Web-Enabled-High-Temperature-Kiln-Controll/
- 5 Years Since Update: https://github.com/botheredbybees/kilnController
- Game Icon Mugs: https://www.etsy.com/shop/Dwarvesong
- Firing
- Kiln Coil Installation
- Tactile HID
- I2C Quad Buttons: https://www.adafruit.com/product/4980
- I2C Quad Encoder: https://www.adafruit.com/product/5752
- Cherry MX Keycaps: https://www.amazon.com/dp/B0D4LZQL6H
Run 1
- Thermocouple response is very laggy.
- Clock doesn't run when temperature is outside range.
- Laggy thermocouple means temperature overshoots.
- Rate throttle is aggressive, but necessary given laggy thermocouple.
- Temperature reading may be a bit on the low side (actual is 5 - 10f higher), though tough to say because of lag.
EMF Noise
- 44 - 53 degrees at 1832 (started at 44, increased to 53)
- 9.5 degrees at 1100 (a bit fuzzy, lots of pulsing)
- 80% power to maintain 1832