for my joystick a got 6 wires.and the other to wires are ground and source.so i created a circuit where i create voltage divider with 2 resistor of 2,2 kohm and 2 resistors of 2,8 kohm .but it didn't work .i don't know where is the problem can you please help me
thank you for repling me .but i want to know if the circuit that i made is correct or no ?i don't realy know that much of electronics so i want some one to help me with it .thank you
I don't know.I don't know what circuit you are using exactly (your description of it is vague), nor do I know what kind of joystick you are using (most commercial mobility wheelchairs do not use potentiometer-based joysticks, because of their tendency to wear out quickly, their noisiness, and their failure modes).Until we know exactly what it is you are using for a circuit (ie - a schematic, or at least a picture of your circuit with things clearly labeled), and what controller/joystick/etc you are using - there's no real way to know if what you are doing will or should work properly.
i'm using this joystick
i opened it and i found 6 wires white blue yellow brown red and black .(red and black)=ground and source the other like i discribe in the first post.when i don't move the joystick thavalues are white 2,5vblue 2,5v yellow 2,5 vbrown 2,5 v
can i send this value directly from the arduino 3,9v and 1;1v or i should creat a circuit like the voltage divider?