wagiminator / ATtiny13-TinyRemote

IR Remote Control
https://oshwlab.com/wagiminator/attiny13-tinyremote
Other
71 stars 16 forks source link

Arduino Nano #1

Open Gelip opened 3 years ago

Gelip commented 3 years ago

Can the code run on an Arduino Nano? What is the connection diagram to the Arduino Nano?

wagiminator commented 3 years ago

Hi, the code cannot be compiled directly for the nano. In order to get by with the limited memory of the ATtiny13, everything is programmed very close to the hardware. If you want to use a nano for the remote control, there are many ready-made libraries that you can use anyway. That makes things a lot easier then. But keep in mind that such a nano consumes more power. You may therefore not get very far with a small battery.

Gelip commented 3 years ago

OK, but I do not want to build a remote control as in your project, only using Arduino with or without ATTiny to generate the code of the remote button in the NEC standard and teach the universal remote control of a given code, e.g. Addr=01 Cmd=16. I am interested in using the code in the file TinyRemote_t13_NEC_4B.ino in lines from 71: https://obrazki.elektroda.pl/7601989000_1633903000.png

wagiminator commented 3 years ago

You can do it with this library on an Arduino Nano: https://github.com/Arduino-IRremote/Arduino-IRremote

Gelip commented 3 years ago

OK, thanks.