Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bobgardner
PostPosted: Jul 04, 2012 - 06:27 PM
10k+ Postman


Joined: Sep 04, 2002
Posts: 21257
Location: Orlando Florida

Hello rf dudes. I have an arduino uno and an xbee shield. There is a switch on the shield to put the xbee rx and tx to pd0 and pd1 to talk to the avr uart, or to pd2 and pd3 so the mega328 can bitbang 9600 bps into the xbee. Do I need to invert the bits I'm sending (normally done by the max232 that isnt there) and invert the bits I'm receiving? I'm using c and programming with avrdude, so the fact that some gpp library exists in arduinoland helps me not.

_________________
Imagecraft compiler user
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
stevech
PostPosted: Jul 04, 2012 - 11:35 PM
Raving lunatic


Joined: Dec 18, 2001
Posts: 4711


I don't think so. I use XBees direct-wired to a microprocessor's UART at 115200baud, Digi Binary API mode. Mind the 3.3V interface.

If you anticipate back-to-back incoming 802.15.4 frames, 9600 baud will be a problem - because the XBee and others have a one-frame buffer on the receive side.

(is it a no-no to talk about non-Atmel wireless devices here?)
 
 View user's profile Send private message  
Reply with quote Back to top
bobgardner
PostPosted: Jul 05, 2012 - 05:51 AM
10k+ Postman


Joined: Sep 04, 2002
Posts: 21257
Location: Orlando Florida

Well, its plugged into an atmel cpu. Does that make it half ok to talk about? Thanks for the confirmation.

_________________
Imagecraft compiler user
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits