1
0
forked from M-Labs/kirdy

Commit Graph

  • da0d0ac2a8 ad5680: rm time.sleep for sync signal - the time used for prep-ing the DMA for SPI TX is longer than the specified minimum sync high time (33 ns) master linuswck 2025-09-05 17:03:47 +08:00
  • 6128f1e941 ad5680: send SPI data with DMA linuswck 2025-09-04 18:09:48 +08:00
  • 55adf3ab13 gui: display the SysWarning msg upon receival linuswck 2025-08-29 19:08:15 +08:00
  • 19e6ade824 driver: handle the new SysWarning msg type linuswck 2025-08-29 19:08:02 +08:00
  • d72547a83e firmware: add startup pwrseq & report sys failures - only applicable for rev1_0 or above hardware - BREAKING: Python driver     - Upon the receival of the new SysWarning type message, driver would         disconnect with the Kirdy - add analog startup power sequence to limit inrush current     - See HW repo Issue #32, #33, #34 - any pwr failure triggers irq(s) to turn off laser diode driver - any pwr failure except P8V0 pwr rail triggers irq to turn off the     thermostat - prevent laser diode driver and thermostat from powering up during     power rail failure - send a new SysWarning message type message to notify the connected     host upon pwr failure and laser diode power excursion linuswck 2025-09-02 12:53:17 +08:00
  • a4526c9158 eeprom: read eui-48 mac address at startup linuswck 2025-08-22 18:57:59 +08:00
  • 06d1a7f438 ld: detect LD HW Variant linuswck 2025-08-22 17:40:53 +08:00
  • 4ce9d87305 hw_rev: add rev1_0 detection linuswck 2025-08-22 17:39:34 +08:00
  • ef873bd829 gui: ask to reset kirdy after net settings change linuswck 2025-08-21 18:43:07 +08:00
  • 38ddd5ac94 gui: fetch net settings for net settings form linuswck 2025-08-21 18:40:08 +08:00
  • e35292e80d gui: add a common question box widget linuswck 2025-08-21 18:38:48 +08:00
  • 9563e91037 gui: relocate settings actions to a new menu tab linuswck 2025-08-21 17:09:25 +08:00
  • 677ff1a29d gitignore: ignore .venv/ linuswck 2025-08-04 18:25:00 +08:00
  • e6597e4c2e gui: add im/export json settings menu bar actions linuswck 2025-08-04 18:24:23 +08:00
  • c23db4467f gui: add laser driver hardware variant to About Kirdy Page linuswck 2025-08-04 18:21:07 +08:00
  • b9f16d4581 driver: add fns to im/export json settings - Add a json schema for json validation linuswck 2025-08-04 15:37:05 +08:00
  • 0db7775cbe cmd_handler: add cmd to get Ld Hardware Variant - add python driver linuswck 2025-08-04 15:34:46 +08:00
  • cb8b824e34 cmd_handler: add cmd to get the network settings - add python driver linuswck 2025-08-04 13:10:31 +08:00
  • 6367826223 driver: remove dead code linuswck 2025-03-25 16:43:23 +08:00
  • 481f5f56db aioclient: edit comments linuswck 2025-03-24 13:25:16 +08:00
  • f1089e9736 fix typos linuswck 2025-03-24 13:18:15 +08:00
  • 3125e7cff0 gui: add transconductance cfg to the pd_mon_form linuswck 2025-03-24 12:30:29 +08:00
  • 10f79615e8 bump pglive to v0.8.3 linuswck 2025-03-24 11:38:32 +08:00
  • 8f272023bb rename mainwindow->main_window linuswck 2025-03-12 14:55:30 +08:00
  • 0a0274b183 Add nix run .#kirdy_gui support linuswck 2025-03-12 11:51:04 +08:00
  • b536a22234 cleanup linuswck 2025-03-12 11:22:36 +08:00
  • f1fa89caa5 Add pyproject.toml linuswck 2025-03-11 16:12:59 +08:00
  • 458e593c25 gui: status display OPP & OTP alarm msgs linuswck 2025-03-11 16:09:23 +08:00
  • 12697dedc1 gui: improve PID autotune and fix UI bugs - PID autotune now can run in polling rate that saturate the task queue linuswck 2025-03-11 16:08:46 +08:00
  • 49fed878dc gui: rm apply polling rate button - Not intuitive. Now apply immediately after value is changed linuswck 2025-03-10 18:42:39 +08:00
  • 044219f78f gui: display more device info & improve usability - Reduce the severity of setting a polling rate that is too high - Display warning messages on the right side of the bottom bar with a warning icon - Add check thermostat settings if 0 is set in any of the output limit field - Display the warning icon beside the connection related message when Kirdy disconnected linuswck 2025-03-10 18:28:50 +08:00
  • e5cc5c4cb9 driver: add fn to check the fullness of task queue linuswck 2025-03-10 18:11:21 +08:00
  • 041b5ea159 gui: rm pid params unit linuswck 2025-03-10 11:05:45 +08:00
  • e9ceb41613 Add rust-overlay - This fixes rust nix build error in nixos 24.11 pkgs linuswck 2025-03-07 17:41:34 +08:00
  • 54e3e85815 Revert "test" linuswck 2025-03-07 16:05:01 +08:00
  • 5344cac0d6 Update Laser Diode Max OUT Current (300mA->307.2mA) linuswck 2025-03-04 18:23:57 +08:00
  • 15288dcefc test linuswck 2025-02-24 11:29:10 +08:00
  • e1661ab023 Bump pglive version linuswck 2025-02-18 11:57:55 +08:00
  • ac6f620d52 bump pglive version and rm pglive patch linuswck 2025-02-14 18:34:30 +08:00
  • 71be1093d6 Update pglive patch for pglive repo PR #45 linuswck 2025-02-14 14:42:12 +08:00
  • 7a43ece873 fix typo in filename linuswck 2025-02-13 18:32:54 +08:00
  • 086fe70122 gui: fix error in pyqtgraph 0.13.7 linuswck 2025-02-07 11:05:58 +08:00
  • 8fb94e68f9 update nixpkgs version 23.11-> 24.11 linuswck 2025-02-07 11:04:59 +08:00
  • 7c447ed7c0 pglive: Fix range_width bugs at boundary condition linuswck 2025-01-28 16:49:56 +08:00
  • 980f7364ac driver: rm debugging msg print linuswck 2025-01-28 16:34:05 +08:00
  • 62ff2cb048 gui: specified range width for graphs linuswck 2025-01-28 16:32:11 +08:00
  • 749f19b105 ld_current_out_ctrl_timer: lower current ramp rate - Ld current ramp now updates in 250Hz (< 500Hz IIR filter cutoff frequency) for pwr_exc_protector linuswck 2025-01-28 15:57:10 +08:00
  • bd83a8fc92 LdPwrExcProtector: Use IIR filter for OPP logic - Do not use the built-in analog watchdog - IIR Filter limits ADC noise to be below 1 LSB - Fix false positive error for the overpower protection due to ADC noise linuswck 2025-01-28 15:53:23 +08:00
  • c1855f6a08 pd_mon: Add iir filter to voltage readings - analog wdg behaviour is unchanged linuswck 2025-01-27 12:40:01 +08:00
  • 46889ac330 gui: update param tree temperature related limit linuswck 2025-01-24 18:35:21 +08:00
  • 6f273e85cc driver, example: fix typo linuswck 2025-01-24 17:45:11 +08:00
  • fb6fd47c69 gui: fix temp setpoint line plotting error - pg_live 0.7.2 -> 0.8 updates the get_x&y_range() logic in LiveAxisRange - If data_connector's max_point = 1. At tick = 1, there would be IndexError as it tries to access the second index of the data directly without checking the length. linuswck 2025-01-24 17:18:16 +08:00
  • 09827b4d44 gui: Configure graph's range width and bound - Upgrade to pglive v0.8 - Add a new patch for new options for specifying display range width and bound linuswck 2025-01-24 16:59:13 +08:00
  • 5909ead681 max1968: Add IIR filter to Tec Readings linuswck 2025-01-23 16:15:28 +08:00
  • d8ddd5fb24 gui: rm generated ui_x.py files linuswck 2025-01-23 11:53:33 +08:00
  • 6db375d6b8 Fix incorrect Adc filter settings name linuswck 2025-01-23 11:51:03 +08:00
  • 7267794e49 gui: Change label texts linuswck 2025-01-23 11:17:49 +08:00
  • 3affe47293 gui: display warning msg if recv-ed linuswck 2025-01-23 11:06:14 +08:00
  • 7bdb7e48df driver: Add handling for warning msgs linuswck 2025-01-22 18:21:30 +08:00
  • b3a9f61648 cmd_handler: add warning msgs for cmd with val clamped linuswck 2025-01-22 18:18:41 +08:00
  • e1ee3ec959 firmware: clamp input against invalid value linuswck 2025-01-22 18:17:52 +08:00
  • 7f9dc37c10 cmd_handler: Add msg to InvalidCmd Response linuswck 2025-01-22 15:48:46 +08:00
  • 9bec46490d gui: Include firmware rev in About msg box linuswck 2025-01-22 13:04:48 +08:00
  • 0e707e3d6b driver: Add fn to get the firmware rev linuswck 2025-01-22 13:03:57 +08:00
  • c2806aee27 cmd_handler: Add new cmd to for commit hash linuswck 2025-01-22 12:59:57 +08:00
  • 1b7f5bc3e4 firmware: add commit hash into firmware linuswck 2025-01-21 17:04:09 +08:00
  • 227d9d4877 laser: Short LD terminals when ld pwr is off linuswck 2025-01-21 11:54:11 +08:00
  • 6ad41c8502 gui: Do not use window title in info_box - info_box does not resize with the title length - On MacOS, the title won't be displayed linuswck 2025-01-21 11:30:38 +08:00
  • 2a6db53dc8 driver: wait for the read_response task to complete before connection retry linuswck 2025-01-21 11:27:48 +08:00
  • 7dd551201e driver: fix bug in failing to emit error msg linuswck 2025-01-21 11:22:39 +08:00
  • 753a16ab8e driver: Close incoming awaitable fn if queue is full linuswck 2025-01-21 11:11:16 +08:00
  • 76a19cb65a driver: rm data validation - Data validation is done on Kirdy Server side - Thus, remove duplicated logic - Merge send_cmd and send_raw_cmd linuswck 2025-01-20 15:34:27 +08:00
  • cd3347798c driver, firmware: Rm active report mode & cmd linuswck 2025-01-20 12:32:47 +08:00
  • 85f81ee8e4 Change default tcp port 1337 -> 1550 linuswck 2025-01-09 16:38:02 +08:00
  • 5b00bd60c7 rm erase_flash_settings.bin linuswck 2025-01-09 10:52:20 +08:00
  • 4d8e16771e gui: Correct Pid Autotune output current limit linuswck 2024-10-29 12:59:09 +08:00
  • 4d332328c0 gui: Limit min PD Mon Pwr y axis range to 0-100uW linuswck 2024-10-22 17:58:07 +08:00
  • edb8099a26 Add pglive patch for setting y-axis min range span linuswck 2024-10-23 12:24:42 +08:00
  • 49dc8a9b96 gui: autotuner only set_i when relay state changes - Previously, autotuner issues set_i cmd for each report obj received - These change increase the maximum autotune-able PID update rate with GUI linuswck 2024-10-22 14:38:15 +08:00
  • a1b7538295 driver: Fix disconnection bug at high cmd rate - Disconnection issue can be triggered by setting high polling rate (500Hz) and then interactive with gui elements linuswck 2024-10-22 11:59:11 +08:00
  • 8f5a294a53 gui: Fix graphs' refresh rate to be 10Hz - Reduce unnecessary CPU usage linuswck 2024-10-22 10:57:55 +08:00
  • 87b0e1bf67 gui: rm sIPrefix from PD Current readings linuswck 2024-10-21 11:15:15 +08:00
  • 35f66c3516 gui: Change LD, Thermostat Status Display Method - Use combinations of label and stylesheet border to create visual cue for status linuswck 2024-10-18 17:24:03 +08:00
  • dd7e1bbbdd gui: Adjust y_axis limit range of graphs linuswck 2024-10-18 13:26:41 +08:00
  • a3b38fc6b7 gui: Unify the param tree unit formatting style linuswck 2024-10-18 13:26:18 +08:00
  • 26f12dbf77 add draft for thermostat usage guide add_docs linuswck 2024-10-18 12:58:20 +08:00
  • 388e6725ef thermostat: Clear alarm when settings are loaded linuswck 2024-10-17 17:36:17 +08:00
  • f4c761c5ca pid: Scale PID Parameters with Sampling Rate - Breaking changes linuswck 2024-10-17 17:36:06 +08:00
  • e560d8f1eb thermostat, gui: Set max v range according to datasheet linuswck 2024-10-16 16:21:11 +08:00
  • 0437c6e76e thermostat, gui: Relax the max settable TEC Current Limit - Improper settings can cause PoE power failure and over heating - See hardware repo Issue #51 linuswck 2024-10-16 16:14:58 +08:00
  • bad21806f8 gui: Add new form for temp adc filter cfg and settable polling rate List of Changes: 1. Get report via polling instead of active report mode 2. Allow user to set a custom report polling rate while settings polling rate is fixed to 10Hz - it is necessary for pid autotune to function correctly 3. Add a form for configuring temperature adc filter 4. Use two different timer for polling report and settings to optimize performance linuswck 2024-10-10 17:18:05 +08:00
  • cb2bc505c9 driver: expose _odr_type for filter cfgs linuswck 2024-10-10 15:26:45 +08:00
  • 4f19d2c2be driver: Expose the upper and lower limit settings for Sinc3WithFineODR Filter Cfg linuswck 2024-10-10 15:23:57 +08:00
  • e8d3858fc9 driver: return whether task queue is full in task_dispatcher() linuswck 2024-10-10 15:20:58 +08:00
  • 9bec56ed6c driver: Add support for GetPollInterval cmd linuswck 2024-10-10 15:19:43 +08:00
  • 51b82e0447 cmd_handler: Add cmd to get temp adc polling interval linuswck 2024-10-10 13:41:15 +08:00
  • 31e108a4b5 thermostat: settings obj now contains the exact filter type and val linuswck 2024-10-10 13:39:37 +08:00
  • 253f4410ee sys_timer: Add fn to retrieve ts in us resolution linuswck 2024-10-10 13:31:20 +08:00
  • bd72c382b0 thermostat: Fix incorrect Dac Calibration Algo - Thermostat Firmware repo PR #133 linuswck 2024-10-08 15:57:18 +08:00
  • a512614de5 net: add option not to open sock when it is polled - fix a bug, which mcu can get stuck in State::HardReset indefinitely linuswck 2024-09-11 12:08:37 +08:00