linuswck
  • Joined on 2023-07-05
linuswck pushed to main at sinara-hw/Shuttler_AFE_PSU 2024-10-08 15:38:14 +08:00
94441f885e Initial Commit of KiCad Design Files
linuswck created repository sinara-hw/Shuttler_AFE_PSU 2024-10-08 14:48:03 +08:00
linuswck pushed to gui_dev at linuswck/thermostat 2024-10-07 13:03:39 +08:00
19c3c7a8f2 Merge pull request 'GUI: Refactor `send_command`' (#4) from gui_dev-refactor-send_command into gui_dev
41abad7aa3 send_command: Remove "activater"
5c8d9c7cce send_command: Simplify "pid_autotune" parameters
278898fad2 send_command: Switch to thermostat:set_param
dd83daa5d9 send_command: Remove indirect path to parameter
Compare 7 commits »
linuswck deleted branch gui_dev-refactor-send_command from linuswck/thermostat 2024-10-07 13:03:39 +08:00
linuswck merged pull request linuswck/thermostat#4 2024-10-07 13:03:38 +08:00
GUI: Refactor `send_command`
linuswck commented on pull request M-Labs/thermostat#135 2024-09-25 17:27:52 +08:00
Add command for setting TEC polarity direction

state.polarity_swapped setting is not applied when settings are loaded from flash.

linuswck commented on pull request M-Labs/thermostat#135 2024-09-25 13:04:48 +08:00
Add command for setting TEC polarity direction

There is inconsistency in cmd and report json. Type pwm <0/1> polarity_swapped <false/true> to swap polarity. But, the report json uses "current_swapped" to indicate such setting.

`current_…

linuswck commented on pull request M-Labs/thermostat#135 2024-09-25 12:58:06 +08:00
Add command for setting TEC polarity direction

If I can configure the TEC Polarity via the command pwm <0/1> polarity_swapped <false/true>, I would expect I can see the TEC polarity via the pwm cmd. But it's not.

linuswck created pull request M-Labs/thermostat#133 2024-09-20 22:04:14 +08:00
Fix Incorrect Dac Calibration Algorithm
linuswck pushed to fix_incorrect_dac_cal at linuswck/thermostat 2024-09-20 21:24:10 +08:00
680193b34b Fix incorrect dac calibration algo
linuswck created branch fix_incorrect_dac_cal in linuswck/thermostat 2024-09-20 21:24:09 +08:00
linuswck pushed to fix_wrong_current_limit_duty_cycle_cal at linuswck/thermostat 2024-09-19 18:29:19 +08:00
d2a57245b2 Fix wrong current limit duty cycle calculation
linuswck pushed to fix_wrong_current_limit_duty_cycle_cal at linuswck/thermostat 2024-09-19 17:47:29 +08:00
3932bce9f3 Fix wrong current limit duty cycle calculation
ae4bea0c8a gitignore: Ignore .bin files and __pycache__
1f2de942e4 flake: Add rlwrap to devShell
1041d3ecbb Improve the VREF calibration routine
c6040899dd ItecPin -> ITecPin
Compare 10 commits »
linuswck created branch fix_wrong_current_limit_duty_cycle_cal in linuswck/thermostat 2024-09-19 17:47:29 +08:00
linuswck commented on pull request M-Labs/thermostat#132 2024-09-17 10:39:59 +08:00
Improve the VREF calibration routine

Yes. It takes longer time and causes the watchdog to trigger. 1.5s does not work. 1.75s works. We chose 2.0s to leave some more margin.

linuswck pushed to master at M-Labs/kirdy 2024-09-11 17:55:03 +08:00
a512614de5 net: add option not to open sock when it is polled
76f7875e3a gui: await for hard rst and dfu action
0d64d62fb0 gui: Add pd_mon config form
0aeffdbf7b ld_pwr_exc_protector: disable irq after pwr off
89a1270c02 driver: send cmd err msg to a pyqt sig
Compare 7 commits »
linuswck pushed to master at M-Labs/kirdy 2024-09-04 17:26:03 +08:00
1111967a7b gui: add arg for saving log to a file
linuswck pushed to master at M-Labs/kirdy 2024-09-04 16:26:10 +08:00
1896e2534b main: Add PrepareForDfu state
6d4b1b0574 driver: end_session if ConnClose & Dfu is recv-ed
0b5fda2cd9 net: close oldest sock if available socks run out
b763350a8b net: disable IRQ when data is being enqueued
838592c812 gui: Display hw_rev when connected
Compare 14 commits »
linuswck pushed to master at M-Labs/kirdy 2024-08-27 19:30:47 +08:00
51913f2e2f net: fix incorrect poll_iface() calls
c86d67b15c firmware: do not display smoltcp log
3d2294a90c driver: fix incorrect recv_response behavior
Compare 3 commits »
linuswck commented on issue sinara-hw/kirdy#45 2024-08-20 17:27:48 +08:00
Photodiode Monitor Current Range should be Selectable

Solution

Instead of using a PGA. Using multiple TIA Stage of different feedback resistor can achieve the goal to save cost.

This circuit structure is obtained from the Art of Electronics…