Stable ADC readings


Closed Thread
Results 1 to 40 of 91

Hybrid View

  1. #1
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    I think it is more reliable to use Kline to access to all functions (i am going to try to use these adresses Kline functions)
    i have a code but i have to work on it (Kline access based) .i will give a part of it in a new post to hope that someone can help us about it .
    Because my FIS display base code is the same than Golfop...(take on a yahoo group FREELY and freely redistriable but now it is too expensive to buy it---lot of work on it) .
    For try it , we have to use a little program to send caracters between DB25// and K-line .(see logs) LOGS.zip

  2. #2
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: Stable ADC readings

    EDIT :

    See logs for what reacts FIS with sent caracters ... Attachment 6112

    LineK schematics , but we need a program to send values to see how reacts car radio LineK wire ...
    Name:  K-line E1_E2 PIC 16F877A.JPG
Views: 874
Size:  26.0 KB
    code :

    data(data line),clk(clock)
    suma=0
    dat=126
    Shiftout data, clk, 5,[dat]
    suma=suma ^ dat

    Rem High data

    dat=237
    Shiftout dato, clk, 5,[dat]
    suma=suma ^ dat

    Rem Low data

    dat=15
    Shiftout dato, clk, 5,[dat]
    suma=suma ^ dat

    Rem High data
    It is for DATA Line send (ENA/CLOCK/DATA)

    For cont=0 To 15
    tmp=msg[cont]
    Rem dat=255 - tmp
    dat= ~ tmp
    suma=suma ^ dat
    Shiftout data, clk, 5,[dat]
    Rem Low data
    Next cont

    'Somme de controle (sum)

    dat=suma + 1
    Shiftout data, clk, 5,[dat]
    Rem Low data
    High ena
    posy=255
    GoSub display


    FisDw:
    Low ena
    suma=0
    dat=169
    Shiftout data, clk, 5,[dat]
    sum=sum ^ dat

    know 255-longitude del msg

    dat=241
    Shiftout data, clk, 5,[dat]
    sum=sum ^ dat

    It is for example ,but it is a little part of sent values .

    Thanks in advance to ameliorate or given answers .

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