+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Junior Member level 3
    Points: 720, Level: 5

    Join Date
    Oct 2009
    Location
    india
    Posts
    30
    Helped
    2 / 2
    Points
    720
    Level
    5

    Re: help regarding 433 mhz transmitter and receiver interfac

    Hi people, I am trying to send a '1' from 434 tx to 434 rx so that the led connected in the receiver led glows.. the transmitter has got 4 pins namely antenna,vcc,gnd and data...i connected a small wire in the antenna pin...and for data i connected the txd pin of at89s52 with data pin of transmitter..the receiver consists of 8 pins..antenna..to which i connected a wire and left out..for the data i connected it from the rxd pin of the at89s52..actually there were 2 data pins so i shorted them and connected to txd pin..the following is the program i am using...
    Code:
    //TRANSMITTER SECTION
    #include 
    void main(void)
    {
    	int i;
    	TMOD=0x20;
    	TH1=0xFD;
     	SCON=0x50;
    	TR1=1;
            while(1)
    	{
    		SBUF=1;
    		while(TI==0);
    		TI=0;
    	}
    }
    //RECEIVER SECTION
    #include 
    sbit mybit=P2^0;
    void main(void)
    {
    	TMOD=0x20;
    	TH1=0xFD;
     	SCON=0x50;
    	TR1=1;
            while(1)
    	{
    		while(RI==0);
    		mybit=SBUF;
    		RI=0;
    	}
    }
    
    
    But i am not getting any output at the receiver what might the problem...please help me out..
    Added after 5 hours 38 minutes:

    now i could understand that i got to encode the data what i am going to send..when i searched i found i got to use manchester encoding..now could u guyz please tell me how to do manchester encoding and decoding ...

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 13,879, Level: 28
    nandhu015's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    1,963
    Helped
    299 / 299
    Points
    13,879
    Level
    28
    Blog Entries
    18

    help regarding 433 mhz transmitter and receiver interfacing

    Use HT12D and HT12E pair for encoding and decoding. It is simple.

    Nandhu



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 1
    Points: 4,382, Level: 15
    Achievements:
    7 years registered
    anandpv2009's Avatar
    Join Date
    Aug 2009
    Location
    God's Own Country, Kerala
    Posts
    407
    Helped
    60 / 60
    Points
    4,382
    Level
    15

    Re: help regarding 433 mhz transmitter and receiver interfac

    Ya, use HT12E and 12D.



--[[ ]]--