2022-01-04 09:49 PM
Hello,
We are working on the stm32f070c6t6 controller, i want to measure the basic parameters like current and voltage and resistance .how can i measure these parameters using stm32f070c6t6 custom board. for current the current at adc pin varying it is not constant . if you have any idea to measuring these parameters with different possibilities please give detailed suggestions. Thanks in advance .
Best Regards
Raj
2022-01-05 01:30 AM
Basic parameters may sound like a simple measurement - but it's not at all. Generally you can only measure current and resistance indirectly with microcontrollers, even voltages have to be adapted to the measuring range of the microcontroller.
Unfortunately you didn't say which measuring ranges you want to achieve for current, voltage and resistance, also not what kind of current and voltage (AC/DC, frequency, shape?).
Usually you need suitable analog matching circuits for such measurements, which have to be developed outside the microcontroller according to the requirements, but no one can give you recommendations witout knowing these reqirements.
Regards
/Peter
2022-01-05 03:20 AM
Thanks for your Reply, I want to measure the DC current upto 1A, and measure the resistance approximately accurate to upto 10K ohms.
2022-01-05 07:38 AM
For DC current, you can use an in-line resistor on the low side to get a fairly accurate reading.
Resistance will require a resistor divider type scheme with one leg known, one leg unknown, and a known voltage differential.