Dear Matrix Team,
i have a short question. Is it possible to have more then 8 Servos for example under ds30F6011A control.
In simulation I can activate two servo controler running a setup with more then 8 servos (for example 12 Servos). This works.....
You can select/define controller 1 and 2.
Trying to compile you will get a error mesage and you don`t get the hex file.
I belive this has to do with the timer and timer interups in the servo controller component!!!! Right??
Is there a chance to modify the servo controller component??
Attached a FC file with the call for two servo controller.
BR
Dirk
More then 8 Servos??
Moderator: Benj
-
- Posts: 99
- Joined: Fri Feb 02, 2007 3:54 pm
- Location: Germany
- Has thanked: 14 times
- Been thanked: 12 times
- Contact:
More then 8 Servos??
- Attachments
-
- PIC30F6011a Compiler Error with 2 Servo Cotroller.fcfx
- (10.49 KiB) Downloaded 216 times
- 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: More then 8 Servos??
Hi Dirk,
Yes we use two capture compare peripherals to keep track of the on/off time for a single servo channel. We then repeat this eight times to allow the 8 servo channels. A max of 8 channels allows the 50Hz repeat rate that the motors need.
Currently there is no way to select an alternate peripheral but maybe this is possible as the device your using has 8 CCP peripherals. I'll have a quick look for you to see how easy it would be to add this.
...
Looks like this would be quite a big challenge to do but I'll get it on the list for v8 as it would certainly be nice to have.
Yes we use two capture compare peripherals to keep track of the on/off time for a single servo channel. We then repeat this eight times to allow the 8 servo channels. A max of 8 channels allows the 50Hz repeat rate that the motors need.
Currently there is no way to select an alternate peripheral but maybe this is possible as the device your using has 8 CCP peripherals. I'll have a quick look for you to see how easy it would be to add this.
...
Looks like this would be quite a big challenge to do but I'll get it on the list for v8 as it would certainly be nice to have.
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
-
- Posts: 99
- Joined: Fri Feb 02, 2007 3:54 pm
- Location: Germany
- Has thanked: 14 times
- Been thanked: 12 times
- Contact:
Re: More then 8 Servos??
Thx Ben,
I give you a commitment to buy a FC8 Prof. Version if this goes in as a feature.
In this context please considder a 16Bit resulution for the servo signal too.
BR
Dirk
I give you a commitment to buy a FC8 Prof. Version if this goes in as a feature.
In this context please considder a 16Bit resulution for the servo signal too.
BR
Dirk
- 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: More then 8 Servos??
Hi Dirk,
16-bit resolution for the servos is something on my mind also Ok I've added this and the increased channel count to my job list for v8.
16-bit resolution for the servos is something on my mind also Ok I've added this and the increased channel count to my job list for v8.
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