You've probably seen we've got a new mbed Microcontroller on its way, based on the upcoming Cortex-M0 LPC11U24 from NXP.
What you perhaps didn't realise is quite how great this is going to be for building USB devices!
This video shows how to emulate a USB mouse using the new libraries we're creating for it. You can programatically send movement, button clicks and states, and even scroll the scroll wheel, and of course do this dependant on any sensors or logic you like. A really neat feature is the absolute version of the mouse, meaning you can move to a location on the screen; great for direct interaction with program interfaces.
Another example is emulating a keyboard:
A raw USBHID interface is also available to allow driverless custom interfaces to your favourite USB-capable programming language on the PC. We also have some other interfaces on the way, including USB MIDI (Musical Instrument Digital Interface) and USB Virtual Serial.
The examples are demonstrated on the upcoming LPC11U24 mbed, which is going to be a great platform for prototyping USB devices; the chip it uses is going to be cheaper than a dedicated USB to Serial bridge, and you get a microcontroller included!
To see more about the upcoming mbed NXP LPC11U24, and to get on the mailing list to know when they hit the shops, see:
7 comments on USBMouse and USBKeyboard with the new Cortex-M0 mbed!:
Please login to post comments.