Prebleme Servo Moteur FS90?

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Prebleme Servo Moteur FS90?

Post by tech »

Bonjour,

Voici mon problème, j'utilise Flowcode v6 et j'ai utilisé l'exemple "Controlling a servo with an analogue input" dans l'aide de flowcode pour contrôler un servo moteur mode Fliec FS90.

Je ne parviens pas à le faire fonctionner!?

Je cherche donc de l'aide!

Merci
Attachments
Servo Motor Control v1.fcfx
(7.67 KiB) Downloaded 280 times

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: Prebleme Servo Moteur FS90?

Post by Benj »

Bonjour,

Je l'ai changé vos paramètres de configuration légèrement pour la puce devrait fonctionner correctement maintenant .
Servo Motor Control v1.fcfx
(7.67 KiB) Downloaded 291 times
Si votre toujours des problèmes , alors vous pouvez utiliser le second test 1 clignotant ici pour voir si votre micro est installé et fonctionne à la vitesse correcte .

http://www.matrixtsl.com/wiki/index.php ... ED_flasher


Hello,

I have changed your configuration settings slightly so the chip should run correctly now.
Servo Motor Control v1.fcfx
(7.67 KiB) Downloaded 291 times
If your still having problems then you can use the 1 second flasher test here to see if your micro is setup and running at the correct rate.

http://www.matrixtsl.com/wiki/index.php ... ED_flasher

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Probleme Servo Moteur FS90?

Post by tech »

Bonjour Ben,

Merci ça fonctionne!

Autre question, j'ai testé avec un PIC16F1825 et il y a un problème de compilation, problème de Port B mai il n'y a pas de Port B sur ce chip!? :wink:

error: invalid operand 'FCP_TRIS_B'
error: failed to generate expression

Merci de votre aide!
Attachments
PIC16F1825 Servo Motor Control v1.fcfx
(6.27 KiB) Downloaded 271 times

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: Prebleme Servo Moteur FS90?

Post by Benj »

Bonjour,

Cela ressemble à un bug , je l'ai résolu le problème dans le programme ci-joint pour vous. Je fixe le programme en définissant la composante de servo-contrôleur 8 canaux puis en attribuant un code PIN valide pour chaque canal . Une fois cela fait, le servo-contrôleur peut être modifié pour revenir à 1 canal.
Servo Motor Control v1.fcfx
(7.67 KiB) Downloaded 320 times

Hello,

This looks like a bug, I have fixed the problem in the attached program for you. I fixed the program by setting the servo controller component to 8 channels and then assigning a valid pin to each channel. Once this is done the servo controller can be changed back to 1 channel.
Servo Motor Control v1.fcfx
(7.67 KiB) Downloaded 320 times

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Prebleme Servo Moteur FS90?

Post by tech »

Bonjour Ben,

Malheureusement ça ne fonctionne pas avec le PIC16F1825, j'ai toujours le Prot B qui apparait dans Properties > Connections > Channel ? :(

Merci

Chris
Attachments
PIC16F1825 Port.jpg
PIC16F1825 Port.jpg (22.44 KiB) Viewed 10510 times

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Prebleme Servo Moteur FS90?

Post by tech »

Ben,

Ok je n'avais pas bien fait les étapes, la ça fonctionne! :D

Effectivement c’est un bug, prévoyez-vous le résoudre??

Merci

Chris

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: Prebleme Servo Moteur FS90?

Post by Benj »

Bonjour Chris ,

Oui, je vais vous assurer que le bug est corrigé dans la prochaine version .

Merci de nous en informer .


Hello Chris,

Yes I will make sure the bug is fixed in the next release.

Thanks for letting us know.

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Pr0bleme Servo Moteur FS90?

Post by tech »

Bonjour Ben,

Voici le problème, je tente de faire fonctionner sur le Port C2 le servo moteur car dans mon montage je dois utiliser ce port, mais ça ne fonctionne pas?? :?

J'ai vérifié si il y avait du signal sur le port et rein.....pouvez-vous me dire quel est le problème?

Merci

Chris
Attachments
PIC16F1825 Servo Motor Control v2.fcfx
(6.64 KiB) Downloaded 283 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Prebleme Servo Moteur FS90?

Post by medelec35 »

Hi Chris,
Initalise required..png
(8.5 KiB) Downloaded 7204 times
Martin
Martin

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Prebleme Servo Moteur FS90?

Post by tech »

Bonjour Martin,

Malheureusement même apprêt avoir insérer la macro d’initialisation ça ne fonctionne pas :(

Je me demande vu qu’il y a un bug au niveau des ports si cela affecte le code qui est compilé??

J’ai même essayé avec Flowcode v5 et ça ne fonctionne pas non plus :?

Je ne sais plus trop quoi faire :?:

Merci

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: Prebleme Servo Moteur FS90?

Post by Benj »

Bonjour,

Je recommande la désactivation de la "Programmation de la basse tension" et " Activer PLL " paramètres de configuration .

Je recommande également l'exécution du second test 1 clignotant pour confirmer la puce fonctionne à la vitesse correcte .

http://www.matrixtsl.com/wiki/index.php ... ED_flasher



Hello,

I would recommend disabling the "Low Voltage Programming" and "PLL Enable" configuration settings.

I would also recommend running the 1 second flasher test to confirm the chip is running at the correct rate.

http://www.matrixtsl.com/wiki/index.php ... ED_flasher

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Prebleme Servo Moteur FS90?

Post by tech »

Bonjour Ben,

Effectivement je devais désactiver la "Programmation de la basse tension" et " Activer PLL " paramètres de configuration.

Moi voici une fois le servo moteur fonctionnel mon PWM sur le prort C3 (CCP2) ne fonctionne plus :oops:

Le component servo controller peut-il être la cause??

Merci

Chris

Post Reply