{"id":26680032,"url":"https://github.com/wagiminator/attiny85-ir2usb","last_synced_at":"2026-02-27T06:51:36.532Z","repository":{"id":127508509,"uuid":"407645852","full_name":"wagiminator/ATtiny85-IR2USB","owner":"wagiminator","description":"IR Remote to USB HID Converter","archived":false,"fork":false,"pushed_at":"2022-09-10T14:29:57.000Z","size":1354,"stargazers_count":35,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-08T19:03:09.936Z","etag":null,"topics":["arduino","attiny","attiny85","avr","diy","hid","ir","pcb","project","remote","usb","v-usb"],"latest_commit_sha":null,"homepage":"https://oshwlab.com/wagiminator/attiny85-ir2usb","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wagiminator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-17T18:40:32.000Z","updated_at":"2025-05-10T16:43:00.000Z","dependencies_parsed_at":"2023-07-18T04:01:03.323Z","dependency_job_id":null,"html_url":"https://github.com/wagiminator/ATtiny85-IR2USB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wagiminator/ATtiny85-IR2USB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagiminator%2FATtiny85-IR2USB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagiminator%2FATtiny85-IR2USB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagiminator%2FATtiny85-IR2USB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagiminator%2FATtiny85-IR2USB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wagiminator","download_url":"https://codeload.github.com/wagiminator/ATtiny85-IR2USB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wagiminator%2FATtiny85-IR2USB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29887029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T05:38:26.446Z","status":"ssl_error","status_checked_at":"2026-02-27T05:38:25.235Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","attiny","attiny85","avr","diy","hid","ir","pcb","project","remote","usb","v-usb"],"created_at":"2025-03-26T06:19:41.480Z","updated_at":"2026-02-27T06:51:36.526Z","avatar_url":"https://github.com/wagiminator.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IR2USB - IR to USB HID Converter based on ATtiny45/85\nIR2USB receives signals from an infrared remote control and converts them into keyboard inputs, mouse movements or joystick inputs. Since it is recognized as a generic Human Interface Device (HID) via USB on the PC, no driver installation is necessary.\n\n- Design Files (EasyEDA): https://easyeda.com/wagiminator/attiny85-ir2usb\n\n![pic1.jpg](https://raw.githubusercontent.com/wagiminator/ATtiny85-IR2USB/main/documentation/IR2USB_pic1.jpg)\n\n# Hardware\nThe schematic is shown below:\n\n![Wiring.png](https://raw.githubusercontent.com/wagiminator/ATtiny85-IR2USB/main/documentation/IR2USB_wiring.png)\n\n# Software\nThe communication via USB is handled by the [V-USB](https://www.obdev.at/products/vusb/index.html) software-only implementation of a low-speed USB device. To simplify the software development with the Arduino IDE the [VUSB_AVR board package](https://github.com/wagiminator/VUSB-AVR) is used. It includes libraries to implement keyboard, mouse and joystick devices, which makes it easy to implement a converter.\n\nThe IR receiver implementation is based on [NeoController](https://github.com/wagiminator/ATtiny13-NeoController) and supports the **NEC protocol** only, but this is used by almost all cheap IR remote controls. Alternatively, you can build such a remote control yourself with [TinyRemote](https://github.com/wagiminator/ATtiny13-TinyRemote).\n\n# Compiling and Uploading\nSince there is no ICSP header on the board, you have to program the ATtiny either before soldering using an [SOP adapter](https://aliexpress.com/wholesale?SearchText=sop-8+150mil+adapter), or after soldering using an [EEPROM clip](https://aliexpress.com/wholesale?SearchText=sop8+eeprom+programming+clip). The [AVR Programmer Adapter](https://github.com/wagiminator/AVR-Programmer/tree/master/AVR_Programmer_Adapter) can help with this.\n\n- Open Arduino IDE.\n- [Install VUSB-AVR](https://github.com/wagiminator/VUSB-AVR#Installation).\n- Go to **Tools -\u003e Board -\u003e VUSB AVR** and select **VUSB-AVR**.\n- Go to **Tools -\u003e CPU** and select **ATtiny85 (16.5 MHz internal)**.\n- Connect your programmer to your PC and to the ATtiny.\n- Go to **Tools -\u003e Programmer** and select your ISP programmer.\n- Go to **Tools -\u003e Burn Bootloader** to burn the fuses.\n- Open the sketch and click **Upload**.\n- Disconnect the programmer and connect the device via USB to your PC.\n\n# References, Links and Notes\n1. [ATtiny45/85 Datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf)\n2. [TSOP4838 datasheet](https://www.vishay.com/docs/82459/tsop48.pdf)\n3. [V-USB](https://www.obdev.at/products/vusb/index.html)\n4. [TinyRemote](https://github.com/wagiminator/ATtiny13-TinyRemote)\n\n![pic3.jpg](https://raw.githubusercontent.com/wagiminator/ATtiny85-IR2USB/main/documentation/IR2USB_pic3.jpg)\n\n# License\n![license.png](https://i.creativecommons.org/l/by-sa/3.0/88x31.png)\n\nThis work is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported License. \n(http://creativecommons.org/licenses/by-sa/3.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwagiminator%2Fattiny85-ir2usb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwagiminator%2Fattiny85-ir2usb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwagiminator%2Fattiny85-ir2usb/lists"}