Commit Graph

364 Commits

Author SHA1 Message Date
Andrew de Quincey
be4228da37 implement ocdetect and remove avgsel 2021-05-16 11:59:22 +01:00
Andrew de Quincey
6ab6dcd701 add open circuit detection code 2021-05-16 11:40:02 +01:00
Andrew de Quincey
82d7cab0a4 reorder register setup -- setup avgsel first, THEN enable continuous mode 2021-05-15 18:48:17 +01:00
Andrew de Quincey
c1ca132697 bugfix 2021-05-15 18:45:20 +01:00
Andrew de Quincey
225e591f35 don't change the GPIO unless we actually need to 2021-05-15 18:44:56 +01:00
Andrew de Quincey
6f92021f09 add line frequency setting and expose avgsel value 2021-05-15 18:27:15 +01:00
Andrew de Quincey
71ecd56499 Merge branch 'master' into noisecouple 2021-05-04 23:33:31 +01:00
Jason Bruce
2674cff92b
Merge pull request #20 from adq/ssl
Ssl support
2021-05-02 10:26:54 -04:00
Andrew de Quincey
ec3c825e8e fix percent calculation 2021-05-01 20:27:48 +01:00
Andrew de Quincey
83512b1faf fix simulated sensor 2021-05-01 17:34:13 +01:00
Andrew de Quincey
610ad4cdcd calculate bad percent in temperature thread to prevent threading/boundary issues 2021-05-01 17:32:44 +01:00
Andrew de Quincey
c955c1f595 detect too many errors and shutdown 2021-05-01 15:37:30 +01:00
Andrew de Quincey
74a4aa3770 fix config.temperature_average_samples 2021-05-01 15:16:03 +01:00
Andrew de Quincey
0f2eb392c9 typo 2021-05-01 15:03:38 +01:00
Andrew de Quincey
9c77d1ab30 add config parameters for controlling temperature 2021-05-01 15:02:51 +01:00
Andrew de Quincey
7bbc241578 Merge branch 'master' into temp
# Conflicts:
#	lib/oven.py
2021-05-01 11:50:40 +01:00
Andrew de Quincey
6239e7847b Merge branch 'master' into ssl 2021-05-01 11:49:34 +01:00
Andrew de Quincey
f580f91cc8 Merge remote-tracking branch 'upstream/master' 2021-05-01 11:40:42 +01:00
Jason Bruce
d60cc535d0 adding support to prevent integral windup 2021-04-30 20:27:19 -04:00
Andrew de Quincey
20aec09485 Merge branch 'master' into ssl 2021-04-30 00:04:34 +01:00
Andrew de Quincey
168e71a5e3 Merge remote-tracking branch 'upstream/master' 2021-04-29 23:07:32 +01:00
Jason Bruce
ba05052c1c fixed bug about integral. it should now be reduced to get more integral
action
2021-04-29 15:23:41 -04:00
Jason Bruce
775eb0a0f2 fixing divide by zero bug when thermocouple read fails five times in a
row
2021-04-29 15:08:53 -04:00
Andrew de Quincey
e1be00e2e3 fix comment 2021-04-28 23:38:36 +01:00
Andrew de Quincey
2963f7363b Merge branch 'master' into temp 2021-04-28 23:16:32 +01:00
Andrew de Quincey
86a38032da Merge branch 'master' into ssl 2021-04-28 23:16:15 +01:00
Jason Bruce
f1b8cdc91c added config.gpio_sensor_di to the config file and the code for
max-31856. Thanks Mark Tilles.
2021-04-28 23:15:54 +01:00
Andrew de Quincey
9b08342038 rebuild temperature error handling and smoothing 2021-04-28 23:10:48 +01:00
Jason Bruce
e16aab8e66 added config.gpio_sensor_di to the config file and the code for
max-31856. Thanks Mark Tilles.
2021-04-28 16:17:22 -04:00
Andrew de Quincey
bbc6f0987b Clean up protocol 2021-04-20 23:31:14 +01:00
Andrew de Quincey
38161150d7 Automatically copy with ssl 2021-04-20 23:29:27 +01:00
Andrew de Quincey
712ad761af Merge remote-tracking branch 'upstream/master' 2021-04-19 21:41:52 +01:00
Jason Bruce
1d26ae973f removed MAX31956Error import because it does not exist 2021-04-19 08:05:40 -04:00
Jason Bruce
c076fa6079 - added a few significant digits in logging statements to temps
- changed the wording of the emergency shutoff temp setting
2021-04-18 22:19:29 +01:00
Jason Bruce
d2206a82b2 Merge branch 'master' of github.com:jbruce12000/kiln-controller 2021-04-14 18:16:57 -04:00
Jason Bruce
c76b4331f1 - added a few significant digits in logging statements to temps
- changed the wording of the emergency shutoff temp setting
2021-04-14 18:16:03 -04:00
Jason Bruce
73a1d34259
Merge pull request #16 from adq/master
Add name of profile so secondary displays can work
2021-04-14 13:03:14 -04:00
Andrew de Quincey
07dbae9398 Add name of profile so secondary displays can work 2021-04-08 23:51:49 +01:00
Jason Bruce
df4d3bc91c - better handling of led for kiln element heating 2021-04-01 09:30:40 -04:00
Jason Bruce
eb4c212471 - show better estimation of time kiln elements are being heated
in web client
2021-03-29 19:22:35 -04:00
Jason Bruce
85553ec9d6 - added git to requirements
- changed oven resistance in simulation so it can get hot enough to
complete entire schedule
2021-03-25 17:40:50 -04:00
Jason Bruce
a3243097c7 - big change to PID class. It was not properly handling the integral.
Essentially it was never large enough to impact the loop. The integral
has been inverted so if you want more integral, define it as a smaller
number.
- added a comment to the config about changing the temp scale
2021-03-24 08:32:06 -04:00
Jason Bruce
2831c3094a - schedule shifting when cooling too slowly added
- increase window size where PID control takes effect
- average thermocouple readings instead of taking max
2021-03-20 22:09:44 -04:00
jbruce12000
b524360443 - another comment for a feature to fix 2021-03-17 20:14:00 -04:00
jbruce12000
a27acbace5 - comments for future work 2021-03-17 20:05:38 -04:00
Jason Bruce
d76d89ecd9 Merge branch 'master' of github.com:jbruce12000/kiln-controller 2021-03-16 17:46:34 -04:00
Jason Bruce
f0d2118fde fixed instructions for running a simulation 2021-03-16 17:46:02 -04:00
jbruce12000
23d6ff67b0 - need to uncomment a few requirements to get software to run on linux 2021-03-15 19:00:27 -04:00
Jason Bruce
fa815662d1 fixed improper plural 2021-03-14 21:48:41 -04:00
Jason Bruce
6d05d4045b changing sensor time wait back to 2s to match docs 2021-03-14 21:47:37 -04:00