POST No. 2407083
How can I program OpenCM 9.04 via paired XBees
2018-11-06 09:18:23 Perrin


I have a CM9.04 board on a robot that I have been programming via the USB port on the board connected to a Windows PC running the Arduino IDE. This works fine but I would like to be able to upload the program wirelessly as it's a walking robot so it would make changes much faster and easier

I have  2 x XBee S2 Pros and USB adaptors for each

I connected one Xbee into the USB port on the Cm9.04 using a Micro b to Micro b USB cable

I connected the other paired Xbee into the Windows PC USB port using another USB XBee Adaptor with a standard PC USB port to micro B usb cable

Then using the Arduino IDE I then tried to upload a program but it fails to connect to the CM9.04. 

I know the XBees are correctly paired and can communicate with each other. They are configured in the default transparent serial connection mode.

Has anyone tried to do this successfully?



2018-11-06 09:18:23
John Perrin
2018-11-06 10:41:03 Will Son

Hi John,

Thank you for the inquiry.

When a sketch is downloaded from Arduino IDE, it'll look for a specific information for OpenCM9.04 from the COM port, therefore using XBee module for transmitting program will not possible.

Thank you.

2018-11-06 10:41:03
Will Son
2018-11-07 19:43:21 John Perrin

Hi Will,

Thanks for the reply. I don't quite understand what you mean as the XBees are configured to be a transparent serial connection which is effectively a piece of wire so they appear as a comm port at both the PC and the OpenCM9.04 board. However assuming Xbees can't be used is there any other method of wireless programming? 



2018-11-08 11:44:51 Will Son
I'm not sure how your XBee works, but how OpenCM9.04 recognizes XBee device connected to the micro USB port without a driver?
Also there are several information transmitted back and forth during download process with specific device information.
So I'd say that only USB connection to PC can be used in order to programming the OpenCM9.04 for now.
Thank you.
2018-11-08 11:44:51
Will Son
2018-11-07 19:43:21
John Perrin
2018-11-08 18:14:30 John Perrin

Thanks, that makes it clearer. Good point about the driver.

2018-11-09 16:27:09 Will Son
Thank you for the feedback.
I hope your project goes well :)
2018-11-09 16:27:09
Will Son
2018-11-08 18:14:30
John Perrin
웹에디터 시작 웹 에디터 끝