by def » Mon May 30, 2011 4:45 pm
by def
Mon May 30, 2011 4:45 pm
1) 1Mbps is the reset default, but I think most are shipped with a lower speed.
--as far as i know, ax-12 are shipped with 1Mbps default, and to change it to lower bit rate, it need to be communicated atleast once at 1Mbps and change the register settings for baudrate.
2) Shouldn't the baud rate divisor be 2 ? (= 48 / 16 - 1). As I said I don't use 18F4550 myself, but I got that from datasheet.
--this formula is used when we use BRGH=0, I'm using BRGH=1; for that it is 48/4(11+1)=1Mbps
3) LS will work to itself, but the AX12 is using HC, so min V input high is 3.5V, min V out high of LS is 2.7V.
--this can be one reason, but I tried just connecting the TX pin to dynamixel directly without buffer and tried to glow the LED, even that did not work.
When you say the wizard does not work is that with a USB2Dynamixel ? You really need that to check the AX12 baud rate.
How are you powering the AX12 ?
--No i do not have a USB2Dynamixel, since it uses just a usb to serial convertor, so any usb to serial convertor with 1Mbps baud should work fine with a little bit of tuning.
I'm powering ax-12 with a 9 volt adaptor
1) 1Mbps is the reset default, but I think most are shipped with a lower speed.
--as far as i know, ax-12 are shipped with 1Mbps default, and to change it to lower bit rate, it need to be communicated atleast once at 1Mbps and change the register settings for baudrate.
2) Shouldn't the baud rate divisor be 2 ? (= 48 / 16 - 1). As I said I don't use 18F4550 myself, but I got that from datasheet.
--this formula is used when we use BRGH=0, I'm using BRGH=1; for that it is 48/4(11+1)=1Mbps
3) LS will work to itself, but the AX12 is using HC, so min V input high is 3.5V, min V out high of LS is 2.7V.
--this can be one reason, but I tried just connecting the TX pin to dynamixel directly without buffer and tried to glow the LED, even that did not work.
When you say the wizard does not work is that with a USB2Dynamixel ? You really need that to check the AX12 baud rate.
How are you powering the AX12 ?
--No i do not have a USB2Dynamixel, since it uses just a usb to serial convertor, so any usb to serial convertor with 1Mbps baud should work fine with a little bit of tuning.
I'm powering ax-12 with a 9 volt adaptor