AnsweredAssumed Answered

How to controll results?

Question asked by piergiuseppe ranieri on Oct 28, 2015
Latest reply on Nov 5, 2015 by piergiuseppe ranieri

Hi, I have to compute some values like current and resistance by software. I mean, I set a particular voltage from 0V to 3.3V ( so from 0 to 65534, for 16 bit) by software on a Digital to Analog Converter, then I want to compute the current, so I define the resistance (for example for 1 ohm resistance, I will write R= 19858, considering 16 bit, i Don't know if it is right) and then I compute the current I= voltage/R; Now, first of all, I don't know if it is possible to compute the current in this way, please, let me know how can I do. The second problem is that I want to verify this result, I mean, i want to veify if the current is right  and I want to see the value of I (the current), on arduino I used the serial port and I wrote printf ("current", I); and i could see the result, is  there a way to see the results on KDS? Thank you

Outcomes