Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Ongoing

STD ATtiny85 IR2USB

License: CC-BY-SA 3.0

Mode: Editors' pick

  • 1.3k
  • 0
  • 7
Update time: 2021-12-17 22:10:26
Creation time: 2021-07-02 19:41:31
Description
# IR2USB - IR to USB HID Converter based on ATtiny45/85 IR2USB 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. - Firmware (Github): https://github.com/wagiminator/ATtiny85-IR2USB ![pic1.jpg](https://raw.githubusercontent.com/wagiminator/ATtiny85-IR2USB/main/documentation/IR2USB_pic1.jpg) # Hardware The schematic is shown below: ![Wiring.png](https://raw.githubusercontent.com/wagiminator/ATtiny85-IR2USB/main/documentation/IR2USB_wiring.png) # Software The 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. The 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). # Compiling and Uploading Since 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. - Open Arduino IDE. - [Install VUSB-AVR](https://github.com/wagiminator/VUSB-AVR#Installation). - Go to **Tools -> Board -> VUSB AVR** and select **VUSB-AVR**. - Go to **Tools -> CPU** and select **ATtiny85 (16.5 MHz internal)**. - Connect your programmer to your PC and to the ATtiny. - Go to **Tools -> Programmer** and select your ISP programmer. - Go to **Tools -> Burn Bootloader** to burn the fuses. - Open the sketch and click **Upload**. - Disconnect the programmer and connect the device via USB to your PC. # References, Links and Notes 1. [ATtiny45/85 Datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf) 2. [TSOP4838 datasheet](https://www.vishay.com/docs/82459/tsop48.pdf) 3. [V-USB](https://www.obdev.at/products/vusb/index.html) 4. [TinyRemote](https://github.com/wagiminator/ATtiny13-TinyRemote) ![pic3.jpg](https://raw.githubusercontent.com/wagiminator/ATtiny85-IR2USB/main/documentation/IR2USB_pic3.jpg) # License ![license.png](https://i.creativecommons.org/l/by-sa/3.0/88x31.png) This work is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported License. (http://creativecommons.org/licenses/by-sa/3.0/)
Design Drawing
schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
ID Name Designator Footprint Quantity BOM_Manufacturer Part BOM_Supplier BOM_Manufacturer BOM_Supplier Part
1 100n C1,C3 C_0603 2 CC0603KRX7R9BB104 LCSC YAGEO C14663
2 10u C2 C_0603 1 CL10A106MA8NRNC LCSC SAMSUNG C96446
3 3V6 D1,D2 ZENER-SOD-123 2 BZT52C3V6 LCSC (MDD) Jiangsu Yutai Elec C173412
4 PWR LED1 LED0603 1 19-217/GHC-YR1S2/3T LCSC EVERLIGHT C72043
5 RCV LED2 LED0603 1 KT-0603R LCSC KENTO C2286
6 10k R1 0603 1 0603WAF1002T5E LCSC UniOhm C25804
7 68R R2,R3 0603 2 0603WAF680JT5E LCSC UniOhm C27592
8 1k5 R4,R6,R7,R8 0603 4 0603WAF1501T5E LCSC UniOhm C22843
9 10R R5 0603 1 0603WAF100JT5E LCSC UniOhm C22859
10 ATtiny85 U1 SOIC-8_208MIL 1 ATTINY85-20SU LCSC MICROCHIP C89852
11 TSOP4838 U3 TSOP18XX 1 TSOP4838 LCSC VISHAY C124647
12 USB PCB USB2 USB-A-PCB 1 USB-05 LCSC SOFNG C112454

Unfold

Project Attachments
Empty
Project Members
Target complaint
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn