Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Serial port format ??

  1. #1
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731

    Serial port format ??

    I am trying to build a shutdown controller board for my car PC and while at it I will include the temperature sensor circuit on the same board.

    What does the serial port expect to read from the temperature sensor board in order to display the correct information in Road Runner ?

    Great work Guino

    and Thanks

  2. #2
    FLAC mauri's Avatar
    Join Date
    Jan 2004
    Posts
    1,041
    Link http://quozl.us.netrek.org/ts/nk
    In this site you find the documentation, there and also the file source .asm.
    However it is not assembled with MPASM by Microchip, but with the old GPASM.
    If you succeed in creating the file. hex for the P12C509 make to know me that we develop or proper hardware.

    Mauri

  3. #3
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Quote Originally Posted by tolisn
    I am trying to build a shutdown controller board for my car PC and while at it I will include the temperature sensor circuit on the same board.

    What does the serial port expect to read from the temperature sensor board in order to display the correct information in Road Runner ?

    Great work Guino

    and Thanks
    It's as simple as this:
    1: 72.6
    2: 34.6
    1: 72.8
    2: 34.4
    etc.

    it basically sends the data as the number of the sensor and temperature reading of sensor (cycling through all available sensors) -- The input scale can be F or C and can also be showed in F or C, all setup by INI file. The current board supports 4 Temp. sensors, but if you add more, I'll add support for more. Also, if you'd like to change the format for your board, I can add support for it as well.. this is all very simple stuff to do, so just let me know...

  4. #4
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    Ok thanks for the help. I will see what I can do.

  5. #5
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    Quote Originally Posted by mauri
    Link http://quozl.us.netrek.org/ts/nk
    In this site you find the documentation, there and also the file source .asm.
    However it is not assembled with MPASM by Microchip, but with the old GPASM.
    If you succeed in creating the file. hex for the P12C509 make to know me that we develop or proper hardware.

    Mauri

    I cannot get the above link to work

  6. #6
    Newbie
    Join Date
    Apr 2004
    Location
    Victoria, TX
    Posts
    16
    Quote Originally Posted by tolisn
    I cannot get the above link to work
    http://quozl.us.netrek.org/ts/ works

  7. #7
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    Quote Originally Posted by Mr_Wizard

    Ok thanks

  8. #8
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    Guino.

    1. Their are no tempx setting in the RR.ini file. I tried useing the Configuration programm to set the communication port for the sensors but it does not write anything in the .ini file. The TEMPx setting is missing completely.

    2. With what baud rate do you communicate with the serial port.

  9. #9
    Newbie
    Join Date
    Apr 2004
    Location
    Victoria, TX
    Posts
    16
    Quote Originally Posted by tolisn
    Guino.

    1. Their are no tempx setting in the RR.ini file. I tried useing the Configuration programm to set the communication port for the sensors but it does not write anything in the .ini file. The TEMPx setting is missing completely.
    Oops... my goof on that one. Sent fix to Guino.

  10. #10
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Quote Originally Posted by tolisn
    Guino.

    1. Their are no tempx setting in the RR.ini file. I tried useing the Configuration programm to set the communication port for the sensors but it does not write anything in the .ini file. The TEMPx setting is missing completely.

    2. With what baud rate do you communicate with the serial port.
    I'll look at it since I'll have add a few more options anyway...

    ALSO: My bad on the temp data format.. it's just:
    "1 0045.67" instead of "1: 45.67" -- Although, my code can probably parse the two formats just as well.

    this is the setting I currently use for the Temperature sensor:
    baud=2400 parity=N data=8 stop=1

Page 1 of 2 12 LastLast

Similar Threads

  1. serial port to game port adapter wiring
    By asif in forum General Hardware Discussion
    Replies: 5
    Last Post: 08-17-2006, 04:47 PM
  2. USB Serial Port Adapter Troubles
    By bLindmOnkey in forum General MP3Car Discussion
    Replies: 0
    Last Post: 10-13-2004, 11:29 PM
  3. Via Mini-ITX Epia 5000 serial port not working
    By vash in forum General Hardware Discussion
    Replies: 2
    Last Post: 08-13-2002, 08:48 PM
  4. how can I use my printer port as a serial port on win Xp
    By babas151 in forum General Hardware Discussion
    Replies: 3
    Last Post: 04-09-2002, 05:23 PM
  5. 1 serial port, 2 devices
    By Meatballman in forum General Hardware Discussion
    Replies: 7
    Last Post: 04-16-2000, 10:50 PM

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
  •