ATtiny13-TinyRemote icon indicating copy to clipboard operation
ATtiny13-TinyRemote copied to clipboard

Arduino Nano

Open Gelip opened this issue 2 years ago • 4 comments

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

Gelip avatar Oct 10 '21 18:10 Gelip

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.

wagiminator avatar Oct 17 '21 12:10 wagiminator

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

Gelip avatar Oct 17 '21 13:10 Gelip

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

wagiminator avatar Oct 18 '21 05:10 wagiminator

OK, thanks.

Gelip avatar Oct 18 '21 16:10 Gelip