View Single Post
  #6   Spotlight this post!  
Unread 21-05-2005, 19:49
Greg McCoy's Avatar
Greg McCoy Greg McCoy is offline
boiler up!
FRC #3940 (CyberTooth)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Kokomo, IN
Posts: 484
Greg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond reputeGreg McCoy has a reputation beyond repute
Send a message via AIM to Greg McCoy
Exclamation Re: creating a joystick (oh joy)

Quote:
Originally Posted by ConKbot of Doom
Well, if you can get quadrature output, or a analog voltage, you could use a PIC and an SPI digi-pot. The SPI protocol is simple enough to bit-bang, and there is 8-bits of resolution, which lines up nicely with the OI.

Of course with that, you could start getting into look-up tables allready on-board the joystick, on-board mixing, and all kinds of fancy stuff... Got a kiwi drive? use the PIC to mix your 2 joysticks, and send the desired motor values to the RC, which can still use PID or whatver kind of control you use.


I may develop a simple PIC based converter this summer, if I do I'll make the source code available for use, and sell pre-programmed pics with the code on it.

Though if you want to get fancy, it might be neat to use the force-feedback on a sidewinder for something. Maybe a stick shaker or somthing if the CG is in a bad position, (robot about to tip...) or make it more stiff going forward if it detects that the wheels are slipping, (I.E. you are shoving something)
Just to let you know, this has been illegal in (all?) previous games.

Quote:
Originally Posted by 2005 Rule <R69>
All equipment connected to the Joystick Ports of the Operator Interface must be powered solely through
the power available through the port. External power sources of any type are not permitted on any
equipment connected to the Joystick Ports. Portable computing devices may not be connected to Joystick
input ports on the Operator Interface.
I wouldn't expect FIRST to change this in the near future, but you never know.

Many alternative joystick solutions are being posted in this thread, you might try looking there.

Last edited by Greg McCoy : 21-05-2005 at 19:55.