Boot loader
In most cases a serial boot loader is used to upload code to the Arduino. Using a boot loader has the disadvantage that it takes about a second after power up before the application starts. In case of the remote, it means you would have to push at least one second for the button to be recognized. This is undesirable.
The solution is simple: upload code to the Arduino using a programmer, such as the AVRISPmkII. That's it. In PlatformIO, this means you have to select "Upload using programmer" instead of the common "Upload" button.
Once you've done that, you've broken the boot loader. So you'll no longer be able to upload code using the USB-UART cable. If you want to restore the boot loader, connect the AVRISPmkII, open Arduino, select the correct board and do "burn bootloader".
Similar projects
Self-learning TV Remote for the elderly
There's something interesting in every project, no matter how amateurish it may look.
IR library
- IRMP : support for STM32
- Arduino-IRremote : most popular
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.