Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Trouble with communicating with dynamixels continously

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
17 postsPage 2 of 21, 2
17 postsPage 2 of 21, 2

Post by MikeG » Thu Apr 01, 2010 2:45 pm

Post by MikeG
Thu Apr 01, 2010 2:45 pm

I took a look at the 8535 manual last night and it appears that you did not post all your code :?: There are registers flags that should be initialized like parity and baud rate.

I agree will Fritzoid UCSRA.7, is a flag that gets set when data is ready in the receive buffer. Anyway, That's how I understand the UCSRA register works from the manual.

This post peaked my interest so I ordered an AVR development board. Should be here in a few days. I'll post my findings.
I took a look at the 8535 manual last night and it appears that you did not post all your code :?: There are registers flags that should be initialized like parity and baud rate.

I agree will Fritzoid UCSRA.7, is a flag that gets set when data is ready in the receive buffer. Anyway, That's how I understand the UCSRA register works from the manual.

This post peaked my interest so I ordered an AVR development board. Should be here in a few days. I'll post my findings.
MikeG
Robot Builder
Robot Builder
Posts: 18
Joined: Fri Dec 25, 2009 5:37 am

Post by ryann2k1 » Thu May 13, 2010 1:44 pm

Post by ryann2k1
Thu May 13, 2010 1:44 pm

yep.
Thanks a lot guys. Seems i need to read more the manual. :(

btw. After reading and sending data request successfully, I investigated that when requesting the speed data while keep monitoring the speed changes, (every 3 s)only the first coming data is true and the rest is not reliable anymore.
Anyone has any idea? the baudrate is set to 115, 2 kbps not I Mbps.

cheers,


ryann2k1
yep.
Thanks a lot guys. Seems i need to read more the manual. :(

btw. After reading and sending data request successfully, I investigated that when requesting the speed data while keep monitoring the speed changes, (every 3 s)only the first coming data is true and the rest is not reliable anymore.
Anyone has any idea? the baudrate is set to 115, 2 kbps not I Mbps.

cheers,


ryann2k1
ryann2k1
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 154
Joined: Thu Nov 16, 2006 1:00 am

Previous
17 postsPage 2 of 21, 2
17 postsPage 2 of 21, 2