How to decode communication


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default Re: How to decode communication

    Looking at the components, it might be a current loop signalling. Is it?

    Are there any communications related components below the LCD ? Cant see them in the photo.

  2. #2
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default Re: How to decode communication

    There's nothing under the LCD. What you see is what you get. Correct me if I'm wrong but it can't be a current loop because I have nothing connected to the output except the scope probe.

  3. #3
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default Re: How to decode communication

    The signal output appears to be coming from a 2N3417 (collector), which also appears to be in parallel with a TIP30C (collector).

  4. #4
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default Re: How to decode communication

    Something else popped into my head. The time between the start of each byte is exactly 1,250uS. The time it takes to transmit the total packet is 20mS, which means there are 16 digits. Can I do all of this manually? To be more specific, can I use GOSUB's for each number and just specify exactly how long I need the pulses to be? The data is predictable and I'm not seeing anything that doesn't look strange. There are only numbers transmitted and they are 0-9. My thought is something like this:

    Code:
    MAINLOOP:
    
    'GATHER NUMBERS TO BE TRANSMITTED
    
    SELECT CASE D0
        CASE 0
            GOSUB ZERO
        CASE 1
            GOSUB ONE
    END SELECT
    
    SELECT CASE D1
        CASE 0
            GOSUB ZERO
        CASE 1
            GOSUB ONE
    END SELECT
    
    
    SELECT CASE D2
        CASE 0
            GOSUB ZERO
        CASE 1
            GOSUB ONE
    END SELECT
    
    ......
    
    SELECT CASE D15
        CASE 0
            GOSUB ZERO
        CASE 1
            GOSUB ONE
    END SELECT
    
    PAUSE 5
    
    GOTO MAINLOOP
    
    .....
    
    ZERO:
    DO3=1
    PAUSEUS 550
    DO3=0
    PAUSEUS 75
    DO3=1
    PAUSEUS 50
    DO3=0
    PAUSEUS 575
    RETURN
    
    ONE:
    DO3=1
    PAUSEUS 50
    DO3=0
    PAUSEUS 75
    DO3=1
    PAUSEUS 175
    DO3=0
    PAUSEUS 300
    DO3=1
    PAUSEUS 50
    DO3=0
    PAUSEUS 600
    RETURN
    
    TWO:
    DO3=1
    PAUSEUS 250
    DO3=0
    PAUSEUS 75
    DO3=1
    PAUSEUS 150
    DO3=0
    PAUSEUS 75
    DO3=1
    PAUSEUS 250
    DO3=0
    PAUSEUS 450
    RETURN
    
    THREE:
    DO3=1
    PAUSEUS 400
    DO3=0
    PAUSEUS 150
    DO3=1
    PAUSEUS 250
    DO3=0 
    PAUSEUS 450
    RETURN
    
    FOUR:
    DO3=1
    PAUSEUS 75
    DO3=0
    PAUSEUS 75
    DO3=1
    PAUSEUS 150
    DO3=0
    PAUSEUS 150
    DO3=1
    PAUSEUS 250
    DO3=0
    PAUSEUS 550
    RETURN
    
    FIVE:
    DO3=1
    PAUSEUS 150
    DO3=0
    PAUSEUS 75
    DO3=1
    PAUSEUS 150
    DO3=0
    PAUSEUS 75
    DO3=1
    PAUSEUS 325
    DO3=0
    PAUSEUS 475
    RETURN
    
    SIX:
    DO3=1
    PAUSEUS 150
    DO3=0
    PAUSEUS 75
    DO3=1
    PAUSEUS 475
    DO3=0
    PAUSEUS 550
    RETURN
    
    SEVEN:
    DO3=1
    PAUSEUS 325
    DO3=0
    PAUSEUS 300
    DO3=1
    PAUSEUS 150
    DO3=0
    PAUSEUS 475
    RETURN
    
    EIGHT:
    DO3=1
    PAUSEUS 800
    DO3=0
    PAUSEUS 450
    RETURN
    
    NINE:
    DO3=1
    PAUSEUS 325
    DO3=0
    PAUSEUS 150
    DO3=1
    PAUSEUS 325
    DO3=0
    PAUSEUS 450
    RETURN

Similar Threads

  1. DCF77 decode
    By mombasa in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th January 2015, 18:27
  2. How to decode an SMS which looks like this ...
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 8th October 2009, 00:26
  3. encode/decode manchester
    By a_critchlow in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 6th February 2006, 08:50
  4. Decode RC5 ?
    By charudatt in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd November 2005, 10:12
  5. RC5 Encode / Decode
    By charudatt in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 18th October 2003, 05:14

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