Microcontroller › 8051 › Interface ask module with microcontroller
- This topic has 8 replies, 2 voices, and was last updated 11 years, 11 months ago by
Darpan.
-
AuthorPosts
-
February 22, 2014 at 4:44 pm #2883
Darpan
ParticipantHello,
I ask module of 433 Mhz.
I Have connected my ask transmitter data pin to max232.
and receiver data pin to my P3.0(RXD) pin.
But it is not working fine.
The code is correct because i checked it using wired connection that means directly connecting max232 pin no.12 to P3.), which is working correct.
I have used lcd to display the character sent by uart
Thanks
February 24, 2014 at 4:40 pm #11096Ashutosh Bhatt
Participantdear friend
where is the RF protocol?
you have to implement any RF protocol. streight forward serial transmission will not work.
better to use RF encoder-decoder chip like HT12E-HT12D
February 25, 2014 at 7:11 am #11104Darpan
ParticipantBut do i still need to use those encoder and decoder ic when i am using microcontroller??
February 25, 2014 at 7:29 am #11105Darpan
ParticipantI am designing pc controlled
that means through UART.
Max232 is being used and ask transmitter is connected to it,which is used to send character using uart.
and ask receiver is used on the microcontroller side, it is connected to RX terminal of my controller..February 25, 2014 at 7:40 am #11106Darpan
ParticipantHello,
How should i use these encoder ic?
they have 4 inputs which they combine and make a serial combination?
why should i use that when i am getting a serial output from uart?
Thanks
February 25, 2014 at 5:27 pm #11109Ashutosh Bhatt
Participantin HT12E chip the 4 bit digital code with 8 bit address transmitted serially by means of specially designed protocol.
HT12D receives these 12 bits extracts 4 bit digital code. so in this case you need not to develop your protocol. its built in enc-dec chips
if you want to transmit serial data through UART wirelessly, you need to develop such protocol. simple UART with MAX232 is not at all a wireless protocol. i think now it will be clear to you.
February 25, 2014 at 5:49 pm #11112Darpan
ParticipantHello A M Bhatt,
I understood what you are trying to say..
But then can you suggest me how to proceed?Can you provide me with some block diagram or some circuit ?
Or how to interface with HT12e and d?
Thanks
February 26, 2014 at 5:42 pm #11113Ashutosh Bhatt
Participantrefer datasheets of HT12E and HT12D you will get idea. its very simple to interface them with micro controller
March 2, 2014 at 4:51 pm #11159Darpan
ParticipantHello,
I have made data transfer between two microcontrollers using ask modules.
I had used encoder and decoder ic on transmitter uc and receiver uc respectively.
Can anyone help me on how to do data transfer using max232(i.e from UART) to microcontroller using ask modules.?? -
AuthorPosts
- You must be logged in to reply to this topic.