I have been planning to add Infrared Remote support to Visuino for over a year, but always other sensors or features took priority. Finally couple of weeks ago I received a great Robot KIT from Elegoo, and since the kit came with Infrared Remote and Infrared Receiver Sensor included, I could not resist, but try programming it with Visuino. I added the necessary components, and started playing with the robot. I will be making Tutorials on the robot including Infrared control ones. Here I decided to show you first the basics of the Infrared Receiver support in Visuino.
In this Tutorial I will show you how easy it is to connect Infrared Receiver Module to Arduino Nano and program it with Visuino to decode the commands.
To start programming the Arduino, you will need to have the Arduino IDE installed from here: http://www.arduino.cc/.
Make sure that you install 1.6.7 or higher, otherwise this Tutorial will not work!
The Visuino: https://www.visuino.com also needs to be installed.
If you get compiler error in the Arduino IDE, this means that you are missing the following library:
https://github.com/z3t0/Arduino-IRremote
Look at the Next Step to see how to install it!
If you don't have the IRremote library already installed, follow these steps:
On Picture 1 you can see the complete Visuino diagram.
On Picture 2, and in the Video, you can see the completed and running project.
Congratulations! You have learned how to connect Infrared Remote Receiver to Arduino, and how to program it with Visuino.
Also attached is the Visuino project, that I created for this Tutorial. You can download and open it in Visuino: https://www.visuino.com