If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Using COM Port to interface legacy game controller
5 posts
• Page 1 of 1
Using COM Port to interface legacy game controller
Is it possible to use the COM Port primitive to interface with a legacy game controller? I want to control some servos using the Phidget servo controller.
As Flowstone doesn't support joysticks, this is the only way to do it I can think of.
As Flowstone doesn't support joysticks, this is the only way to do it I can think of.
- Asbjørn
- Posts: 45
- Joined: Thu Sep 16, 2010 11:51 am
Re: Using COM Port to interface legacy game controller
I would just use an Xbox controller or a PS2 controller (from LynxMotion) as these are already fully supported. Another option would be to use the Wii Mote:
- Embedded
- Posts: 143
- Joined: Sat Oct 30, 2010 1:42 pm
Re: Using COM Port to interface legacy game controller
Thanks, but I need a one hand 6-axis controller like the 3DConnexion Spacenavigator or the SpaceOrb.
The initial plan was to connect the internal potensiometers to the analog inputs of a Phidget interface board. But when I opened said controllers I found out they used optical sensors, not potensiometers, so that won't work.
The initial plan was to connect the internal potensiometers to the analog inputs of a Phidget interface board. But when I opened said controllers I found out they used optical sensors, not potensiometers, so that won't work.
- Asbjørn
- Posts: 45
- Joined: Thu Sep 16, 2010 11:51 am
Re: Using COM Port to interface legacy game controller
Anybody who has experimented with the com port primitive, is it possible to communicate with a device like that? Flowstone crew?
- Asbjørn
- Posts: 45
- Joined: Thu Sep 16, 2010 11:51 am
Re: Using COM Port to interface legacy game controller
Asbjørn wrote:...when I opened said controllers I found out they used optical sensors...
If your controller is optical and not potentiometers, you can still interface with it in FlowStone. Optical motion detection systems use two LEDs with two photodetectors to form a quadrature encoder. This is exactly how an older, “ball” type PC mouse worked.
As you move the shutter-wheel (either a joystick, older mouse, DC motor with feedback, etc.) the photodetectors generate a series of TTL-pulses with a lead/lag signal phase which tells the interface speed, direction, position, etc.
The Phidgets 1047 PhidgetEncoder HighSpeed 4-Input device will read those type encoders and FlowStone will let you process the data based on your inputs.
Or, as mentioned before, with Wii Nunchuck gives you lots of motion detection with lots of capabilities from an inexpensive game controller.
Kind regards,
Paul
____________________________
To err is human; to blame problems on external factors is even more so.
Paul
____________________________
To err is human; to blame problems on external factors is even more so.
-
paul.pacini - Posts: 12
- Joined: Sat Jul 23, 2011 12:41 am
- Location: Northern California, USA
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 45 guests