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.
Servo
Moderator: Benj
- 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:
- 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
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
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
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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
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.
But if you say that it is possible to connect servo's direct to PIC, I'm happy! That is much easier.
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel