Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

secure rf communication

Status
Not open for further replies.

vksh

Newbie level 6
Joined
Oct 26, 2014
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
79
Plz help me

I m doing my project on secure rf communication
Using at89s52 keypad or LCD or rf antenna

Plz provide me source code for both tx and rx
 

Hey... try to do it yourself , you will get lot of tutorials about using the serial port , lcd interfacing etc from the internet.
Its so easy to learn 89s52 programming. If you want to use wireless communication you can prefer zigbee or 433Mhz rf module, both works on the uart of the uC.
Anyway here i am attaching a code containing basic functions for lcd interfacing and serial port configuration, edit it as your need
Code:
#include<REG51.h>			//LCD DATA P1    RS= P2.0,RW=P2.1,EN=P2.2
void DELAY(int);
unsigned char ASCII(unsigned char);	//funtion to convert hex to ascii	
void LCD_COMMAND(unsigned char);
void LCD_DATA(unsigned char);
void LCD_STRING(unsigned char *VAR)
{
 	while(*VAR)
	LCD_DATA(*VAR++);

}


void main()
{

TMOD=0X22;
TH1=0X00;
SCON=0X50;
LCD_COMMAND(0X38);
LCD_COMMAND(0X0C);
DELAY(100);
while(1)
{




}



void DELAY(int C)
{
TF0=0;
TR0=1;
for(I=0;I<C;I++)
{						
while(TF0==0);
TF0=0;
}
}

void LCD_COMMAND(unsigned char DATA)
{
P1=DATA;
P2_0=0;
P2_1=0;
P2_2=0;
P2_2=1;
DELAY(60);
P2_2=0;
}

void LCD_DATA(unsigned char DATA)
{
P1=DATA;
P2_0=1;
P2_1=0;
P2_2=0;
P2_2=1;
DELAY(60);
P2_2=0;

}
 unsigned char ASCII( unsigned char temp)
	{
	if(temp>0x09)
	{
	temp=temp+0x07;
	}
	temp=temp+0x30;
	return(temp);
	}
 
  • Like
Reactions: vksh

    vksh

    Points: 2
    Helpful Answer Positive Rating
I hv tried
But I m poor in programming
And in next two days I hv to submit my minor project
In which I hv to show data transmission on proteus
Pl help me
 

I hv tried
But I m poor in programming
And in next two days I hv to submit my minor project
In which I hv to show data transmission on Proteus
Pl help me

Put up your simulation and code you write and problem you are having with out that its like shooting in the air for others and hard to help you. provide more information for helpful answer.
 
  • Like
Reactions: vksh

    vksh

    Points: 2
    Helpful Answer Positive Rating
Explain your needs clearly , i can help you
 
  • Like
Reactions: vksh

    vksh

    Points: 2
    Helpful Answer Positive Rating
I want to devlop my project
Secure rf data transmission on proteus software

Using two mco at89s52
Keyped , lcd , rf module

I want source code for both tx mco , rx mco

- - - Updated - - -

Milan.rajik
Provide me a code but it is not complete
Spacially for tx because it not contain input method like keyped

And it dose not secure comm.

Plz hel me

- - - Updated - - -

Here is the attachment

http://www.datafilehost.com/d/32c84ab7
 

I want to devlop my project
Secure rf data transmission on proteus software

Using two mco at89s52
Keyped , lcd , rf module

I want source code for both tx mco , rx mco

- - - Updated - - -

Milan.rajik
Provide me a code but it is not complete
Spacially for tx because it not contain input method like keyped

And it dose not secure comm.

Plz hel me

- - - Updated - - -

Here is the attachment

https://www.datafilehost.com/d/32c84ab7

Please try bye yourself and show the work you have done first for start you can do many sample code on google using that make your application code and then if you get any problem then come up with that problem.

Please start your work and share it so others can help..

https://www.codeproject.com/Articles/55864/Remote-control-based-on-c-with-MHz-radio-mo
**broken link removed**
 
  • Like
Reactions: vksh

    vksh

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top