TinyRemote - IR Remote Control - ATtiny13A

Sdílet
Vložit
  • čas přidán 9. 09. 2024
  • IR remote control based on an ATtiny13A powered by a CR2032 or LIR2032 coin cell battery.
    Project Files (EasyEDA): easyeda.com/wa...
    Project Files (Github): github.com/wag...
    Music: freemusicarchi...
    THIS VIDEO IS NOT SPONSORED !

Komentáře • 28

  • @AleksandrIvin
    @AleksandrIvin Před rokem

    Your projects are very helpful for learning! Thanks a lot!

  • @theKongston
    @theKongston Před 3 lety

    Cool

  • @Gelip12
    @Gelip12 Před 2 lety

    Can the sent IR code be recorded with the universal remote control with the learning function e.g. Huayu HL-1166E ?

    • @stefanwagner1759
      @stefanwagner1759  Před 2 lety

      If you mean whether the codes sent by the TinyRemote can be learned by the universal remote control, then I think so, since codes are sent according to the standard protocols. However, I don't have such a remote control, so I can't try it out myself.

  • @user-jw5vc1do8e
    @user-jw5vc1do8e Před 2 lety

    Hello. Thanks for your devices, very useful in the household.
    I flashed the NEK remote control for 5 buttons - it does not work.
    I flashed the NEC remote control for 4 buttons - it works.
    What am I doing wrong?
    Thank you

  • @mostafayasin1
    @mostafayasin1 Před 3 lety

    Awesome projects, many thanks,
    Please, I need help, I need to merge the IR remote Tx and Rx in the same uC to use it as obstacle detection and I wouldn't want to use the normal codes because it affects by light and other interference, so, I need to use one from remote protocols. Kindle, please, could you help me? you wrote the both code (IR remote Tx and Rx) and I think you able to do that.
    Thanks.

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety

      Hi, I don't think you need a protocol. It will probably be enough if the LED emits with a 38kHz carrier frequency. The output of the IR receiver goes to LOW when it receives this signal. It does not react to "normal" light. However, you have to try out whether it can be used to build an obstacle detection. The IR receivers are very sensitive, so the LED should not shine too brightly. Another problem is that dark surfaces hardly reflect the light or not at all.

    • @mostafayasin1
      @mostafayasin1 Před 3 lety

      @@stefanwagner1759 Thanks for your answer, I am facing a problem with sun light, it affects the IR receiver. In your solution ( letting IR LED to emits with a 38KHz ) let me know if I am wrong, I will create a timer and inside ISR I will blink the IR LED and letting that ISR to be called with freq 38KHz (each 26 micro second) and then connect the IR receiver to analog pin then .... what should I do after that ?

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety

      @@mostafayasin1 An ISR might be too slow, you should utilize the PWM function of the timer like I did in the code for the remote. For the receiver you only need a digital input as its output pin is either HIGH or LOW. Then you have to tweak the current limiting resistor of the LED to set the sensitivity (a potentiometer is a good choice). You may also have to limit the angle of the receiver with some kind of tube so that it only sees the directly reflected light. However, I don't know if it works in the end.

    • @mostafayasin1
      @mostafayasin1 Před 3 lety

      @@stefanwagner1759 okay, thanks for help .

  • @user-jw5vc1do8e
    @user-jw5vc1do8e Před 3 lety

    hello, help please, compilation of the sketch TinyRemote_t13_NEC_5B arduino gives an error: 'GIMSK' undeclared (first use in this function); did you mean 'EIMSK'?
    can you have .hex?
    please share
    thanks

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety

      Hi, follow these steps:
      - Make sure you have installed MicroCore: github.com/MCUdude/MicroCore
      - Go to Tools -> Board -> MicroCore and select ATtiny13.
      - Go to Tools and choose the following board options:
      - Clock: 1.2 MHz internal osc.
      - BOD: BOD disabled
      - Timing: Micros disabled
      - Connect your programmer to your PC and to the ATtiny.
      - Go to Tools -> Programmer and select your ISP programmer (e.g. USBasp).
      - Go to Tools -> Burn Bootloader to burn the fuses.
      - Open the sketch and click Upload.
      I suggest to try the 4-button version first because it works without disabling the RESET pin.

  • @mesquitamk1681
    @mesquitamk1681 Před 3 lety

    TEM UM VIDEO DE COMO FAZER ESSE LEITOR DE CODIGO?

  • @mesquitamk1681
    @mesquitamk1681 Před 4 lety

    legal ... amigo por que 2 led ?

  • @erickreyes636
    @erickreyes636 Před 3 lety

    No está claro cual es el código que se le descargará el attiny13 ya que hay muchos y no pude

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety

      Hi, das hängt davon ab, welches Protokoll die Fernbedienung unterstützen soll und mit wie vielen Tasten. Da Du für die 5-Tasten Version den Reset-Pin deaktivieren musst, habe ich extra noch jeweils eine 4-Tasten Version dazugepackt. Die Multi-Version unterstützt alle Protokolle. Schau Dir einfach den Code an, ich habe viel Mühe in die Kommentierung gesteckt, so dass die Funktionsweise klar werden sollte.

  • @erickreyes636
    @erickreyes636 Před 3 lety

    Me marca error

  • @mukeshbansal5902
    @mukeshbansal5902 Před rokem

    Ye ketne rupes ka hai

  • @mesquitamk1681
    @mesquitamk1681 Před 3 lety

    DO YOU HAVE A VIDEO OF HOW TO MAKE THIS CODE READER?

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety +1

      Hi and no. It's based on the TinyOLEDboard (easyeda.com/wagiminator/attiny85-tinyoledboard-dip). I can upload the code next week (I'm on vacation). Or you can build one with an ATtiny13: github.com/wagiminator/ATtiny13-TinyDecoder.

    • @stefanwagner1759
      @stefanwagner1759  Před 3 lety +1

      Code is uploaded: easyeda.com/wagiminator/attiny85-tinyoledboard-dip

  • @mesquitamk1681
    @mesquitamk1681 Před 4 lety

    cool ... friend why 2 led?

    • @stefanwagner1759
      @stefanwagner1759  Před 4 lety +1

      Hi, one with a smaller angle and longer range, the other with a wider angle but shorter range. Of course it also works with only one LED.

    • @mesquitamk1681
      @mesquitamk1681 Před 4 lety

      ok lEgal which models to differentiate when buying the LED emitter

    • @stefanwagner1759
      @stefanwagner1759  Před 4 lety +1

      I used Everlight Elec IR333-A and Everlight Elec IR333C/H0/L10, but it should work with any 940nm IR LED.