Pages: [1]   Go Down
Author Topic: HID serial class for Arduino with V-USB  (Read 678 times)
0 Members and 1 Guest are viewing this topic.
Rapa Nui
Offline Offline
Edison Member
*
Karma: 60
Posts: 2086
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Interesting:
http://rayshobby.net/?p=7363
https://github.com/rayshobby/hid-serial
Logged

Atlanta, USA
Offline Offline
Edison Member
*
Karma: 55
Posts: 1809
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Interesting

Yes, but I am not entirely sure why he elected to use HID as a serial device...
Quote
Going the HID route means the device will not appear as a standard serial COM port, so you can’t use the standard serial monitor to send and receive values.

Using keyboard HID allows debugging using and character capture device such as Notepad.  My implementation examples based on rancidbacon's V-USB library:
http://forum.arduino.cc/index.php?topic=135623.0. It just seem if one is debugging, that a Java app just to mimic Notepad is a bit overkill.

The other concern is that the design calls for a 12 MHz xtal instead of the common 16MHz, so integrating with standard Arduino designs will require some additional changes in thee V-USB code.

I'm sure I am missing some hugely powerful benefit or something!

Ray B.

« Last Edit: October 12, 2013, 06:36:24 pm by mrburnette » Logged

Rapa Nui
Offline Offline
Edison Member
*
Karma: 60
Posts: 2086
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The V-USB can be clocked with 12 MHz, 15 MHz, 16 MHz or 20 MHz crystal or from a 12.8 MHz or 16.5 MHz internal RC oscillator.
I think the author claims as the benefits: using USB for serial console without a need for an USB/Serial converter chip, and, bootloading as well. The V-USB is used in USBASP programmer for example, afaik.
Logged

Pages: [1]   Go Up
Jump to: