No ! The yellow wire (output of the joystick switch) goes to one lead of the resistor then from this lead another yelow wire goes to to alex mos button pin The red wire is on the other lead of the resistor and goes to the other alex mos button pin I'll post another picture tomorrow !
This hapens if the button is connected so that it is all the time closed like your hand drawn picture. The resistor needs to be between the button pin and the other pin on the board.
Normally the resistor is not needed at all. How is the button connected on the joystick, why is the resistor needed? Is it a pull up or pull down resistor?
How is the P6 labeled back side, do you have a voltage meter to measure what happens on the blue wire when you press the switch? Measure over the resistor. What is the voltage before you press the switch and after? And do the same measurement between the blue wire and ground.
Bonjour Jonathan et Garug, y a t'il une suite à vos essais , je suis intéressé aussi pour utiliser le switch du joystick , merci de nous informer du résultat de votre dernière conversation concernant la résistance de pull up ou pull down ( je ne sais pas) et si tout fonctionne correctement avec ce cablage
Je suis nouveau sur ce post, et mon problème est exactement l'inverse, donc le switch fonctionne mais les deux axes pas. Pourtant c'est exactement le même joystick.
En connectant le GND et le +5V sur la carte Alexmos, le SW sur le + du P6 fonctionne. Mais en connectant le VRx et VRy sur les pins RC_Roll et RC_Pitch, les valeurs donnent 0 et ne répondent pas. Des suggestions?
Salut, Revenant sur mon message du 19 août, j'ai réussi à faire fonctionner le joystick. J'ai simplement du splitter le +5v et le ground avec ceux de la connection au bluetooth.
Car pour une raison dont je n'ai pas la réponse, je reçois que le signal des sorties RC.