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

MR-C3024 16Mhz

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
20 postsPage 2 of 21, 2
20 postsPage 2 of 21, 2

Post by kushlik » Tue Jun 03, 2008 5:35 pm

Post by kushlik
Tue Jun 03, 2008 5:35 pm

i-Bot,

I was curious about the speed setting - what does it do? Is this an alternative to setting a desired angle - just set the speed and it will move at that speed? I am confused why "set speed" and "get position" are combined together. So far i was only able to set speed to 0. otherwise the servo does not respond or turn...
i-Bot,

I was curious about the speed setting - what does it do? Is this an alternative to setting a desired angle - just set the speed and it will move at that speed? I am confused why "set speed" and "get position" are combined together. So far i was only able to set speed to 0. otherwise the servo does not respond or turn...
kushlik
Robot Builder
Robot Builder
Posts: 8
Joined: Mon Jun 02, 2008 10:04 pm

Post by i-Bot » Tue Jun 03, 2008 5:52 pm

Post by i-Bot
Tue Jun 03, 2008 5:52 pm

The speed setting is very important. It does work. Any controller must manage individual servo speeds in addition to position.

In PWM the position is set on the servo, but the controller sets the speed by splitting the move into smaller timed steps. In serial HMI the speed can be set direct on the servo, and must be changed for slower movements and PTP moves.
The speed setting is very important. It does work. Any controller must manage individual servo speeds in addition to position.

In PWM the position is set on the servo, but the controller sets the speed by splitting the move into smaller timed steps. In serial HMI the speed can be set direct on the servo, and must be changed for slower movements and PTP moves.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by kushlik » Tue Jun 03, 2008 6:56 pm

Post by kushlik
Tue Jun 03, 2008 6:56 pm

Cool, thank you, i got it working.
Cool, thank you, i got it working.
kushlik
Robot Builder
Robot Builder
Posts: 8
Joined: Mon Jun 02, 2008 10:04 pm

Post by Voelker » Fri Jun 06, 2008 1:39 pm

Post by Voelker
Fri Jun 06, 2008 1:39 pm

Do you use external pull-ups on your PIC io to controll the servo or does the internall pull-up are enough ?
Thanks
Do you use external pull-ups on your PIC io to controll the servo or does the internall pull-up are enough ?
Thanks
Voelker
Savvy Roboteer
Savvy Roboteer
Posts: 85
Joined: Thu Sep 06, 2007 7:32 pm

Post by kushlik » Fri Jun 06, 2008 4:00 pm

Post by kushlik
Fri Jun 06, 2008 4:00 pm

i use external resistors, since in PIC 16F, internal pullups are only available for one port (8 IO lines). I use 4.7K pull-up resistor and simply switch the io direction to "input" when the servo is supposed to respond - this way you only need one io port per servo and don't need any circuitry other than the pull-up resistor.
i use external resistors, since in PIC 16F, internal pullups are only available for one port (8 IO lines). I use 4.7K pull-up resistor and simply switch the io direction to "input" when the servo is supposed to respond - this way you only need one io port per servo and don't need any circuitry other than the pull-up resistor.
kushlik
Robot Builder
Robot Builder
Posts: 8
Joined: Mon Jun 02, 2008 10:04 pm

Previous
20 postsPage 2 of 21, 2
20 postsPage 2 of 21, 2