CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

X-BEE connections with MicroControllers

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
hayee



Joined: 05 Sep 2007
Posts: 252

View user's profile Send private message

X-BEE connections with MicroControllers
PostPosted: Sat Feb 07, 2009 3:24 am     Reply with quote

Hi,
I want to communicate two pic (PIC18f452 and PIC16f628A) using X-BEE.
I wanna know that how i connect X-BEE with controllers (with PIC18f452 and PIC16f628A).
X-BEE operates on 3.3V while PIC's operate on 5V.
I think level shifting is required for communicating .
I saw some examples which uses PIC18f452 and X-BEE. In that example no level shifting is done only 3.3V supply is given to X-BEE.

http://hades.mech.northwestern.edu/wiki/index.php/XBee_radio_communication_between_PICs#Overview

Can anybody Tell me how i do level shifting or there is no need for level shifting.
jgschmidt



Joined: 03 Dec 2008
Posts: 184
Location: Gresham, OR USA

View user's profile Send private message Send e-mail Visit poster's website

PIC to XBee
PostPosted: Sat Feb 07, 2009 7:49 pm     Reply with quote

I have connected 12F683's to XBees, both running at 3v and using software serial I/O to communicate. I connected the PIC pins directly to the DOUT/DIN pins on the XBee module. That avoids the level shifting problem. Very easy to build portable controllers running off 2 AA batteries.

For detailed examples of hardware interfacing XBee to microcontrollers see www.kronosrobotics.com/application.shtml and look for MaxStreamInterface #1-4 in the left column.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group