Julianschuler/USBKeyboard: Arduino Library To Add HID ... - GitHub

Skip to content Dismiss alert {{ message }} / USBKeyboard Public
  • Notifications You must be signed in to change notification settings
  • Fork 22
  • Star 53
  • Code
  • Issues 4
  • Pull requests
  • Actions
  • Projects
  • Security
  • Insights
Additional navigation options  masterBranchesTagsGo to fileCode

Folders and files

NameNameLast commit messageLast commit date

Latest commit

 

History

28 Commits
examplesexamples  
.gitattributes.gitattributes  
LICENSE.txtLICENSE.txt  
README.mdREADME.md  
USB-ID-FAQ.txtUSB-ID-FAQ.txt  
USB-IDs-for-free.txtUSB-IDs-for-free.txt  
USBKeyboard.cppUSBKeyboard.cpp  
USBKeyboard.hUSBKeyboard.h  
VUSB-Readme.txtVUSB-Readme.txt  
asmcommon.incasmcommon.inc  
keycodes.hkeycodes.h  
keywords.txtkeywords.txt  
oddebug.coddebug.c  
oddebug.hoddebug.h  
usbconfig.husbconfig.h  
usbdrv.cusbdrv.c  
usbdrv.husbdrv.h  
usbdrvasm.Susbdrvasm.S  
usbdrvasm.asmusbdrvasm.asm  
usbdrvasm12.incusbdrvasm12.inc  
usbdrvasm128.incusbdrvasm128.inc  
usbdrvasm15.incusbdrvasm15.inc  
usbdrvasm16.incusbdrvasm16.inc  
usbdrvasm165.incusbdrvasm165.inc  
usbdrvasm18-crc.incusbdrvasm18-crc.inc  
usbdrvasm20.incusbdrvasm20.inc  
usbportability.husbportability.h  
View all files

Repository files navigation

  • README
  • GPL-3.0 license
USBKeyboard

Introduction

USBKeyboard is a library for the Arduino IDE. It adds HID USB keyboard functionality to your projects, allowing Arduinos and other AVRs to act as a HID USB Devices. Due to its HID protocol no drivers have to be installed, the USB keyboard connection will work with every PC and OS.

Getting Started

Connect your Arduino to the USB connector following the given schematic below and add a pushbutton betwen D7 and GND. Copy this repository into your libraries folder and (re)start the Arduino IDE. Open File > Examples > USBKeyboard > USBKeyboard_GettingStarted and upload it to your Arduino. Unplug your Arduino from your PC and plug in the USB connector. The keyboard should be recognized automatically by your PC, open a text editor of your choice and push the button afterwards, a message will be typed in.

Schematic

Schematic

You just need the zener diodes if your Arduino/AVR is running above 3.6V (following the USB specification 3.6V is the maximum for D+ and D-).

Reference

This library is based on the V-USB code by Objective Developement.

License

As the V-USB code, this library is licensed under GNU GPLv3, see LICENSE.txt for further information.

About

Arduino library to add HID USB keyboard functionality to your projects

Topics

arduino-library usb-hid v-usb hid-keyboard usb-keyboard

Resources

Readme

License

GPL-3.0 license

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

53 stars

Watchers

3 watching

Forks

22 forks Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

  • C++ 72.5%
  • C 27.5%
You can’t perform that action at this time.

Tag » Arduino V-usb Keyboard