-
Notifications
You must be signed in to change notification settings - Fork 15
Input Device: IR Remote
Now you can controll your TonUINO with an IR Remote Control! How cool is that! Okay we have the year 2021, and an IR Remote control would be cool in the 00s, now you need an "app" to get someone frome behind the stove....
Anyways, this feature allows you to use every IR remote control you want or have in youre houshold. You just need an IR reciver. I recoment the TSOP38238. This one for example:
And if you need a remote control, this one fits very good:
You can find this remote control all over the internet togheter with an IR reciver, but these recivers are not very good.
The wirering is simple, you need 2.5-5.5V, GND and a digital Input. Per default i use digital input 6.
I use the IRRemote Libary in the Version 3.0.1. You have to install this Libary and Version in your Arduino IDE!
In the Configuratiion.h you can find some #defines
for the aktivation and configuration of the IR Remote control.
#define IRREMOTE //activates the function
#define IRREMOTE_PIN 6 //pin used for the ir receiver output
How do you teach your TonUINO wich button of your remote control does what?
- go into the admin menu via the three button combo or RFID Tag
- Navigat to the ir remote learning menu
- start the learning
- choose wich kind of control do you want to link to a button
- the TonUINO asks you to push the button
- if the button was succesfully recognize, the TonUINO tells you so and stores the ir code
- the button is now usable, even in the current learning
- if you are finish with the learning, push the pause button for long or if you have programmed it, press the ir or analog button for shut down. You will get beck to a higher menu or directly to the admin menu.
- if you dont want to do anything else in the admin menu, leav it with a long push on the pause or a programmed shut down button.
- after leaving the admin menu the ir codes are stored in the EEPROM and will be useable after reset
Note: You dont have to link all commands with an button on your ir control, you also can link only one.