Home/Support/Support Forum/how to sense power and send it to cordinator?

how to sense power and send it to cordinator?

0 votes
how sense power from volatge and current send it to cordinator?
asked Apr 28, 2017 in IEEE 802.15.4 by baraiyanirav2225 New to the Community (4 points)

Please log in or register to answer this question.

1 Answer

0 votes
You would need to connect an Analog voltage line to the VCC at the proper voltage levels. Then enable that line and sample it on each transmission.
answered May 1, 2017 by mvut Veteran of the Digi Community (11,298 points)
So i have  to connect analog pin to vcc or simply enable to adc(2) and give adc input. Pls specify  i didn't  get your explanation.
In order to sample an Analog voltage, there are a few things you must do.

First, you must connect the desired voltage to the ADC pin at the proper voltage level. That is, you can't connect a 3V ADC line to a ADC pin that only accepts 1.2V Max. You would have to put a buffer circuit  with a level shifter in first.

Next, you would need to enable the ADC line on the processor. In this case ADC2 would need to be set to ADC.
...