433 Mhz Data Receiver


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Ok,I read now the data from the PIC16F84 eprom.
    When I push the button 1 and save the data trough the receiver to the PIC I can see on the adress 0000: 01 00 03 EF 36 00 00 00 when I push the button 2 I can read on adress 0000:01 00 03 ED 2E 00 00 00.
    I think this is the right code!

    Bye Pesti.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Hi,
    is nobody here that can help me?

    Thanks.
    Pesti.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Hi,
    I have another question how can I check this number "108219" on Porta.0 with serin command.
    Example serin porta.0,N300,[108], B0 this is for number "108",but i want to check the complete number how can i do this,I become all the time number owerflow while this is to big !
    Thanks a lot people for help.

    Pesti.

  4. #4


    Did you find this post helpful? Yes | No

    Talking

    Wauuuuuuuu!
    Thanks people for so much help.
    I will never forget this!
    Bye Pesti.

  5. #5
    Join Date
    Feb 2005
    Location
    Essex, UK
    Posts
    154


    Did you find this post helpful? Yes | No

    Default

    Would you mind posting a snipet of your Serin code. I too am using a 433Mhz receiver which has 4 outputs. 1-3 are depending on which of the 3 buttons on the fob are pressed, but the 4th emits serial data, like the serial number of the fob device.

    I owuld be interested in how you are capturing your serial code.

    Many thanks,

    Steve

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Hi,
    I try to capture with audio visual method or connect direct from transmitter output to my second PIC.
    But the problem is I can not make the same wave I dont know why!, I have tryed with 300 Baud then with 1200 but I can not have the same binary tone.
    I use just a normal Serin command:

    Define LOADER_USED 1


    Include "modedefs.bas" ' Mode definitions for Serout



    ADCON1=7
    define osc 4

    DEFINE HSER_RCSTA 90h
    DEFINE HSER_TXSTA 24h
    DEFINE HSER_SPBRG 207 ' 1200 Bauds
    DEFINE HSER_CLOERR 1









    ' Alias definition
    ' ================
    '
    '
    RCIF VAR PIR1.5 ' Receive interrupt flag (1=full , 0=empty)
    TXIF VAR PIR1.4 ' Transmit interrupt flag (1=empty, 0=full)

    ' Variable definition
    ' ===================


    B0 var byte

    pause 10 ' safe start-up delay


    Main:

    serin porta.0,N1200,B0
    serout porta.1,N1200,[B0]
    hserout [#B0]
    goto main

    This photo is what I have captured from my transmitter.
    This wave is made from the transmitter 5 times.
    I have found on the web how can I read this audio data but I dont know any more where is this homepage ! :-)

    Bye Pesti.
    Attached Images Attached Images  

  7. #7


    Did you find this post helpful? Yes | No

    Default Manchester

    Hi People,
    i have a question ,can I use this manchester code like in this example.
    Trough PortA.0 is incoming encoded data from my transmitter and is then decoded and trough PortA.1 is going encoded data out.

    Define LOADER_USED 1
    Include "modedefs.bas" ' Mode definitions for Serout

    ADCON1=7
    define osc 4

    DEFINE HSER_RCSTA 90h
    DEFINE HSER_TXSTA 24h
    DEFINE HSER_SPBRG 207 ' 1200 Bauds
    DEFINE HSER_CLOERR 1

    n var byte
    d var byte
    myVar VAR byte
    CounterA var Byte
    ErrorFlag var Bit
    MyData var Byte
    encoded var Word
    v var word

    pause 10 ' safe start-up delay

    Main:

    serin porta.0,N1200,v

    ErrorFlag=0
    For CounterA=0 to 7
    If v.1=0 then
    MyData.7=0
    If v.0=0 then ErrorFlag=1
    else
    MyData.7=1
    If v.0=1 then ErrorFlag=1
    endif
    v=v>>2
    If CounterA<7 then MyData=MyData>1
    next
    goto encodemanchester
    encodeManchester:
    For d=0 TO 7
    IF mydata.0[d]=0 Then
    encoded.0[d*2]=0
    encoded.0[d*2+1]=1
    Else
    encoded.0[d*2]=1
    encoded.0[d*2+1]=0
    EndIF

    serout porta.1,N1200,[encoded]
    hserout [encoded]

    Next

    goto main
    end


    Please for help,thanks very much.

    Pesti.

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 05:47
  2. Nokia 3310 display text
    By chai98a in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 26th August 2007, 04:39
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 03:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 15:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 29th November 2004, 00: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