From 3846d66188d2cf4a8eb7fa1a2aef4c094550f86b Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Thu, 19 Oct 2023 18:03:52 +0200 Subject: [PATCH] Updates config --- configs/config_mb_2024_0_2__4_mux_2024_dps5005.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/config_mb_2024_0_2__4_mux_2024_dps5005.py b/configs/config_mb_2024_0_2__4_mux_2024_dps5005.py index 07b11fd5..d36472af 100644 --- a/configs/config_mb_2024_0_2__4_mux_2024_dps5005.py +++ b/configs/config_mb_2024_0_2__4_mux_2024_dps5005.py @@ -21,7 +21,7 @@ HARDWARE_CONFIG = { 'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'}, 'tx': {'model': 'mb_2024_0_2', 'voltage_max': 50., # Maximum voltage supported by the TX board [V] - 'current_max': 4.8/(50*r_shunt), # Maximum voltage read by the current ADC on the TX board [A] + 'current_max': 4.8/(50*r_shunt)/5, # Maximum voltage read by the current ADC on the TX board [A] 'r_shunt': r_shunt, # Shunt resistance in Ohms 'interface_name': 'i2c', 'vmn_hardware_offset': 2501. -- GitLab