This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to interface 8051 with transceiver

i need to know about how to interface an 8051 microcontroller with RXQ1 transceiver. i'd like to know how to connect them (through which ports of the microcontroller) and if possible i need a program in Assembly that read from switches (on\off) and send this data to the transceiver to send this data through antenna.
asap please

  • This seems to be a popular project this year. When is it due in?

  • it is not a popular project.
    its due in the 5th of November
    please i need help soon
    thanks

  • "please i need help soon"

    Show us what you've done so far and explain what problem(s) you are having and we'll try and help you.

    We are not, however, going to do your project for you.

  • first i'll describe the project:
    the project is a remote switching where we need to send a signal from a transmitter side from switches through an 8051 microcontroller and a transceiver to turn on some devices in the receiver side.
    i have done most of the job, i wrote the microcontroller code and connected the system without the transceivers to check if the program sends the data from the serial port in the transmitter side to the serial port in the receiver side and everytheing went fine. but the problem that i have is that when i interfaced the transceiver to the microcontroller, data was not send by the transceiver.
    are there any constraints or conditions that should be done when interfacing a microcontroller to a transceiver?
    please reply soon
    thanks alot

  • I thought you said this was due by 5 Nov?

    "are there any constraints or conditions that should be done when interfacing a microcontroller to a transceiver?"

    The only answer that can be given to such a vague and non-specific question is, "Yes!"

    If you said what transceiver you're using - make & full model details - somebody might be able to make informed suggestions.

    What does the Data sheet for the transceiver say?
    It would help if you posted a link to it.

    "when i interfaced the transceiver to the microcontroller, data was not send by the transceiver."

    How do you know that the data is not being sent, as opposed to the data not being received?
    You do have both transmitter and receiver correctly tuned to the same channel, don't you?

    Can you test the transceivers in isolation, independant of your microcontroller stuff?

  • i tested the transceivers in isolation, independant of the microcontroller by sending a signal from the function generator and is was received by the other transceiver and i checked that by the oscilliscope

    this is a link to the transceiver i have used
    http://www.radiometrix.co.uk/dsheets/bim.pdf

  • How do you connect the transmitter to your microcontroller? The datasheet gives a good example on page 11/figure 8. If you use figure 7 you should disable the serial receiver of the microcontroller while CD is high, othertwise the uart will receive the noise.
    Once the hardware interface is done, you cannot send any character via UART. Example for machester coding if you want to send 0x41 (Ascii A)
    binary format is 0100 0001
    Your firmware converts every 0 into 01 and every 1 into 10.
    0x4=0100 => 01100101=0x65
    0x1=0001 => 01010110=0x56
    Your firmware then transmits both 0x65 and 0x56.
    Gunnar