Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Jp3141

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    3,763

    Internally, the temperature sensor is just a...

    Internally, the temperature sensor is just a diode (~ 0.7V at room temperature), and this falls at about -1.8 mV/C. With 12 bits, a code of 2400 represents 2400/4096 * 1.2, or 0.7 V -- as you find...
  2. Replies
    5
    Views
    3,763

    It's physically channel 26 (dec) in the MCU;...

    It's physically channel 26 (dec) in the MCU; Paul's code maps this from channel 38 in an analogRead() call. It's just a (deliberate) coincidence that 0x26 = 38 decimal, so analogRead(0x26) actually...
  3. Replies
    5
    Views
    3,763

    Isn't it channel 26 (decimal) ? I think you...

    Isn't it channel 26 (decimal) ? I think you interpreted 26 as hex and converted to decimal (-> 38) ?
    Also, the result is not directly in degrees -- you have to calibrate each part, but this is...
Results 1 to 3 of 3