Servo

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Servo

Post by Jan Lichtenbelt »

An interesting new future are the servo's. There is even an possibility to trim the servo's. My experience is that trim at both limits of the servo (left and right) can be necessary. What does the flowcode trim? Changing the all the posotions with the trim-values?
Remark: Do not connect a servo direct to an E-Block output! The initial current on changing position can be to high. My proposal is to test first 1kOhm resistance in the control line.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Servo

Post by Benj »

Hi Jan

The trim value in Flowcode is a method to try to centre the servo which in effect allows you to shift the entire scale of the servo output.

Servos connected directly to a microcontroller output are ok. The current given to the servo motors all comes in via the +V connection and the output from the microcontroller simply operates the closed loop controller. At least I think this is the way they work :)

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: Servo

Post by Jan Lichtenbelt »

The current/power necessary a servo will go through the +V (red) and Gnd (black) and will strongly depends on the application. The servo will be controlled by a 1-2 msec pulse repeated with 50 Hz. This control line (mostly the white wire) must have enough power for the control unit in the servo. I measured once that the initial current which is (far) above the specifiactions of output of PIC's. That was the base of my advice to use a resistance in this line.

But if you say that it is possible to connect servo's direct to PIC, I'm happy! That is much easier.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Servo

Post by Benj »

Hello Jan

I've not come across a servo motor yet that cannot be ran directly from an I/O pin. :)

Maybe larger servers like industrial motors eg non R/C would require a larger current on the control line.

Post Reply