Results 1 to 5 of 5

Thread: What is the correct temperature sensor data format

  1. #1
    Newbie
    Join Date
    Dec 2005
    Posts
    23

    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. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    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."

  3. #3
    Newbie
    Join Date
    Dec 2005
    Posts
    23
    Quote 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.....

  4. #4
    Variable Bitrate
    Join Date
    Jul 2006
    Location
    Brisbane, Australia
    Posts
    346
    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

  5. #5
    Variable Bitrate
    Join Date
    Jul 2006
    Location
    Brisbane, Australia
    Posts
    346
    Quote 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

Similar Threads

  1. Interesting music format... VQF
    By Szech in forum Software & Software Development
    Replies: 9
    Last Post: 09-26-2009, 06:11 AM
  2. Wide Screen format touch screen
    By belezeebub in forum LCD/Display
    Replies: 1
    Last Post: 03-22-2005, 11:35 PM
  3. Replies: 2
    Last Post: 09-08-2004, 07:59 AM
  4. 24h clock format in ME 2
    By -thepest- in forum ME Archive
    Replies: 0
    Last Post: 01-23-2004, 10:36 AM
  5. MP3 or RealOne format? Both Supported in WinAmp & MediaEngine?
    By -al- in forum Software & Software Development
    Replies: 11
    Last Post: 09-18-2003, 02:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •