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.

How to make RX and TX faster ?

Status
Not open for further replies.

bianchi77

Advanced Member level 4
Advanced Member level 4
Joined
Jun 11, 2009
Messages
1,313
Helped
21
Reputation
44
Reaction score
20
Trophy points
1,318
Location
California
Activity points
9,442
Friends,

I tried to interface serial RS232 as a transmitter (PC) and mcs51 as a receiver (RX) with 433Mhz, 2400 Baud,
MCS51 is receiving data I have sent, but the response is very slow, why is that ?
Can I put antenna to extend the distance ?

How can I put antenna ? and how can I make the response faster ?

In the receiver :
Code:
	switch(serial_char)
	       {
		   
				 case 'a': //forward car
				      forward_car();
					 delay_100(150);
					 
					 stop_car();
					 delay_100(150);
					 forward_car();
		             break;

I used these modules
RX433_TX433.jpg

currently I'm using putty for transmitting....
Any ideas ?

thanks
 

why are you using delay in a Switch Case ? if you know how switch Case works with static state Diagram you don't have to use delay. and Delay also block other function when it use delay function

I think that the transmitter has a limiter of bandwidth that why you can't send faster, but look in the data sheet. also the bandwidth formula if you can get the input amplitude smaller then the frequency modulation also will drop in FM mode
 

One of way is to use higher baud rate....as Ivan said ...remove all nu-necessary delay in your code ....Also optimization of code will help you bit ....

Good Luck
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top