On Thu, 2006-12-07 at 00:55 -0600, JD Fenech wrote:
> Douglas Campos wrote:
> > you can use a usb-enabled pic with hid driver
> > 13 analog inputs+ 8 bits (128 switches)
> >
> >>>       
> >> A full-featured USB joystick with programmable buttons can be found here:
> >>
> >> http://www.flightsim.com/cgi/kds?$=main/howto/mind.htm
> >>
> >> The schematic shows 6 analog axis and 28 switches. I'm sure that some
> >> of the 28 switch inputs can be used for step functions. You have 10
> >> bits of resolution for 2 axis and 8 bits for the other 4 axis. The
> >> uController handles all the conversion from raw input to USB format
> >> including switch grid interpretation and A/D conversion.
> >>
> >> --
> >> Opus
> >>
... Snipped ...
> >   
> Do they just sell USB PICs? I always kind of wondered about that. Who 
> can I get one from? Any specific part numbers and datasheets that I can 
> study?
> 

Hi JD, one USB enabled pic that is sold locally (Australia) is the
18F4550. The datasheet can be found at http://www.mircochip.com.

However, you might find the learning curve to programming from scratch
too steep.

I can recommend one of these
http://www.velleman.be/product/view/product.asp?id=351346 which contains
2 ADC pins, 2 DAC or PWM, 5 Digital inputs and 8 digital outputs.

Otherwise try the bigger version of the above board, the k8061
http://www.velleman.be/product/view/?lang=en&id=364910 

I did find writing the glue logic code in python very easy, though
needed to change the program logic to only send an update to flightgear
when a value changes.

Regards


George


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to