It consists of 2 modules
1. Transmitter
For example, if a code "R" is sent from the Computer serial port the microntroller sends "0x01" to RF Transmitter and a string "Right" back to the computer indicating the direction the robot is going to move.
To Interface 8051 with RF Transmitter, we use a Encoder IC HT12E. A0 to A9 on HT12E represents the address and we have it set to 0x00. Data pins D3 to D0 on the encoder is interfaced with P1.0 to P1.3 of 8051. TE pin of encoder is "Transmission Enable" which enables transmission of data only when it is "Active Low". In our case, the transmission enable is controlled programatically with P1.4 of 8051. The complete circuit is below.
8051 Interfacing with RF Transmitter and Encoder HT12E |
2. Receiver
The receiver consists of
a. RF Receiver
b. Decoder Chip HT12D
c. 8051
d. H-Bridge L293D
e. DC motors.
To Interface 8051 with RF Receiver, we use a DecoderIC HT12D. A0 to A9 is complementary to Address set on Encoder and hence it is 0x00. Data pins D3 t0 D0 are interfaced to pins P1.0 to P1.3 of 8051. Whenever data is received, Pin 17 of the decoder goes high. We use a switching transistor to invert it to "Active Low" to enable us to interface it with "Active Low" INTO Interrupt of 8051. So whenever data is received, INT0 is triggered. The microntroller reads the data from the P1.0 to P1.3 and sends appropriate signals to H-Bridge via P0.0 to P0.3 to control the motors.
8051 Interface with RF Receiver and RF Decoder HT12D |
Please give/send source code and GUI/PC interface application through which commands to be sent.
ReplyDeletedixitad88@gmail.com
Thank You.
Well, the source code is not difficult and it solely depends on the design. On the Tx side, just capture what the computer sends from a serial port using serial interrupt, interpret and pass it on to RF Tx. On the Rx side in an infinite loop, just take what is sent and control the motors. Since there are 4 bits available we have used 0x0001, 0x0010, 0x0100, 0x1000 for Left, Right, Forward, Reverse and others as stop.
DeleteAnd to send the signals from the computer, we just use "Tera Term" in Windows 7.
Hii i am using bray's terminal , i do not have tera term will this cause any problem ???
DeleteSorry no idea about Bray's terminal.
Deletesir can u send me the all program and source code on my e-mail id....it will be great help for me .....
Deleteid-amitbhardwaj21@gmail.com
is it compulsory to use encoder decoder pair?i think if you connect the transmitter at TxD and receiver at RxD then data can be transmitted serially.am i correct?
DeleteCan i get the source code of receiver? i am not getting how to write the code. please send me the code.
ReplyDeleteharari.arihant@gmail.com
Thank you
Well, it is pretty straightforward. When data is recieved, pin 17 of HT12D goes high. It is inverted using transistor and connected to INT0 of microcontroller. In the ISR, you can jsut read the 4bits of P1 and control the DC motors accordingly. Anyways, sent the code to your email.
Deleteit would be great if you can send the source code to my mail id: nirdosh409@gmail.com
Deletethanks in advance
plz i also want the code to control dc motors using rf module (rf receiver/rf transmitter) for 8051 microcontroller at baljitajji@gmail.com
DeleteCould you send the code and any BASCOM51 example you may have in my email vedati44@hotmail.com. Thanks
Deleteplz all code and all information to my mail xx11oo@windowslive.com
ReplyDeleteSent
Deletecan i have the code please......
ReplyDeletebhardwajdin@gmail.com
Sent
DeletePlz send the Transmitter and Reciever Code to me, my Mail ID is youther.biswas8@gmail.com. Also, say, we have connected the output to drive relays at the Reciever side for controlling appliances, and say if there are multiple boards..then it requires some address to be set for each of the board pairs of Tx and Rx, so tht they do not interfere with each other...Wht do u think..?
DeleteA0 to A8 are the address bits in both Tx and Rx. In this case all are grounded so the Address is set to 0x00. You can program to Tx and Rx to set to different Addresses and control different devices accordingly.
DeleteCode sent to you email.
plz give me the code sarvesh.ssv@gmail.com plzzzzz
DeleteSent
Deletedude....what is the use of encoder and decoder here ? i can send serial data from computer to microcontroller serial input directly (UART)....there i can make it parallel using simple coding techniques at transmitter side 8051 ......in the same way at receiver side....
ReplyDeleteI tried that initially, it just didn't work. Should work in theory though
DeleteGood job Sir ,plz all code and all information to my e-mail post4jml@gmail.com
ReplyDeleteplase can you send the code at my id ayush3447@yahoo.in?
ReplyDeleteSent
Deletegood job man,can you send me source codes and schematics? nr.selcuk@gmail.com
ReplyDeletesir pls send me coding at sandeshjain.seetu@gmail.com
ReplyDeleteand tnx sir for explaning the working in pretty lucid way
Sent
Deletecan i have all the codes please sir
ReplyDeleteand the schemetics if u have, well it is great work sir
Deletemy id is unmergud@gmail.com
DeleteSent
Deletecan u write code for arduino?
ReplyDeleteAs I know we do not get ardunio board with inbuilt interface to Computer Serial port via Max232. You have to interface it externally. Instead 8051 is simpler.
DeleteAnd writing code for ardunio is straight forward, just send commands to Ardunio ports interfaced to data bits of RF Transmitter and decode them at the receiver.
sunnytronics.raj0@gmail.com plzzzz send me the code
ReplyDeleteSent
Deleteplz send me the source code.my id is vinaykumarsannala@gmail.com,tejazenic@gmail.com
ReplyDeleteSent
DeletePlease send me the code coolsa5m@gmail.com
DeleteKindly send me the source code for both sender and receicer side ..my mail id id sta3008@gmail.com..Thanks
ReplyDeleteSent
DeleteSir,
ReplyDeletei have designed the whole project but i have no source code,,
plz, send me the source code for both sender and receiver
my id is --
Sharma.gaurav899@gmail.com
Sent
DeleteHi please send me source code prakanaveen@gmail.com
ReplyDeleteSent to your email
DeleteKindly send me the source code for both sender and receicer side. my mail id :prakanaveen@gmail.com
ReplyDeleteSent to your email
Deletegood one sir .pls all source code and program send my mail.manojsinh1992@gmail.com
ReplyDeleteSent but your email is bouncing back!!
Deletesir can u send me the all program and source code on my e-mail id....it will be great help for me .....
ReplyDeleteid- birendra.etce2011@gmail.com
Sent to your email
Deletepls seend me the source code for both tx and rx side ....my id is parthibanmv93@gmail.com
ReplyDeletesent to your email
Deletepls send me code
ReplyDeleteIam helping my friend please send me the tx and rx side code my email id is venki.patil0@gmail.com
ReplyDeleteplease please send the code
ReplyDeleteSent
Deletethank u very very........................much
Deletecan I please get the code at alias047020@gmail.com. Thanks
ReplyDeleteSent
DeleteHi can i get the code of above project , my email id is deep0177@gmail.com
ReplyDeleteSent
Deleteplz can i get the code in embedded c to control dc motore using rf module 434mhz in 8051 microcontroller ,mu id is baljitajji@gmail.com
ReplyDeleteSent
Deletesir can u send the circuit diagram also
Deleteis rf module connected with pc or any seriall communication is done..... actually i want wireless communication via rf module......so send me the code for dat
DeleteCircuit diagram is in the blog post. Check it out. Data is sent from PC -> 8051 -> RF Tx in the Tx side and at the Rx it is RF Rx -> 8051 -> DC motors. You can remove the PC and program the 8051 itself on the Tx side to send the data.
Deleteyes is dere any way to check the communication between rf modules.... dat whether data is transferring btween dem or not
DeleteAs you see in the blog post, Pin 17 of HT12D receiver decoder switches state when data is received. You can use it as an indicator by connecting an LED to the same...
Deletesir could u send me the c code for interfacing rf module at the receiver side ?? and how is the transmitter section interfaced with computer ???my id id rockcontinues@gmail.com
ReplyDeleteCode sent to your email. Interfacing between 8051 and computer serial port is via Max232 IC. We can get circuit boards that have connections ready..
Deleteit would be great if you can send the source code to my mail id: ashwinkulkarni2511@gmail.com
ReplyDeletethanks in advance
sir could you please send me the schematic circuit diagram for wireless robot using rf module
ReplyDeleteCode sent
Deletemy id is ashuthakur116@gmail.com
ReplyDeleteCode sent to your id
DeleteSir please send schematic circuit diagram and source code email id:nishanthbhat.91194@gmail.com Thanks in advance
ReplyDeleteCode sent. circuit diagram is in the blog itself.
DeleteHi, can send source code at theranger@crapmail.org . Thank you very much.
ReplyDeletePlease send me the code coolsa5m@gmail.com
ReplyDeleteSent
DeletePlease send me the codes
ReplyDeletejoshiamogh7@yahoo.in
Sent
Deleteis it compulsory to use encoder decoder pair?i think if you connect the transmitter at TxD and receiver at RxD then data can be transmitted serially.am i correct?
ReplyDeleteTheoretically no..but without encoder / decoder the circuit did not work for me..
Deleteplz send me the source code.my id is satish.sadashiv@yahoo.in
ReplyDeleteBravos ! Verry good job ! Pls. send me the code at : viorel_172000@yahoo.com. Thank you .
ReplyDeleteplease send the source code at saikanamy2j@gmail.com thanks in advance!
ReplyDeleteHi, can i have the source code? pls send to garykhl92@gmail.com thanks
ReplyDeletehai admin, at present iam working on this project so it will help me a lot so
ReplyDeleteplzzz send the source for both trx and rx section
and send all the reuired information to my email: kesavakrishna416@gmail.com
plz send me source code and layout on amrutapawar1197@gmail.com
ReplyDeleteRespect and I have a swell offer: Full House Reno old home renovation
ReplyDelete