Driving USB peripherals with Arduino

Friday, October 23, 2009

arduino-driving-USB-keyboard

Circuits@Home have managed to host a USB keyboard with an Arduino and display the keyboard inputs on a character LCD. This uses the USB host shield we covered in August. That host shield includes a MAX3421 which is used here to drive the character LCD.

The control code for the keyboard ends up being fairly simple. The keyboard is polled for entries. The HID input is then examined and converted to ASCII codes for use with the LCD screen. This could make for an excellent controller or debugger for embedded systems. The Arduino, shield, and LCD could be integrated into the keyboard itself with an I/O port for connecting to your project. Commands can be typed out and sent through the I/O port when enter is pressed, with feedback displayed on the screen.

The example code provided with this project lays out the framework for hosting peripherals. We’re looking forward to more projects, and code libraries that take advantage of this new functionality.

1 komentar:

tora October 28, 2009 at 7:23 PM  

Their quick setup manual was almost too clear and simple, and once the software was downloaded, I had dimmers and fixtures patched in about three minutes. The attention to detail with regards to operating both intelligent lights and dimmers is probably the outstanding feature that goes almost unnoticed because the software is so intuitive in this regard.

Post a Comment

  © Blogger template Brownium by Ourblogtemplates.com 2009

Back to TOP