Raspberry pi

Hi can someone halp me to use an  SCT013 30A with a raspberry pi?
ia have a SCT013 30A (0 to 1 V output) current sensor and a ADC MCP3008 analog to digital converter.
I'm able to read datas from sensor but i can not able to convert them to Ampere.
Please help Me.
Paolo  [:|]

Duplicate post deleted by Paul - Moderator

Robert Wall's picture

Re: Raspberry pi

For every 30 A in the wire through your CT, you will see 1 V rms output. The data on you ADC will tell you the calibration of the input, either in the form counts per volt or the voltage for the maximum count. However, before you can do anything useful, you will need to sample the wave and calculate the rms value, and it is that which you then scale to Amperes.

You will be doing exactly the same thing as our emonTx sketches do, so study those to see how to do it. You'll find the background theory in the Building Blocks section of this site.

hanguyen's picture

Re: Raspberry pi

in case of split core transformer has output 1A. How should I do with the circuit & the sketch?

Robert Wall's picture

Re: Raspberry pi

The CT secondary current makes no difference to either circuit or sketch, but you must have a very high power burden resistor - at least 2 W, and the secondary wiring, including any connectors, PCB tracks etc must be able to carry at least 1 A without overheating.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.