Announcement

Collapse
No announcement yet.

What is the correct temperature sensor data format

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is the correct temperature sensor data format

    I want DIY a temperature module, and i have write a program in my avr devevlop board to simulator the temperature sensor data.
    In my program i send data "1 0011.11" , but in the RR, the lable of temp1 display as N/A
    What is the correct temperature sensor data format?

  • #2
    The data should be sent via the serial port (set in RRConfig) at 2400,8,N,1 with the format as you've described, but it MUST be followed by carriage-return (line feed+return):

    1 0011.11[0x10][0x0D]
    1 0012.12[0x10][0x0D]
    .
    .
    .

    If you're only sending Line feed OR Return, it most likely won't work right.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

    Comment


    • #3
      Originally posted by guino View Post
      The data should be sent via the serial port (set in RRConfig) at 2400,8,N,1 with the format as you've described, but it MUST be followed by carriage-return (line feed+return):

      1 0011.11[0x10][0x0D]
      1 0012.12[0x10][0x0D]
      .
      .
      .

      If you're only sending Line feed OR Return, it most likely won't work right.
      Thanks, I have get the data correct.....

      Comment


      • #4
        Ressurecting an old thread but what is the format for negative temperatures?

        Is it
        1 -0011.11[0x10][0x0D]

        or

        1 -011.11[0x10][0x0D]


        I have been playing with gettting an Arduino to add temperature to RR and want to make sure it can sense below 0.0.

        Thanks
        RodW
        2007 Toyota Hilux with a CarPC..

        Worklog: http://www.mp3car.com/vbulletin/work...ota-hilux.html
        OziExplorer GPS Embedded in RR: http://www.mp3car.com/vbulletin/sb-s...iexplorer.html

        Comment


        • #5
          Originally posted by rodweb View Post
          Ressurecting an old thread but what is the format for negative temperatures?

          Is it
          1 -0011.11[0x10][0x0D]

          or
          1 -011.11[0x10][0x0D]
          Never mind I figured it out
          It is the first one
          1 -0011.11[0x10][0x0D]

          Cool Now I got free a Temperature sensor board via my Arduino!
          RodW
          2007 Toyota Hilux with a CarPC..

          Worklog: http://www.mp3car.com/vbulletin/work...ota-hilux.html
          OziExplorer GPS Embedded in RR: http://www.mp3car.com/vbulletin/sb-s...iexplorer.html

          Comment

          Working...
          X