Pages: [1]   Go Down
Author Topic: Adding axes to a usb joystick  (Read 1332 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 49
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys,

I am using this:

http://principialabs.com/arduino-python-4-axis-servo-control/

with the multijoystick.py code to control 10 servos.  4 are analog signals (roll, pitch, yaw axes) and the other 6 are just digital buttons, pretty standard for a joystick.  Anyway, I would like to keep the usb to the PC but add another 20 or more analog inputs.  I saw one persons schematic of an 8 analog axis controller but it was limited by the number ADC's.  I have looked at multiplexing but i'm not sure if I can specifically use it for this.

i'm still pretty new so i'm wondering if anyone has any advice on this? 

thanks
Logged

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How fast do you need to sample the ADCs?

There are plenty of SPI and I²C connected ADC chips around which would be simple enough to interface to the Arduino giving as many direct ADC channels as you like - much better than multiplexing.  The speed won't be as fast as the internal ADCs however.

Multiplexing isn't usually a problem, but there is a chance of crosstalk between channels on the same plex.  It all depends on how much responsiveness you need.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Offline Offline
Newbie
*
Karma: 0
Posts: 49
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

well, like i said, i'm running servos so 50Hz each. 

could i use these adc chips to add to or emulate a usb joystick?

can you give some examples?

thanks

Logged

Pages: [1]   Go Up
Jump to: