serial polling


Closed Thread
Results 1 to 7 of 7

Thread: serial polling

  1. #1
    Join Date
    Jun 2009
    Posts
    5

    Default serial polling

    i have a device which i need to poll it to get information from it, how do you poll using basic???

  2. #2
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    644


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mataston View Post
    i have a device which i need to poll it to get information from it, how do you poll using basic???
    Mataston,

    You need to provide more details if you want some real help. What device is it? What PIC are you planning to use?

    Robert

  3. #3
    Join Date
    Jun 2009
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    ok i was looking at a pic 16f84, the device is an engine ecu, which i need to poll to get info from

  4. #4
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    644


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mataston View Post
    ok i was looking at a pic 16f84, the device is an engine ecu, which i need to poll to get info from
    You need to get the ECU datasheet and see what I/O it has available to interface with the MCU. The PIC that you are choosing is a very basic one. Definitely, not suitable for the kind of project that you want.

    Robert

  5. #5
    Join Date
    Jun 2009
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    o.k basicly the ecu, has a serial connection, standard 9600,n,8,1, All the data about the engine comes down via serial, apparently it sits in a buffer till someone polls it for the info. its 120bytes in total, so i would probably have to poll it via serial drag all the info then filter out the bit i want.

  6. #6
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mataston View Post
    o.k basically the ecu, has a serial connection, standard 9600,n,8,1, All the data about the engine comes down via serial, apparently it sits in a buffer till someone polls it for the info. its 120bytes in total, so i would probably have to poll it via serial drag all the info then filter out the bit i want.
    It would be useful to know the Make, Model of the vehicle OR what data must be sent to activate the ecu to send. Old GM obd1 systems would send if you ground a certain wire on the ALDL, OBDII is a bit more complicated. I suggest you use the Google search engine (the one which will search just this forum) as this has been done before by others here.
    http://www.google.com/custom?q=&sa=G...picbasic.co.uk
    Last edited by Archangel; - 6th July 2010 at 04:11.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  7. #7
    Join Date
    Jun 2009
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    its called megasquirt

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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