Controlling Servo Motor With Ir Remote Using Arduino
About the project
In this tutorial we are going to learn how to control a Servo motor using IR remote and Arduino Watch the Video!
Project info
Difficulty: Easy
Estimated time: 1 hour
License: GNU General Public License, version 3 or later (GPL3+)
Items used in this project
Hardware components
Story
Step 1: What You Will Need
1 / 6
- IR Remote Sender
- IR Receiver module
- Servo Motor
- Arduino UNO (or any other Arduino or ESP)
- Jumper wires
- Visuino program: Download Visuino
Thank you PCBWay for supporting this tutorial and helping users learn more about electronics.
What I like about the PCBWay is that you can get 10 boards for approximately $5 which is really cost effective for professional made boards, not to mention how much time you save!
Go check them out here. They also offer a lot of other stuff in case you might need it like assembly, 3D printing, CNC machining and a lot more.
1 / 2 Start Visuino as shown in the first picture Click on the "Tools" button on the Arduino component (Picture 1) in Visuino When the dialog appears, select "Arduino UNO" as shown on Picture 2 1 / 4 1 / 5 Lets set the commands for the Left & Right button on the Remote, you will need a Code for that, in my case it was 16734885 & 16716015 each Remote might use different code, if you do not have it check out the Next step on how to obtain the code. In Visuino, at the bottom click on the "Build" Tab, make sure the correct port is selected, then click on the "Compile/Build and Upload" button. If you power the Arduino module, and press a Left or Right button on the IR Remote the Servo will Turn Right or Left each time. Congratulations! You have completed your project with Visuino. Also attached is the Visuino project, that I created for this tutorial, you can download it and open it in Visuino: https://www.visuino.eu
Step 3: The Circuit
Step 4: Start Visuino, and Select the Arduino UNO Board Type
Step 6: In Visuino Set Components
Step 7: How to Obtain the Codes From a Remote Controller
Step 8: In Visuino Connect Components
Step 9: Generate, Compile, and Upload the Arduino Code
Leave your feedback...