I am trying to connect my CT Clamp to my NodeMcu Amica using the CT Clamp ESPhome Integration.
# Example configuration entry
sensor:
- platform: ct_clamp
sensor: adc_sensor
name: "Measured Current"
update_interval: 60s
# Example source sensor
- platform: adc
pin: A0
id: adc_sensor
I am having limited success and non-linear readings.
I now understand that the burden resistor is there to convert the current into a voltage for the ADC input to use.
This is my setup.
I am using this example from a modified Wemos input board available on a popular auction site.
R1 is the burden resistor while R2 / R3 are the voltage divider
SCT-013-000 Non-invasive Split Core Current Transformer AC Current Sensor 100A
Having looked more closely the NodeMcu has the voltage divider circuit built in and measures 0-1V only on the A0 input.
After looking more closely at the calculated resistance required for the burden value I came up with the following based on other examples I have seen on the web.
CT | RATIO | OUTPUT | ||||
---|---|---|---|---|---|---|
100/2000 | 100 | 2000 | 0.05 | 50 | mA | |
3.3V/2 | 3.3 | 2 | 1.65 | V | ||
1.65V/0.05mA | 1.65 | 0.05 | 33 | ohm | BURDEN |
So my question is as follows, should I do away with the external voltage divider and change my burden resistor to 33 ohms and just connect a 10uF capacitor between GND and 3.3v?