SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492024-03-28T04:45:00-06:00SparkFun ElectronicsGreenLite on Engineering Roundtable - HID and USB with ChrisGreenLiteurn:uuid:bb893dcd-d3bf-4bc7-e0a2-32f3550996bc2015-01-29T08:26:13-07:00<p>The arduino micro can act as an HID mouse/keyboard out of the box. My friend and i set one up to play DAOC game as a farming bot.</p>
Toni_K on Engineering Roundtable - HID and USB with ChrisToni_Kurn:uuid:dbb5f9a7-c325-1c12-0b65-ef308ab8ccfa2014-08-08T15:01:39-06:00<p>Looks really interesting! Thanks for sharing :)</p>
deletedeletedeletedelete on Engineering Roundtable - HID and USB with Chrisdeletedeletedeletedeleteurn:uuid:61e8b32f-5bac-4831-60da-b03bf253dcc12014-08-08T14:19:44-06:00<p>I created a project that fully replaces the Arduino Bootloader. You are able to upload sketches and use it as HID. See Project HID on Github: https://github.com/NicoHood/HID</p>
Customer #109821 on Engineering Roundtable - HID and USB with ChrisCustomer #109821urn:uuid:36ea8483-a7fc-d0fa-1ed5-e6988de2026f2012-11-16T16:06:55-07:00<p>Has anyone built something to be able to use the keyboard on a laptop as a keyboard for another computer? What additional hardware would you need?</p>
Pete-O on Engineering Roundtable - HID and USB with ChrisPete-Ourn:uuid:e6ece8ea-cb53-721b-2a3b-0e746a4d04362012-11-14T10:16:21-07:00<p>Don't I have a lock on that? I'm going to make one just for you, Customer207.</p>
Rasheverak on Engineering Roundtable - HID and USB with ChrisRasheverakurn:uuid:308b028f-8804-cad4-09f6-c75bf98dc51b2012-11-13T21:20:40-07:00<p>Can we see what the interior of that box looks like? Doing enclosure design is one of my pet peeves, and that one didn't have any of the problems mine always do. Specifically, how is the Uno mounted inside, how is the USB cable attached, and what did you use to drill the holes for the buttons? I built something much like this, but with 6 buttons and a couple shift keys (Mainly used it for doing work with QLab) but it was nowhere near as pretty as this one. I do like the idea of the detachable foot pedal, though.</p>
Darran Hunt on Engineering Roundtable - HID and USB with ChrisDarran Hunturn:uuid:f139a28c-e038-a630-2737-103f889bb77d2012-11-13T14:34:33-07:00<p>Nice one Chris :).</p>
diametric on Engineering Roundtable - HID and USB with Chrisdiametricurn:uuid:1549dc6c-c075-7320-df48-bb64174277a92012-11-13T14:27:04-07:00<p>ASCII Value 27 is sad for being mis-represented :(</p>
Micko on Engineering Roundtable - HID and USB with ChrisMickourn:uuid:923d9415-c7e2-91c9-d69e-6cf9f7b72e5f2012-11-13T13:58:30-07:00<p>This is AMAZING!!!</p>
JopieK on Engineering Roundtable - HID and USB with ChrisJopieKurn:uuid:d2127011-6c13-4988-dcb3-a4f42e910a802012-11-13T03:25:33-07:00<p>very, very nice! interesting for education, I will share it with my high school Informatics students...</p>
Soshimo on Engineering Roundtable - HID and USB with ChrisSoshimourn:uuid:b990373a-830b-245f-065a-d50949b227b22012-11-12T17:45:03-07:00<p>Sweet! This weekends project is going to be the "boss pedal". A foot pedal, that when activated will pull up a nice spreadsheet, source code, or project manager if I hear someone coming up behind me. ;)<p>Oh, and it also gives me an excuse to by an Uno to replace my venerable Diecimila.</p><p>Thanks for a great video!</p></p>
Evil Genius jr. on Engineering Roundtable - HID and USB with ChrisEvil Genius jr.urn:uuid:de03e407-167f-1240-f0c1-c5f7a7397af52012-11-12T17:17:14-07:00<p>Here's a sweet project for a Joystick:
http://code.google.com/p/unojoy/
I used it to make a adapter for my RC transmitter to act as a joystick for racing games.</p>
brennen on Engineering Roundtable - HID and USB with Chrisbrennenurn:uuid:1a495575-c069-fdbe-48d9-1f416da5c7932012-11-12T15:37:45-07:00<p>Sorely tempted to make a 17:45 video of myself grimacing awkwardly into the camera while wearing a backwards baseball cap.</p>
Nick Poole on Engineering Roundtable - HID and USB with ChrisNick Pooleurn:uuid:dd791d96-4750-df7a-7f1f-23aa5690048e2012-11-12T15:33:49-07:00<p>Yes, I've often said of Chris that my favorite thing about him is his not being someone else.</p>
Customer #370431 on Engineering Roundtable - HID and USB with ChrisCustomer #370431urn:uuid:14cf60c6-b9f1-f39d-f87b-c19156b0217b2012-11-12T14:09:24-07:00<p>"Hammer Smashed Face"- Excellent choice, Chris! I generally prefer to program HID's while listening to Grave's "You Will Never See", but to each his own...</p>
CTaylor on Engineering Roundtable - HID and USB with ChrisCTaylorurn:uuid:3e1f397d-ef38-a77c-8ff4-3594f2f6f6f32012-11-12T13:50:38-07:00<p>Great question. There is no advantage to using the UNO over the Leonardo, and in fact, the Leonardo is the way I would do a keyboard/mouse HID project. It's just easier to use the pre-programmed library. I chose to use the UNO for this video for a few different reasons. First, I wanted to show how this could be done with the UNO for the people who don't have a Leonardo, just to show that the capability is there. Second, (I hope) that the reprogramming of the 8U2 explicitly demonstrates the change in the relationship between the device and the computer, in order to explain how USB/HID works. And third, the keyboard-serial firmware that I use on the ATMega8U2 (written by Darran) is well-written and RIPE for hacking. Even though I didn't hack the code for the video, if I was going to write my own device firmware for a different device in the class (like a joystick), I would hack Darran's code before I would try to dig into the built-in Leonardo libraries.</p>
jago lee on Engineering Roundtable - HID and USB with Chrisjago leeurn:uuid:b2d7411c-c7f8-84b6-7909-8886087d92f42012-11-12T13:34:32-07:00<p>My compliments to the person who made those banners up top. I love them! And a great round table too.</p>
dewclaws on Engineering Roundtable - HID and USB with Chrisdewclawsurn:uuid:5fbacec8-93e8-135b-6ace-3e4bc5edc2ec2012-11-12T13:22:49-07:00<p>Great tutorial, I a had no idea the USB tried to cover so many devices.<p>I do have a question, and feel free to correct me if I am wrong on this. Is there an advantage in using an Arduino UNO for this when the Arduino Leonardo has core libraries to allow it to appear as a native Mouse and/or Keyboard?</p></p>
CTaylor on Engineering Roundtable - HID and USB with ChrisCTaylorurn:uuid:12004829-056f-f7e4-b04f-4bd6f17096452012-11-12T13:10:20-07:00<p>That is possible, but it requires the UNO to act as a USB host. Darran, the author of the HID keyboard firmware that I used in my example, has done this to create a "Passthrough" device:<p>http://hunt.net.nz/users/darran/weblog/c6f35/Arduino_USB_Keyboard_Passthrough.html</p></p>
floppystick6 on Engineering Roundtable - HID and USB with Chrisfloppystick6urn:uuid:ce205858-6726-cf73-06cf-581fdf7357152012-11-12T12:53:09-07:00<p>Excellent video!<p>Is it possible to have the 8U2 look for an input from a Human Interface Device, making it possible to use a keyboard or a mouse as an input to the arduino?</p></p>
customer207 on Engineering Roundtable - HID and USB with Chriscustomer207urn:uuid:cd77f3f9-ed8e-e9ee-e44a-ac104cc33f442012-11-12T12:43:06-07:00<p>Loved it! Straight forward talking. No strange outbursts or facial gestures. Cool haircut. No backwards baseball cap. Keep it up!</p>