Discussion in "8051 Discussion Forum" started by    gaurav7577    Dec 26, 2014.
Fri Dec 26 2014, 11:28 pm
#1
hello everyone , i want to do wireless 2 way communication between 89s52 and pc using rf 433 mhz so is it possible ? if yes then , how can i transmit string " Hello World" from 89s52 to pc and vice versa

Regards,Gaurav
Sun Dec 28 2014, 11:08 am
#2
set you controller baud to 2400 connect tx pin to RF transmitter and on the other side.. rx pin to controller. there you go.. simply send data as you do in serial communication.
Sun Dec 28 2014, 11:34 pm
#3
Thanks Ajay,
but i have PC on other side so how to connect RF modules directly to PC????.......and is it that simple the way u said ? no need of any other circuitry
Tue Dec 30 2014, 12:25 am
#4
For two way communication you will need a TX and RX module at each end.
When not transmitting, turn off the power supply to the TX module
or it will jam reception.

To connect the modules to a PC you need an RS232 level converter.

If there is no proper TX signal from the other end,
the RX module will output a stream of random chars.

Set the receiver software to look for a set pattern,
such as U*U*U*U*#
Ignore anything before the sync pattern.

When sending, start with the same string
e.g.
U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*#Hello World


Tue Dec 30 2014, 10:10 am
#5
Thanks ExperimenterUK for ur rply,is there any way to give addresses to TX and RX modules the way we do in case of Zigbee???
Wed Dec 31 2014, 08:59 am
#6


Thanks ExperimenterUK for ur rply,is there any way to give addresses to TX and RX modules the way we do in case of Zigbee???

gaurav7577


Rf 433 modules are "dumb" devices.
They just pass on anything you send them.

Add any address info to the message header.
Using the example above only messages for device 1
are read.

Set the receiver software in device 1 to look for U*U*U*U*#1


When sending, start the message
U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*U*#1Hello World
Wed Dec 31 2014, 08:02 pm
#7
thanks a lot ........let me try this
Thu Jan 01 2015, 12:16 pm
#8
If your messages are not a fixed length,
you will need an "end of message" marker as well.
Fri Jan 02 2015, 01:40 am
#9
ya i will do this as well....

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am
Anthonyvab
Wed Apr 17 2024, 08:48 am