Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

servo for camera/servo pour caméra #3991

Closed
diiity opened this issue Nov 6, 2018 · 19 comments
Closed

servo for camera/servo pour caméra #3991

diiity opened this issue Nov 6, 2018 · 19 comments

Comments

@diiity
Copy link

diiity commented Nov 6, 2018

Hello,

I have a MATEK F405 SDT card with INAV 2.0.

I would like to rotate the camera in the up and down direction with a potentiometer.

I soldered on the S6 pin but nothing happens, I think it is necessary to activate a uart or sofserial but in what configuration?

cordially

Diiity
capture

Bonjour,

Je possède une carte MATEK F405 SDT avec INAV 2.0.

Je voudrais faire pivoter la caméra dans le sens haut et bas avec un potentiomètre.

J'ai soudé sur le pin S6 mais rien ne se passe, je pense qu'il faut activer un uart ou un sofserial mais dans quelle configuration?

Cordialement

Diiity

@wx4cb
Copy link

wx4cb commented Nov 6, 2018

no you need to setup in the mixer. Here's how i have my pan servo setup in my mini talon. It's on channel 7, the other channel is the one for my flashing lights. don't remember exactly how it shows up in the mixer tab, but if you poaste these in, the cli and save then go back to the mixer tab, you'll see the two at the bottom say something like "RC Channel 6" "RC Channel 7"

Then on the taranis i just setup another input etc for the slider

servo mix

smix 0 2 0 -100 0
smix 1 3 0 -100 0
smix 2 4 1 100 0
smix 3 5 1 -100 0
smix 4 4 2 100 0
smix 5 5 2 100 0
smix 6 6 10 100 0
smix 7 7 11 100 0

servo

servo 2 1000 2000 1476 -100
servo 3 1000 2000 1476 -100
servo 4 1000 2000 1476 100
servo 5 1000 2000 1522 100
servo 6 1000 2000 1422 -100

@wx4cb
Copy link

wx4cb commented Nov 6, 2018

Also, i believe that if you have soft serial set, then S6 is used for that so you might want to find a different servo channel. If you don't need soft serial at all then i would disable it

@diiity
Copy link
Author

diiity commented Nov 6, 2018

Merci d'avoir répondu.

Thank you for answering. Is it necessary to configure because I see that servo 0 has taken the place of motor1
Est ce comme cela qu'il faut configurer car je vois que servo 0 a pris la place de motor1
capture

@wx4cb
Copy link

wx4cb commented Nov 6, 2018

you are using the quad mixer which im not sure about, i'd have to defer that to someone else, what you could try is pasting in what my servo mix is and see what happens. it's not going to hurt as you can always just reload the mixer

@diiity
Copy link
Author

diiity commented Nov 6, 2018

as the servo is noted s1 in the servo tab, I connected it to S1 of the F405 but it still does not move. The mixer motor 1, 2 etc ... used for what?

@wx4cb
Copy link

wx4cb commented Nov 6, 2018

what aircraft are you running? a quad ? a fixed wing?

@diiity
Copy link
Author

diiity commented Nov 6, 2018

Sorry, I forgot to specify it, it's a quadri.

I just tried by removing all the mixer motor, in this case there is more engine.

@diiity
Copy link
Author

diiity commented Nov 6, 2018

Can I send you the doc of the F405 SDT?

@stronnag
Copy link
Collaborator

stronnag commented Nov 6, 2018

For multirotors, the firmware defines a single servo, on S1 with inav_x.y.z_MATEKF405.hex and S6 with inav_x.y.z_MATEKF405_SERVOS6.hex.

@diiity
Copy link
Author

diiity commented Nov 6, 2018

Ah, I do not know what firmware is in my F405 SDT.

But if I put on S1 or S6, I have nothing

@diiity
Copy link
Author

diiity commented Nov 6, 2018

Here is my config horus X10:
capture

capture0

@wx4cb
Copy link

wx4cb commented Nov 6, 2018 via email

@diiity
Copy link
Author

diiity commented Nov 6, 2018

Here in doing "version"
INAV/MATEKF405OSD 2.0.0 Aug 20 2018 / 19:20:20 (dbdd165)

@stronnag
Copy link
Collaborator

stronnag commented Nov 6, 2018

Wrong firmware then ....

@diiity
Copy link
Author

diiity commented Nov 6, 2018

What should be the good version?
And is it possible to change it?

@stronnag
Copy link
Collaborator

stronnag commented Nov 6, 2018

That you were told a few posts above #3991 (comment)

Just use the servo6 version (with the servo on S6). You need to reflash the board.

If you have a STD board, do NOT use the obsolete OSD firmware.

@diiity
Copy link
Author

diiity commented Nov 6, 2018

Ok thanks for your help.

I change the firmware and I want to know that I can

@diiity
Copy link
Author

diiity commented Nov 6, 2018

On vous a dit quelques articles au-dessus de # 3991 (commentaire)

Utilisez simplement la version servo6 (avec le servo sur S6). Vous devez reflasher le tableau.

Si vous avez une carte STD, n'utilisez PAS le micrologiciel OSD obsolète.

I'm sorry but I do google translation that's why I did not understand the first time

@stale
Copy link

stale bot commented Jan 19, 2019

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help.
This issue / pull request will be closed if no further activity occurs within two weeks.

@stale stale bot added the Inactive label Jan 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants