Connecting an analog joystick to a netduino
#1
Posted 09 January 2011 - 09:19 AM
The netduino project that I'm working on requires an analog joystick and I wrote a driver for it, which I hope the community finds useful (these things are deceptively tricky!):
http://fabienroyer.w...-to-a-netduino/
Cheers,
-Fabien.
#2
Posted 09 January 2011 - 10:29 AM
#3
Posted 09 January 2011 - 01:25 PM
#4
Posted 09 January 2011 - 07:10 PM
Fabien,
You say that the 5V rail would work too, but is not the max voltage on the analog inputs 3.3 V ?
/Jan Olof
Yup. I should have indicated that a voltage divider would be required in that case. Good catch! I'll fix that.
Cheers,
-Fabien.
#5
Posted 09 January 2011 - 07:12 PM
Did you make the joystick part of a voltage divider circuit, or wire it straight up to the analog input?
I used a straight connection to the analog pins in this case as I was using the v3.3 power rail. So, no need for a voltage divider
#6
Posted 08 December 2012 - 08:41 PM
#7
Posted 08 December 2012 - 10:08 PM
Hello Fabien,
I know this is an old post but I just stumbled upon it. I've downloaded your source for the Analog Joystick test but I'm kind of a newb when it comes to C#. What I dont understand is how to use the class, is it possable that you could give me a small example of how to use AnalogInput Xinput and AnalogInput Yinput in a project?
In case Fabien doesn't see this you can look at a sample that he wrote on CodePlex.com for joysticks. Analog Joystick Sample
Chuck
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users