Gimble Joy stick issues
plau45
Posts: 109
I bought a gimble joystick and hooked it up to see if I could run a servo off of it but I go to the code and put the gimble together and wire it correctly but when I hook up a servo to any servo slot and try the Gimble it does not work. If some one could tell me hat is wrong that would be nice. And yes the power is on.
Comments
You need to post some more information and a wiring diagram.
thanks. I'm new to this so I
will try my best.
Gimbal Joystick with Adapter Product Guide
I FoollOWS GUE and used the simpleide version and am using the micro servo from radioshack. There were no other specifications with it about the model.
I'm no familiar with the C code yet, although I have used the Spin Code with the Board of Education, and it works correctley.
Do you have a picture of your setup?
What is the hardware you are connecting to?
That's very helpful. I doubt we need more information about the servo but which board are you using? Is this the Activity Board?
Besides the hardware, we also need to know what software (the program) you're using.
If the programs are from the Learn site, a link would help. If it's your own program you can enter into the forum by typing [noparse] [/noparse] at the end to maintain the indentations.
Edit: I see Publison beat me to it. FYI, the ADC on the PropBOE and the ADC on the Activity Board are different chips and use different I/O pins. The code isn't interchangeable between the two.
I'm using the activity board. And I'm connected to my computer through a USB port.
Yes, it is for the Joystick. The values change as you move the Joystick. That basically tells you it is working.
EDIT: Also, Be patient. Most people on the Forum have full time day and or night jobs. This has to be one of the most helpful Forums I have ever been a member of.
Make sure The C code for the Joystick works for both axis before proceeding. You said you only get one axis.
There has been no code that I know of the incorporates the joystick reading to a servo output.
Here is from the Learn Site
I believe Spin code is available but I can not locate it at this time.