EEVblog Electronics Community Forum
Electronics => Beginners => Topic started by: metrologist on March 29, 2018, 05:52:53 pm
-
Is it possible to figure out DC watts if you have just one ADC available? I'm currently using two to measure voltage and current.
-
What about this analog multiplier: https://www.maximintegrated.com/en/app-notes/index.mvp/id/4134 (https://www.maximintegrated.com/en/app-notes/index.mvp/id/4134)
-
Is it possible to figure out DC watts if you have just one ADC available? I'm currently using two to measure voltage and current.
Hi,
Well you could use an analog switch, but you'd have to switch it from one channel to the other which would take a DIGITAL output pin. So you'd save an analog pin but use up a digital pin.
There are other ways but require some external circuitry. For a simple example, use a second small low end uC to measure the power and send it to the 'master'.
-
I think I have a few SPDT ICs around, and plenty of extra digital pins. :clap:
I might have a specific question once I figure out which chips I have.
-
I think I have a few SPDT ICs around, and plenty of extra digital pins. :clap:
I might have a specific question once I figure out which chips I have.
Hi,
Oh that's great. If you have just one digital pin then you can multiplex one analog channel into two, and if you have two digital pins then you can multiplex into four analog channels using just one ADC input pin.
There are cheap analog switches that can do 8 channels but for 8 you would need 3 digital pins unless you use only two of the channels.