(Watchdog+Screen)Creality MB PID Temperature Control Two Output by SurgeFF 3d model
3dmdb logo
Thingiverse
(Watchdog+Screen)Creality MB PID Temperature Control Two Output by SurgeFF

(Watchdog+Screen)Creality MB PID Temperature Control Two Output by SurgeFF

by Thingiverse
Last crawled date: 2 years, 10 months ago
Video demo uploaded:https://youtu.be/uTS_a1yQuv4
LGA12864 screen readout code added. Nothing fancy, just temp readout for now. Ill throw in the bells and whistles soon.
Watchdog added for safety. Will monitor probe values and when the probe falls outside normal operating parameters or gets unplugged, board will pull output(keep trying every 2 secs) until probe it reconnected or replaced; then will output normally.
This is a general repurpose of a Creality Mainboard for controlling two outputs based on temperature readings from a probe NTC-100. The code is basic Arduino, so if you know what your doing, you can rename the pins appropriate to your use. Also raw sensor reading should be in the 979 area in an environment of 25c or 73F. If your probe is different, then you need to compensate the formula to have your readout in proper F. These sensors are actually pretty sensitive to temperature, so you can slow the sample rate so every second or so and still have reliable temperature readings to trip a output.
Basic parameters are trigger point at ~80degrees F. Each probe controls their own output. I'm including the pinout for standard Creality boards so you can understand which outputs I have currently setup if your building exactly the same as mine. Pictures to come soon. Included is a general portable case for these boards.
Probe 1 plugs into E hot.
Output 1 is B Heater.
Output 2 is E Heater.
Switch is Z-stop.
Note the operating principle is AND/OR waiting for input from a switch and/or 80F reading from a probe -> control On/Off of two outputs. Meaning the two outputs can be triggered by the switch and the probe going over the set limit. Either/or.Currently only using one output due to blown mosfet.
Note PID tuning is auto unless changed in the code.
More tips on how to change for your use:
"wSetting" is your watchdog setting(1-3)(default 1)[1--loops the watchdog when tripped, 2--resets the controller, 3--force output off then reset controller].
"Setpoint" is user target value.
*"SampleTime" is how often watchdog checks the probe(default 0.5sec).
"inAuto" is your way to turn PID auto tuning on and off(true = on, false = off).

Tags