Slightly off topic - HID device to Windows
#1
Posted 26 April 2011 - 03:32 PM
where the author uses a $5 part to interface push buttons and LEDs to a Windows 7 computer.
The reason I mention it here is that he provides the source code in C++ and details on how the Windows side of things work as well as the code for the interface chip he uses. The Windows side is here: Open Source Visual C++ Class for USB Generic HID Communication.
While the author uses a PIC18F4550 chip for his interface (about $4.50 in single unit quantity), the Windows C++ code provided will work with any generic USB HID device.
#2
Posted 26 April 2011 - 06:16 PM
I just ran across this nice post http://www.waitingfo...C18F_USB_device
Interesting, I'm looking for a easy way to emulate a keybord via HID/USB. For input I want to use a RFID reader like ID-12, so in short TTL to HID windows keyboard.
/Ken
#3
Posted 26 April 2011 - 07:00 PM
#4
Posted 26 April 2011 - 09:10 PM
Early USB HID support is built into the v4.1.1 beta firmware. We posted a sample for a driverless HID communication channel.
You could certainly do these sorts of things natively on Netduino. The benefit of using an external component, I suppose, is that a lot of the software work may already be done for you.
Chris
#5
Posted 26 April 2011 - 11:59 PM
But I will need to have a RS232 Shield to be able to deploy using RS232 (and then remove the RS232 Shield ?). Then I can connect to a pc using usb and communicate with the pc using the usb ? (do I need to give the netduino power with an external source?)Early USB HID support is built into the v4.1.1 beta firmware. We posted a sample for a driverless HID communication channel.
Was not thinking of using an external one. Was looking at the echo code which would be perfect for me ... except for the RS232, my portable does not have one ... but simple enough for transfering sensor data to a full graphical application !You could certainly do these sorts of things natively on Netduino. The benefit of using an external component, I suppose, is that a lot of the software work may already be done for you.
#6
Posted 27 April 2011 - 03:11 AM
Today, yes you'll need to use an RS232 for debugging if using the USB for a communication channel. We're also working to eliminate that requirement in the future...But I will need to have a RS232 Shield to be able to deploy using RS232 (and then remove the RS232 Shield ?). Then I can connect to a pc using usb and communicate with the pc using the usb ? (do I need to give the netduino power with an external source?)
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users