Can SpaceNavigator be used in embedded application?

If you have questions or comments concerning any non-support related 3Dconnexion topic, please use this forum.

Moderator: Moderators

Post Reply
ghova
Posts: 4
Joined: Fri Feb 24, 2012 1:32 pm
Location: BALTIMORE

Can SpaceNavigator be used in embedded application?

Post by ghova » Fri Feb 24, 2012 1:52 pm

Interested in using SpaceNavigator in an experimental electronic musical instrument. Host is Xilinx FPGA board with USB facilities. Is there an interfacing manual (theory, timing, USB messages, etc)?

jwick
Moderator
Moderator
Posts: 2534
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick » Fri Feb 24, 2012 3:12 pm

That sounds interesting. It is a standard HID Multi-axis Controller. If the USB facilities are low level enough, you should be able to detect it and read it. What you do with the data will be up to you. I'd start off by just trying to get woken up when you press one of the buttons or move the cap. After that we have code on the ftp-us site that shows how to parse it.

ghova
Posts: 4
Joined: Fri Feb 24, 2012 1:32 pm
Location: BALTIMORE

Post by ghova » Fri Mar 02, 2012 7:33 am

Servicing the device is no problem -- the incoming bytes can be observed without human-detectable delays. In principle, your device could provide a supple and expressive musical instrument controller. But a critical issue is update rate and latency: any perceptible delay or jerkiness in response works against this application. Can you tell me anything about this issue?

jwick
Moderator
Moderator
Posts: 2534
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick » Fri Mar 02, 2012 7:48 am

The device sends you data at a little over 60Hz. Other things on your USB bus could affect the rate at which your code can sample the bus.

Oppie
Posts: 8
Joined: Thu Jul 12, 2012 11:41 am

Re: Can SpaceNavigator be used in embedded application?

Post by Oppie » Mon Jul 30, 2012 5:45 am

We recently did an embedded application using a Microchip PIC32 which serves as the USB host. Got it working in an afternoon and talking to the SpaceNavigator. Used largely the canned functions in the PIC32 libraries. Our software maven said he used a diagnostic tool on a PC to determine the USB data packets. Examining the Linux driver also gave some insight.

ghova
Posts: 4
Joined: Fri Feb 24, 2012 1:32 pm
Location: BALTIMORE

Re: Can SpaceNavigator be used in embedded application?

Post by ghova » Tue Jul 31, 2012 6:01 am

Thanks, Oppie. I wonder if you would share the name of the PC diagnostic tool?

Post Reply