NXT based Human Interface Device (NXTHID)Using this device you can send HID input events (such as keyboard key presses) to host computer. These events can be received by any program that can run on your PC.
This device has creative uses in science experiments, data acquisition and processing, etc.
For Example, you could use this device to send sensor data to MS-Excel directly, or you could write a programs on NXT to control a video game or automate PC tasks.
Programming the HDI adapter for Lego Mindstorms NXT
Programming the HDI adapter for Lego Mindstorms NXT using NXT-G
The HDI adapter for Lego Mindstorms NXT is programmable using NXT-G. To download the source code of the NXT-G block, click on the following image:
Example of use of the HDI adapter for Lego Mindstorms NXT
When the adapter is connected to the computer, its power comes from the PC. When not connected, it draws power from the Lego Mindstorms NXT.