The sensor has two channels: 50A and 200A channels.
On the 50A channel, there is a Schottkey diode with a 0.13V voltage drop, but on the 200A channel there is no diode in-between.
Both channels run through a 5k1/10k voltage divider for diving 5v->3v3, so STM32 ADC measurements use the divided voltage. Resistors are both 1% tollerance, so accuracy is fine.
With new driver: current_sensor1 = "{...}" ch50 = {...} supply_v = 5.05999994 offset_v = 2.52999997 sensitivity_v_per_a = 0.040479999 adc_vref = 3.29999995 divider_gain = 1.50999999 diode_drop = 0.129999995 voltage_raw = 2.0130403 voltage_sensor = 3.16969061 current = 1580 alpha = 1 generic_sensor = {...} ch200 = {...} supply_v = 5.05999994 offset_v = 2.52999997 sensitivity_v_per_a = 0.0101199998 adc_vref = 3.29999995 divider_gain = 1.50999999 diode_drop = 0 voltage_raw = 1.72454214 voltage_sensor = 2.6040585 current = 731 alpha = 1 generic_sensor =
Measured voltage before diode or anything: CH50: 3.07 CH200: 2.61
