TinyRemote - IR Remote Control - ATtiny13A
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 !
Your projects are very helpful for learning! Thanks a lot!
You're welcome!
Cool
;-)
Can the sent IR code be recorded with the universal remote control with the learning function e.g. Huayu HL-1166E ?
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.
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
Did you set the fuses accordingly?
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.
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.
@@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 ?
@@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.
@@stefanwagner1759 okay, thanks for help .
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
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.
TEM UM VIDEO DE COMO FAZER ESSE LEITOR DE CODIGO?
legal ... amigo por que 2 led ?
No está claro cual es el código que se le descargará el attiny13 ya que hay muchos y no pude
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.
Me marca error
Ye ketne rupes ka hai
DO YOU HAVE A VIDEO OF HOW TO MAKE THIS CODE READER?
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.
Code is uploaded: easyeda.com/wagiminator/attiny85-tinyoledboard-dip
cool ... friend why 2 led?
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.
ok lEgal which models to differentiate when buying the LED emitter
I used Everlight Elec IR333-A and Everlight Elec IR333C/H0/L10, but it should work with any 940nm IR LED.