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?
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.
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?
Thanks, that makes it clearer. Good point about the driver.
Ive added a new post I think relevant to this, but jump in here as well
. I am pretty certain I was able to access the OpenCM9.04 control table before. Instead of uploading via Arduino IDE cant we write Arduino code to change registers on the 9.04 ? Ive done this successfully with the motors, sending ASCII strings from my python environment, through the 9.04 which set registers, etc. This should theoretically be doable with Xbees i would think. I have a pair and eventually intend to try them out.
I am basically trying to build a settable remote register GUI for the 9.04 that i can access in my PC development envirinomnment, to assist in developing remote control from my pc.