Differences

This shows you the differences between two versions of the page.

Link to this comparison view

karmon:monitoring:engine-temp [2017/07/01 10:35] – created vdesmedtkarmon:monitoring:engine-temp [2017/07/01 12:11] (current) vdesmedt
Line 8: Line 8:
 At startup, by closing D1, we can infer Rv (internal ESC resistor) by reading A0. At startup, by closing D1, we can infer Rv (internal ESC resistor) by reading A0.
 Once Rv is known, we can infer Rm by reading A0 and integrating Rv in the equation. Once Rv is known, we can infer Rm by reading A0 and integrating Rv in the equation.
 +
 +Once D1 is pushed, we can first calculate the current <m>I=A0/Rref</m> then inferred <m>Rv = (Vref-A0)/I = Ref * (Vref-A0)/A0</m> where VRef = 5V in the case of RC cars.
 +
 +Once Rv is known, we can release D1 and calculate <m>Rm=A0*Rv/(Vref-A0)</m>