Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Xbee and PC interface?

Status
Not open for further replies.

Cheetos

Member level 3
Joined
May 26, 2011
Messages
57
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,700
greetings, i would like to ask if my circuit is right because i would like to interface Xbee with my PC. I would also like to ask if what is the code to be used in OpenCV so that my computer will able to transmit data with my xbee. Thank you for your future help



 

ckshivaram

Advanced Member level 5
Joined
Apr 21, 2008
Messages
5,070
Helped
2,146
Reputation
4,298
Reaction score
2,087
Trophy points
1,393
Location
villingen (Germany) / Bangalore
Activity points
30,097
thios circuit should work... if not then change tx and rx connection at one end, .... its simple UART communication so write program to send and recevie data through UART / serial communication....
 

Cheetos

Member level 3
Joined
May 26, 2011
Messages
57
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,700
Thank you for your reply, i am new in this kind of communication. may i ask what is the most C code that can read UART / serial communication?
 

Cheetos

Member level 3
Joined
May 26, 2011
Messages
57
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,700
i forgot to say that i will be connecting this to a computer. i will be using an RS232 to USB device. USB will be connected to my PC. i will be using openCV as my c program. may i ask what is the most basic C code in openCV for me to have a data flow "openCV program" -> USB-> xbee -> air
 

Cheetos

Member level 3
Joined
May 26, 2011
Messages
57
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,700
i would like to send a simple value from my program in openCV for example
if(something detected)
{x=1;
then send to USB to RS232 device (i don't know the code for this)

}
else
{
x=0;
then send to usb to rs232 device

}
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top