<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=5&amp;t=7237" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2011-06-01T07:29:41+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=7237</id>
<entry>
<author><name><![CDATA[boenklon2]]></name></author>
<updated>2011-06-01T07:29:41+01:00</updated>
<published>2011-06-01T07:29:41+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31404#p31404</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31404#p31404"/>
<title type="html"><![CDATA[[ask]instruction packet dont make AX-12 move with atmega162]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31404#p31404"><![CDATA[
<blockquote><div><cite>Fritzoid wrote:</cite><br />dumb question...is torque enabled ?<br /><br />Also, does the dynamixel return a response packet?<br /><br />if yes - it sees the command but ignores it due to a configuration problem.<br /><br />if no - it does not see the packet due to a communications problem.<br /></div></blockquote><br /><br />hey fritzoid thx for the reply. i found the error. i believe this is some kind of stupid bug. i dont know wether it come form my microcontroler, codevision, or the dynamixel it self.<br />i find that if i write hexa in upper case word (ex : 0xFF,0xD6) it dont work. but if i write the code in lower case in hexa (0xff, 0xd6) it work!!! i dont know why this is happen.this phenomenon really make me crazy!!<br /><br />thx guys<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2757">boenklon2</a> — Wed Jun 01, 2011 7:29 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2011-05-31T12:49:04+01:00</updated>
<published>2011-05-31T12:49:04+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31397#p31397</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31397#p31397"/>
<title type="html"><![CDATA[[ask]instruction packet dont make AX-12 move with atmega162]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31397#p31397"><![CDATA[
dumb question...is torque enabled ?<br /><br />Also, does the dynamixel return a response packet?<br /><br />if yes - it sees the command but ignores it due to a configuration problem.<br /><br />if no - it does not see the packet due to a communications problem.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Tue May 31, 2011 12:49 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[boenklon2]]></name></author>
<updated>2011-05-31T06:33:56+01:00</updated>
<published>2011-05-31T06:33:56+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31388#p31388</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31388#p31388"/>
<title type="html"><![CDATA[[ask]instruction packet dont make AX-12 move with atmega162]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7237&amp;p=31388#p31388"><![CDATA[
hi im a student from indonesia<br /><br />i have a really really weird problem with my dynamixel. i want to control dynamixel AX-12 with Atmega162<br /><br />i use Codevision AVR<br /><br />peripheral that i use is<br />1. Atmega 162 with crystal 16 MHz and 2 usart (usart0 and usart1*but i just use usart0))<br />2. Dynamixel AX-12<br /><br />i make a really-really simple program to make sure the every byte sent succefully. i just want to make the dynamixel move.<br /><br />this is the setting that i used.<br />1. i use atmega162 usart0 with baudrate 57600<br />// USART0 initialization<br />// Communication Parameters: 8 Data, 1 Stop, No Parity<br />// USART0 Receiver: On<br />// USART0 Transmitter: On<br />// USART0 Mode: Asynchronous<br />// USART0 Baud Rate: 57600<br />UCSR0A=0x00;<br />UCSR0B=0x18;<br />UCSR0C=0x86;<br />UBRR0H=0x00;<br />UBRR0L=0x10;<br /><br />2. dynamixel with id 1 and baudrate 57600 (i change this via controller CM-5)<br /><br />then the sample code i made form codevision AVR<br /><br />i put this before while(1)<br />i made this porogram really easy because i tried another code but never work:(:( and i just want to make sure the data being sent correctly<br /><br /><br />---sample code----- i put this before while(1) that generated by codevision AVR to prevent looping------<br /><br />putchar(0xFF); // header<br />putchar(0xFF); // header<br />putchar(0x01); // ID<br />putchar(0x05); // length<br />putchar(0x03); // write instruction<br />putchar(0x1E); // goal position<br />putchar(0x52); // position that i want<br />putchar(0x02); // to give to dynamixel<br />putchar(0x84); // check sum<br /><br /><br />i simulate in isis proteus, check with virtual terminal (simulation) *byte correct* and already check (and make sure) my instruction with terminal CV AVR that connect to atmega 162 sent correctly(real life) *sent byte correct*.(i check it with Tx pin connect to USB Programmer then i connect USB Programmer to PC)<br /><br />but why when i sent this instruction code to dynamixel it doesnt move the servo??please guys help me i got stuck over 4 days. i tried everything (many methods) but never work.dynamixel never respond my instruction.but when i used cm-5 it work.<br /><br />is it ok if i connect Atmega 162 Tx pin to Data pin Dynamixel??<br /><br />i already used the schematic that provided in AX-12 datasheet which used 74HC126 and 74HC04 but it never work.<br />i already make variation with the baudrate (19200,38400,5670,112500 )but it never work<br />i already make buffer in Tx and Rx interrupt but it never work<br />i already change the hexa in putchar to decimal, ex putchar(255);putchar(1); but it never work<br /><br /><br />i have already read the atmega8535 with dynamixel, even he just sent the packet like me and he can control it why i cant control it:(:(<br />please i really really need ur help guys. <img src="http://forum.robosavvy.com/images/smilies/icon_cry.gif" alt=":cry:" title="Crying or Very sad" />  <img src="http://forum.robosavvy.com/images/smilies/icon_cry.gif" alt=":cry:" title="Crying or Very sad" />  <img src="http://forum.robosavvy.com/images/smilies/icon_cry.gif" alt=":cry:" title="Crying or Very sad" />  <img src="http://forum.robosavvy.com/images/smilies/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2757">boenklon2</a> — Tue May 31, 2011 6:33 am</p><hr />
]]></content>
</entry>
</feed>