微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > Can I directly connect tws&rws434 to MCU?

Can I directly connect tws&rws434 to MCU?

时间:04-07 整理:3721RD 点击:
bro i will use tws&rws434 to trasnmit data serialy databy using mcu.
brother can i connect my tx or rx directly to my mc tx or rx pin? is there any need for intermediate circuitry?coz i am would be transmitting temp and fire statues serial kindly help

As soon as you set the date rate such that it should be below 3KBps which is specified as max data rate , and setting the voltage value for high level bits below VCC+0.5 V , you can use directly to connect your mcu's tx pin to the transmitter circuit. Don't forget to consider the pulses' rise / fall time they should be below 100uS.

Regards,
ALPER USLU

thanks bro 4 yr reply
but i could understand"setting the voltage value for high level bits below VCC+0.5 V , you can use directly to connect your mcu's tx pin to the transmitter circuit. Don't forget to consider the pulses' rise / fall time they should be below 100uS."
could u plz explain.if i dont connect directly so wt type of intermidiate cktry shd i use? i hav to transmitt the temp and text serially..."

Hi i think you should read your mcu's serial communication peripheral datasheet especially timing and electrical characteristics section. After reading you can find answers to your questions.

Regards,
ALPER USLU

hello brothr
broth i did read my uc data sheet here is the linkhttp://www.atmel.com/dyn/resources/prod_documents/doc0265.pdf
but i could nt find any thing related to ur post " setting the voltage value for high level bits below VCC+0.5 V , you can use directly to connect your mcu's tx pin to the transmitter circuit. Don't forget to consider the pulses' rise / fall time they should be below 100uS."
brothr plz help me

tws&rws434 are RF transmitter and receiver OF 434MHz If i am not wrong....You cannot connect them directly to controller.. you need to use encoder and decoder (HT12E and HT12D) .....

AND MOREOVER.... I DONT THINK YOU HAVE ANY EXPERIENCE IN ANY OF THE FORUM BEFORE... YOU NEED TO FOLLOW SOME RULES STRICTLY HERE.......

1. NEVER USE SMS SHORT FORMS WHEN YOU ARE ASKING HELP....
2. TELL CLEARLY WHAT YOU IMPLEMENTED ALREADY AND WHAT MODULES OR METHOD YOU WISH TO INTEND TO USE.

brother actually alperuslu told me that if i fulfill above mentioned two conditions, i can connect the transmitter and receiver to my MCU directly ,so could u tell me who is right?
actually i am constructing a fire fighting robot(using a car)
my robot would move forward for for 4sec and than it would stop and measure the temp and it transmit it to main panel(wireless) and if the temp is greater than 40c(c=degree) ,it would turn on the fire extinguishing system(fan+water pump). and if the temp is normal it would turn left,and again it would stop ,and measure the temp ,would transmit it and in this way my robot would complete a rectangular loop
i am facing some problems
1:
my temp sensor lm35dz which is connected to my MCU(AT89C51) by an ADC0804, is linear with temp,but when i increase to 40c(440mv)so adc0804's o/p is 31c ,so could u tell me how can i remove this error(i perfectly maintained 1.28v as reference /2 (some time it varies 1.284)). i checked my code using Proteus sp2 ,and my code is 100% right
2:) 2nd problem is that as i said that my robot will follow a predefined path ,so when it moves for sec forward ,after it gets stop..and after this my robot doesn't move at all.so could u help me how can i remove theses errors
thanks

need to see you hardware connection and code..... but i feel what alperuslu told is not correct in your case................

brothr i hav uploaded the circuit diagrams
URL:
../imgqa/eboard/Antenna/rf-gn1v2kaajmh.jpg
../imgqa/eboard/Antenna/rf-ouhg2vtcoqf.jpg
../imgqa/eboard/Antenna/rf-4lo510eplgh.jpg

brothr after a hard work of 5 hrs finally i found the error.actually when ever i send low to read pin of ADC0804 to get out the converted data ,it causes my program execution to stop and other functions doesn't execute but if i dont execute the command to low the read pin of my ADC the prog executes rightly but it doesn't convert temp into binary.
actually i dont hav the code now but i will post tomorrow ,actually i am using the same code given in mazidee's book on 8051 programming ,in adc's chaptr.

Mazidi is bible ............ you cannot question it

brother the code for adc 0804

R EQU P2.5
W EQU P2.6
INT WQU P2.7
MOV P0,#0FFH
SETB INT
BACK:SETB W
CLR W
HERE:JB ,INT ,HERE
CLR R
MOV A,P0
SETB R
RET



NOTE: I WROTE THE CODE FROM MY MEMORY ,BUT IN I AM USINF MAZEDEE'S COPY
SO COULD U TELL ME THE SOLUTION

post your circuit please...

../imgqa/eboard/Antenna/rf-gn1v2kaajmh.jpg
../imgqa/eboard/Antenna/rf-ouhg2vtcoqf.jpg
../imgqa/eboard/Antenna/rf-4lo510eplgh.jpg

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top