1. Attachments are working again! Check out this thread for more details and to report any other bugs.

Xgauge code Ambient temp in Fahrenheit?

Discussion in 'Gen 2 Prius Technical Discussion' started by Nortnarg, Apr 30, 2011.

  1. Nortnarg

    Nortnarg Prius~To go before

    Joined:
    Feb 22, 2009
    83
    8
    0
    Location:
    Blue Springs, Missouri
    Vehicle:
    2009 Prius
    Model:
    Touring
    Is there an Xgauge code for Ambient temp in Fahrenheit?

    I have the code for Celsius, but my brain don't work in Celcius.
     
  2. RRxing

    RRxing Senior Member

    Joined:
    Jul 7, 2009
    2,520
    1,791
    0
    Location:
    NEPA
    Vehicle:
    Other Hybrid
    Model:
    Limited
    Ambient Air Temperature (F)
    TXD 07DF0146
    RXF 04410546
    RXD 2808
    MTH 00090005FFD8
    NAM AIR
     
  3. cwerdna

    cwerdna Senior Member

    Joined:
    Sep 4, 2005
    12,544
    2,123
    1
    Location:
    SF Bay Area, CA
    Vehicle:
    2006 Prius
    Curious why you'd really need it? There's an ambient temp display on the MFD. I personally would like to be able to display >4 values at a time and don't need one of them being taken up by the OAT.
     
  4. Nortnarg

    Nortnarg Prius~To go before

    Joined:
    Feb 22, 2009
    83
    8
    0
    Location:
    Blue Springs, Missouri
    Vehicle:
    2009 Prius
    Model:
    Touring
    Thank you RR, I will plug that in.
    cwerdna, I guess it is a "because I can" thing.
    What I would really like is an X gauge for cabin temperature. You know the car has a sensor for that to regulate the auto A/C, but no info for the driver.
     
  5. SageBrush

    SageBrush Senior Member

    Joined:
    Jun 4, 2008
    11,627
    2,530
    8
    Location:
    Southwest Colorado
    Vehicle:
    2012 Prius v wagon
    Model:
    Two
    IIRC, SG has multiply and divide fields you can use for unit conversions.

    F = 9C/5 + 32

    I cannot remember how you add the 32
     
  6. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    The ranges of C are from -40°C to 215°C. A byte can be from 00h to FFh so it must has an offset of 40.

    C' = C - 40

    F = 9C/5 + 32

    F = 9C'/5 + 32

    F = 9(C-40)/5 + 32

    F = 9C/5 - 72 + 32

    F = 9C/5 - 40

    -40 convert to hex. is FFD8 (2's complement).
     
  7. skruse

    skruse Senior Member

    Joined:
    Apr 6, 2004
    1,454
    97
    0
    Location:
    Coloma CA - Sierra Nevada
    Vehicle:
    2007 Prius
    Model:
    II
    30's hot, 20's nice, 10's cold, Zero is ice. Celsius, a commonly used temperature measurement in the US system of measurement (SI) is based on units of 10. You probably use $US money, use a computer, listen to CDs and watch DVDs. Printer paper if 18 X 22 cm. Don't convert, it messes your brain up, just learn SI system of measurement.
     
  8. xs650

    xs650 Senior Member

    Joined:
    Jul 2, 2010
    4,539
    1,433
    9
    Location:
    Northern California
    Vehicle:
    2010 Prius
    Model:
    II
    You just did .... incorrectly.:D

    I also question the judgement of someone from Fresno that calls 30C hot.:cheer2:
     
  9. SageBrush

    SageBrush Senior Member

    Joined:
    Jun 4, 2008
    11,627
    2,530
    8
    Location:
    Southwest Colorado
    Vehicle:
    2012 Prius v wagon
    Model:
    Two
    Skruse takes all his temp readings in 90%+ humidity ;)