Raspberry PI – Using Pololu Wixel / XBee with USB

Next question came up. Is it possible to use my existing communication module like XBee / Pololu Wixel with Raspberry PI?


With Pololu Wixel it come with USB connection. So, It might be possible. But XBee you need a USB breakout board. I got it from Sparkfun.

Before start, by default Raspbian configuration come with Serial Console enable. You have to disable it first.

pi@raspberrypi ~ $ sudo nano -w /etc/inittab

Go to last line, you have to comment T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100 out.

Screen Shot 2013-01-15 at 1.38.48 PM

Edit cmdline.txt file in /boot to disable serial console

Screen Shot 2013-01-15 at 1.39.11 PM

change to

Screen Shot 2013-01-15 at 1.39.23 PM

Then reboot your Raspberry PI,

pi@raspberrypi ~ $ sudo reboot

Now your device ready for communicate with serial connection.

Start with Pololu Wixel. Please make sure your Wixel modules already load with wireless serial communication. And already config baud-rate. Then plug it to your Raspberry PI USB.

Use lsusb to check device and also check output from system message.

Screen Shot 2013-01-15 at 2.02.57 PM


Please see that ‘cdc_acm’ module will link your Pololu Wixel with ttyACM0. wow! You only connect your application with /dev/ttyACM0. Use same baud-rate from Wixel configuration. And communicate. Easy??

Screen Shot 2013-01-15 at 2.07.30 PM

Next is XBee with USB breakout board. This is also easy. Just plug the breakout board to Raspberry PI.

Screen Shot 2013-01-15 at 2.10.12 PM


This time you’ll get ttyUSB0 as your communication device. Just like before. Point your communication software or code to use ttyUSB0 and start communicate.





Leave a Reply