My purpose is to know the value of an AC current in my house (230V Ac).
To do that, I use a Current Transformer (CT) and I would like measuring the RMS voltage with the CT. My CT can measuring a 10A current (0-1V output).
I watched the articule (https://industruino.com/blog/our-news-1/post/proto-power-meter-20) but that works with PROTO D21G not with IND.I/O D21G.Anybody can help me?
Thanks a lot.
The INDIO's ADC is not as fast as the MCU's built-in ADC, the docs mention max 240sps at 12-bit resolution. You want to analyse a 50Hz signal so ideally you would want to sample at a much higher rate.
You can visualise this with a simple sketch, measuring the analog channel, and printing the value to the Serial Monitor, and using the Arduino IDE's Serial Plotter to draw the data points.
Note that you are dealing with AC signal, so you'll have to use a DC bias to bring the signal into the positive range.
It is not so easy to analyse the signal, you can have a look at this library https://github.com/openenergymonitor/EmonLib
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!