For Hepta-Sat Lite
Diff: HeptaTemp.cpp
- Revision:
- 4:845cda80eaf0
- Parent:
- 3:96c3dd85be15
--- a/HeptaTemp.cpp Tue Sep 05 12:47:05 2017 +0000 +++ b/HeptaTemp.cpp Fri Sep 08 07:23:27 2017 +0000 @@ -9,20 +9,20 @@ void HeptaTemp::temp_sense(float* temp) { //resistance - R1 = 2500; - R2 = 2500; - R3 = 110; - R4 = 1000; - R5 = 68000; - Pt = 100; - R_1 = 3; - R_2 = 2; + R1 = 2500;//[Ω] + R2 = 2500;//[Ω] + R3 = 110;//[Ω] + R4 = 1000;//[Ω] + R5 = 68000;//[Ω] + Pt = 100;//[Ω] + R_1 = 3;//[kΩ] + R_2 = 2;//[kΩ] //current - I = 0.001; + I = 0.001;//[A] //voltage - Vref = 2.5; + Vref = 2.5;//[V] //Gain&Offset float gain = -R5*I/R4;