Commit graph

73 commits

Author SHA1 Message Date
Serge Bazanski 4df00f0a63 succd: factor out ringbuffer, do not recalculate average on every request 2024-09-28 09:35:41 +02:00
Serge Bazanski 42c9ae2fa7 succd: httpServer -> webServer 2024-09-28 09:19:14 +02:00
Serge Bazanski f66afc0c8f succd: restyle slightly 2024-09-28 08:32:07 +02:00
Serge Bazanski 8f7ec7e141 succd: split out http server, daemon state, daemon controller
This improves the structure of the code, separating the data/control
interface out and then implementing the http interface as a user of this
interface.
2024-09-28 08:10:35 +02:00
Serge Bazanski 3ec6fd1d1b succd: unify html/js data source 2024-09-28 07:54:18 +02:00
Serge Bazanski 776f7a9911 succd: add hysteresis for high pressure safety interlock 2024-09-28 07:36:37 +02:00
Serge Bazanski 239a5c40cc succd: factor out safety status to separate struct 2024-09-28 07:36:37 +02:00
Serge Bazanski 80f482b732 succd: tristate pirani safety detection 2024-09-28 07:31:06 +02:00
Rahix 85d2afbdd0 succd: Fix javascript and template syntax errors
Turns out the go templating engine fails silently when unclosed strings
are present in the templated file.........

Fix javascript code :))
2024-09-28 00:05:18 +02:00
zdmx 908727608a succd: add safety status to web frontend 2024-09-27 23:49:24 +02:00
zdmx eb7707f1a0 succd: change safety reset threshold 2024-09-27 23:35:44 +02:00
zdmx ae9ac4ea0e succd: reset failsafe only after vent 2024-09-27 23:33:03 +02:00
Rahix 93ca80706f succbone: panel: Wire fake-pirani signals to NC contacts
Pirani thresholds are signalled by breaking the connection so let's wire
this up correctly.
2024-09-27 23:25:11 +02:00
zdmx 7a64ce91d4 succd: check currentmost pirani values for safety lock 2024-09-27 23:24:55 +02:00
zdmx 9db2213fa6 succd: log rate of change 2024-09-27 23:06:56 +02:00
zdmx 9ad6ce7dad succd: calcuate change rate for safety interlock directly from adc ringbuffer 2024-09-27 23:02:21 +02:00
zdmx d3391b28ec succd: add additional safety interlocks 2024-09-27 22:29:56 +02:00
Rahix f7752922c2 succd: Cleanup whitespace in HTML file 2024-09-27 02:32:36 +02:00
Serge Bazanski 34ab508b13 succd: add pirani failsafe 2024-09-27 02:24:19 +02:00
Serge Bazanski 6d97eb62a8 succd: implement threshold outputs, rework processing 2024-09-27 02:12:38 +02:00
Serge Bazanski 781bbaaeb4 succd: show logo 2024-09-27 02:12:38 +02:00
Serge Bazanski 7dffd2a4b4 succd: add logo 2024-09-27 02:12:38 +02:00
Serge Bazanski 0eacd74484 succd: README: add pin table 2024-09-27 02:12:38 +02:00
Rahix ed56aabfb1 succbone: panel: Update drawings 2024-09-27 02:01:24 +02:00
Rahix efbe9d6b53 succbone: Add relay board mount
This mount is vertical to save some space on the panel
2024-09-27 01:19:56 +02:00
Rahix 1e6b817730 Track .stl files in git-lfs 2024-09-27 01:19:15 +02:00
Rahix 45eab4938b Add a README 2024-09-26 19:14:22 +02:00
Rahix dc21da8158 succbone: panel: Add pirani gauge and ethernet connection 2024-09-26 02:35:23 +02:00
Rahix 20cc111f2c succbone: panel: More updates
- Added -WDB4 for roughing pump connection
- Added -WGA2 for button panel connection
2024-09-26 01:35:10 +02:00
Rahix 8d8d1cb4cb succbone: Panel update 1
- Add external wiring
- Separate power for diffusion pump
2024-09-26 00:16:18 +02:00
Serge Bazanski 070f45b1bc succd: implement rp/dp/vent/pumpdown control 2024-09-25 23:38:43 +02:00
Rahix d01263fead succbone: Panel update 2024-09-23 07:25:21 +02:00
Rahix 0f80ef9e5d succbone: Initial revision of panel drawings 2024-09-23 07:22:24 +02:00
Rahix 8e278cb282 gitignore: Ignore FreeCAD backups 2024-09-23 05:04:34 +02:00
Rahix dd395df903 succbone: Add DIN-rail mount CAD model
This design is broken!  The mounting holes do not match the actual
beagle bone hole pattern :(
2024-09-23 05:03:48 +02:00
Rahix 1669b48dbd More succd into succbone subdirectory 2024-09-21 23:19:55 +02:00
Rahix 519312605d logs: Add log of idle vacuum after roughing for 42min 2024-09-20 03:08:52 +02:00
Rahix 30931d957f logs: Tweak plot styling
Show a grid.
2024-09-15 02:30:49 +02:00
Serge Bazanski ac1d5cf147 logs: add pressure logs with direct pump connection 2024-09-14 23:42:14 +02:00
Serge Bazanski 5a19878146 logs: add pressure logs with direct pump connection 2024-09-14 22:25:54 +02:00
Rahix 5901f1007a Add gnuplot script for plotting pressure curves 2024-09-14 22:02:39 +02:00
Serge Bazanski 2c6d399198 logs: add pressure logs with reconnected pvc hose 2024-09-14 22:01:56 +02:00
Serge Bazanski 7f84b9bb78 logs: add pressure logs with direct pump connection 2024-09-14 21:45:00 +02:00
Serge Bazanski 746705cdec logs: add more logs 2024-09-14 21:28:54 +02:00
Serge Bazanski 24fc217a05 logs: add pressure acquisition script 2024-09-14 21:28:39 +02:00
Serge Bazanski a13da2c97f logs: init 2024-09-14 21:24:23 +02:00
Serge Bazanski e79e5166dd succd: add systemd service 2024-09-12 11:58:40 +02:00
Serge Bazanski 73bce8d5ee succd: scale down canvas to fit narrow screens 2024-09-12 03:22:02 +02:00
Serge Bazanski 9e02f07b90 succd: eke out a few extra bits of precision by oversampling ADC 2024-09-12 03:18:31 +02:00
Serge Bazanski 05d102ab9b succbone: init 2024-09-12 03:02:57 +02:00