5 years, 3 months ago.

mbed USB HID

Hey,

Does anyone know any pointers or did a project using mbed as USB HID?

I'm looking for a pointers of how to pass messages or second best thing from mbed to PC application (C# visual studio) and back? as I want to move away from USB serial communication, I want to be able to at least control mbed onboard led through PC application and/or pass value information like coordinates which stepper motors should drive towards - all of that using USB HID.

Thanks in advance meanwhile I'm googling away ;)

Have you seen RPC? There is a library and couple of examples using RPC over serial, websockets ,...

posted by Martin Kojtal 08 Oct 2014

Hey, thanks for comment, I haven't seen much stuff about rpc, I have seen this http://developer.mbed.org/cookbook/Interfacing-Using-RPC - however (correct me if I'm mistaken) this is to use over serial connection which is not a true usb hid,

at the moment I found from microsoft web site about setting up usb hid connection - http://msdn.microsoft.com/en-us/library/windows/hardware/hh706183(v=vs.85).aspx I haven't grasped it as much as I would want to

posted by Tomek Ksiezarek 08 Oct 2014

1 Answer

5 years, 3 months ago.

The MBED Demo does work quite well.

As for the PC. I use Borland Delphi

So some differences

But an amazing interface

Ceri

Hey, I'm checking Borland Delphi now!

I found this cool yt demo http://www.youtube.com/watch?v=uGPH3AwrFpU

I may use it later on, but for now I need to get visual studio application and mbed talking to each other and I seriously want to avoid serial through USB, I try out delphi bit later on

Thanks! Tom ;)

posted by Tomek Ksiezarek 10 Oct 2014