

- #MEDIALINK BLUETOOTH ADAPTER DRIVERS DRIVERS#
- #MEDIALINK BLUETOOTH ADAPTER DRIVERS WINDOWS 7#
- #MEDIALINK BLUETOOTH ADAPTER DRIVERS DOWNLOAD#
(A future enhancement is to display a "Please Wait" dialog while the COM port query is running.) If you have the console window attached for debugging (described below), you can see that obtaining the available COM ports using WMI via the ManagementObjectSearcher class can take several seconds.

Build and run the NXT BT Monitor in Visual Studio. Open the solution file for the C# program, NXTBTMonitor.sln, in Visual Studio.
#MEDIALINK BLUETOOTH ADAPTER DRIVERS DOWNLOAD#
Power on the NXT, build and download NXCBTMON using John Hansens's wonderful BricxCC IDE, then close BricxCC and power off the NXT. The program that runs on the NXT, NXCBTMON, consists of two files: NXCBTMon.nxc and protocol.h. Keep in mind that only one program at a time - either BricxCC or NXT BT Monitor - can be connected to the NXT. Having fresh batteries on hand for the NXT is a must. The NXT must also be in close proximity to the Bluetooth adapter. Debugging and troubleshooting Bluetooth issues requires persistence and creativity, and may mean occasionally cycling power on the NXT, starting and stopping Visual Studio or BricxCC, or even rebooting Windows 7. These documents describe the various commands which can be sent to the NXT and the data that is returned. You may also want to get a copy of the "Mindstorms NXT Communication Protocol", "Mindstorms NXT Direct Command", and "Bluetooth Support for NXT" documents which can be found online or by contacting Lego directly. John Hansen and Daniele Benedettelli have both written books that are great resources for information on NXC and Bluetooth on the NXT.
#MEDIALINK BLUETOOTH ADAPTER DRIVERS WINDOWS 7#
It is assumed the reader is familiar with the NXT and its sensors and motors, the C# and NXC languages, the Visual Studio and BricxCC IDEs, as well has having experience with Bluetooth on Windows 7 and the NXT.
#MEDIALINK BLUETOOTH ADAPTER DRIVERS DRIVERS#
Bluetooth drivers that are not compatible with the NXT seem to be the most common source of issues. I used the Medialink Bluetooth adapter with the Windows 7 Broadcom driver, but other Bluetooth adapters will work on-line NXT documentation lists adapters that are compatible with the NXT. The NXT light sensor is attached to port 3, and an NXT motor is attached to port A. I used BricxCC version 3.3.8.9 for the NXC program the protocol and firmware versions on my NXT are 1.124 and 1.31. I developed the C# program with Visual Studio 2010 on Windows 7 and. The project consists of a C# program called NXT BT Monitor and an NXC program called NXCBTMON. NET Thread class, and displayed in scrolling text boxes. The two values are read from the NXT in separate threads, each created with the. Inspired by Pierre Poliakoff and bigbro, I wrote a C# program to communicate with my Mindstorms NXT that continuously displays the battery voltage and a sensor value.
