Skip to content

IR remote control for my Car PC. Emulates keyboard and mouse USB HID Combo device.

License

Notifications You must be signed in to change notification settings

horse315/IrHidKeyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IrHidKeyboard

IR remote control for my Car PC. Emulates keyboard and mouse USB HID Combo device.

Hardware

  • Digispark USB board or other attiny85 controller
  • Any 38kHz IR receiver
  • 10 kOhm resistor

prototype scheme

Software

Description

Device emulates pressing keyboard media and other keys and key combinations. IR receiver data output is connected to PIN_2 (INT_0) of Digispark board. Also you can add hardware resistance key support.

Story

The idea was to make a small device compatible with all possible DIY Car PC systems (commonly Windows or Android/Linux). I tried Arduino HID Keyboard firmware on my Arduino UNO and Digikeyboard library on Digispark with standard IR Decode libraries, but media keys (play/pause, next, previous track) did not work in Windows for both. So I found these great Adafruit HID libraries that solve problem with media keys, but with them and IR libraries compilled sketch was too big for Digispark board. IR libraries provided with Digispark and Arduino have big overhead of different protocols implemetation, while most remotes in DIY kits from ebay use only NEC IR protocol. So I wrote this slim implementation that uses about 4200 bytes! Also you can connect wheel media keys to controller - 1800 bytes left.

About

IR remote control for my Car PC. Emulates keyboard and mouse USB HID Combo device.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published