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.

Serial communication problem in Touch controlled wheelchair

Status
Not open for further replies.

Ananthuargn

Newbie level 3
Newbie level 3
Joined
Apr 21, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,303
Hello sir..currently i am doing a project on Touch controlled wheelchair. In which i got the output of X,Y co ordinates of of the touch using PIC controller
this x,y co ordinates comes as serial data in the following format..
X:0062 Y:0090 Z:0026
the serial data format is
2.JPG
so i need a coding on 89v51rd2 micro controller to receive the data,process the data....and to perform the necessary action (to operate the motor)

Anyone plz help.....
Waiting for ur reply..............
 

which compiler u r using?

- - - Updated - - -

refer this link. here PIC controller used.
http://www.circuitstoday.com/communicating-between-lcd-and-pc-using-uart-of-pic
 

thank u sir ....
but i got the 22 bytes serial data(image previously uploaded) from pic micro controller and i want to get that serial data in 89v51rd2 micro controller receiver to perform necessary action.
so that i need the coding for 89v51rd2 sir.
when i touch the touch screen in one point the data received as
ms.jpg
through serial port software..


waiting for Ur reply..........
 

I can help u with PIC micros (and Hi-tech C)
but I can give u the flow if u wish.

which compiler u r using?

if u answer for this someone can help u who worked on it.
 

thank u sir.....
plz give that.

- - - Updated - - -

sir...
i need the c program for 89c51 to receive the 22 bytes serial data, which comes from PIC.the received 22 bytes are in the format of2.JPG .
in this i need only x, y co-ordinates. the program depends on the x,y values.

waiting for Ur reply sir......
Thanks.
 

u keep receive all data whatever u receive from UART. check the last received byte whether it is "X" or "Y"
if it is "X" ignore next data and then receive next 4 bytes store it in some variable say "X".
if it is "Y" ignore next data and then receive next 4 bytes store it in some variable say "Y".
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top