capture/repeat data ?


Closed Thread
Results 1 to 40 of 45

Hybrid View

  1. #1
    Join Date
    Mar 2004
    Posts
    92

    Default

    DynamoBen,
    should I post the data in hex or ascii or both ?

  2. #2
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382

    Default

    Hex first.

  3. #3
    Join Date
    Mar 2004
    Posts
    92

    Default

    OK,
    Here it is.
    Again, I want to be able to program a PIC to,for example, fold mirrors in when a pin goes high. Just don't know where to start ???



    MIRROR FOLD IN:

    02
    06 03 00 0B
    12 00 40
    21 26
    20 91 00
    20 D8 00
    06
    06 03 00 0B
    51
    20 D8 00
    30 01 01 16 02 12 01 17
    0C B3 00
    06 98
    06 98
    30 04 01 0C 02 10 01 0D
    20 D8 00
    05 B3 00 00
    85 00
    05 00
    05 B3 00 00
    20 D8 00
    20 D8 00
    20 D8 00
    20 D8 00
    20 D8 00

    MIRROR FOLD OUT:

    02
    06 03 00 0B
    86 1E
    21 26
    20 91 00
    20 D8 00
    07 02
    47
    61 22
    06 00
    20 D8 00
    30 01 01 16 02 12 01 17
    06
    06 03 00 0B
    06 98
    30 04 01 0C 02 10 01 0D
    20 D8 00
    05 B3 00 00
    05 B3 00 00
    20 D8 00
    20 D8 00
    20 D8 00
    20 D8 00
    20 D8 00

  4. #4
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382

    Default

    I need you at do an ATH1, then ATMA. Then fold the mirrors.

  5. #5
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382

    Default

    This time post the ASCII version.

  6. #6
    Join Date
    Mar 2004
    Posts
    92

    Default

    Here is what is supposed to be ASCII but it wont copy and paste accuratelyfor some reason.


    ˆÿ xŠÂ @ϊá@8ŠÇ¡!&JˆÎ¦…jê@ ‘CŠê@ ØgŠë` žˆß@|õéÞ€Šê@ Øg«Æ@!&cëÆ@a&
    Šë`0s
    Šë`0Š”€³æ
    Šë€0
    Ë
    Šë€0
    ¢j …3Šê@ ØŠ”€³ª•§³Šê@ ØgŠê@ ØgŠê@ ØjÞ@
    ƒŠê@ Øg>



    Here is HEX

    >ATZ
    ELM322 v2.0

    >AT H1
    OK

    >ATMA
    88 FF A0 02 78
    8A C2 A0 12 00 40 CF
    8A C3 A1 12 00 40 38
    8A C7 A0 A1 22 78
    6A EA 40 20 9E 00 E0
    49 FE 1A 06 75
    EB C6 40 61 22 62
    8A EA 40 20 D8 00 67
    49 FE 98 06 24
    8A EB 60 30 01 01 16 02 12 01 17 73
    6A 94 80 06 98 C5
    8A EB 80 30 04 01 0C 02 10 01 0D A2
    6A C2 A0 85 00 33
    8A EA 40 20 D8 00 67
    6A C2 A0 05 00 FA
    AA 95 A7 05 B3 00 00 05
    8A EA 40 20 D8 00 67
    8A EA 40 20 D8 00 67
    8A EA 40 20 D8 00 67
    8A EA 40 20 D8 00 67

    What do you think ?

  7. #7
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382

    Default

    Ok, that tells me a lot. Heres the story.

    First off, yes this is the standard protocol that I had expected. It follows the J2178 SAE standard.

    This is in a 3 byte form meaning the first byte is Priority/Type, second is Target Address (Functional), Third is Source Address.

    All the Sources are "Body Controllers."
    A0-BF are "Convience (Doors, Seats, Windows)"

    The Target Address is Functional which means its value determines the item being controlled.

    6A C2 A0 05 00 FA

    Lets use the above to describe what is what. C2 is the mirrors being sent a message from A0 a source inside the vehicle. 05 is telling the mirror to retract.

    05=retract mirror
    06=extend mirror

    SAE J2178 part 2 describes the packet, and J2178 Part 4 describes the functional addresses. If you google you may run across these documents.

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. Read/Write Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th February 2010, 01:51
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

Members who have read this thread : 0

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