View Full Version : Can I replace ARbotix with Arduino Mega 2560?

01-22-2018, 06:15 AM
This is my second ARbotix board which works fine for some days then it will become impossible to upload the code because of the content mismatch error. I just want to get rid of Arbotix-M. Can I replace it with ARduino MEga 2560?

I'm making the PhantomR

Your helpful suggestions will be appreciated.

01-22-2018, 03:40 PM
The answer is yes... With certain caveats.

That is their default libraries are hard coded to bypass the Serial object... I have a version of the library up at github...
https://github.com/kurte/bioloidserial which is setup to handle on different Serial objects, like Serial1 on Arduino mega.

You then need to wire it up to work half duplex... I have done this in the past connecting up the RX/TX pins of one of the Serial ports to each other and to the Data pin of an Bioloid connector and also needed to connect up a common ground...

Note this does not provide the Arduino any protection from anything going wrong on the TTL data line. The AX12 manual shows their prefered hookup.... But I never had problems with hurting an Arduino...