top of page

Servo motor with IR remote and Arduino |

Updated: Feb 23

In this #DIY project, will learn how to control a servo motor with an IR remote by interfacing it with #Arduino using #Tinkercad software. |


Hardware Requirenments - Servo motor with IR remote |

a) Arduino UNO board:

Arduino UNO board:

Arduino is an open-source programmable microcontroller that can be programmed to sense and control objects in the physical world. By responding to sensors and inputs the Arduino board can interact with a wide variety of outputs such as LED’s, motors, LCDs, etc. | Servo motor with IR remote |


To know more about the Arduino UNO, refer to this article.


b) Jumper Wires:

Jumper Wires:

Jumper wires are a group of electrical wires, with a connector at each end, which is used to interconnect the components of a prototype circuit.


c) Breadboard:

Breadboard

A #breadboard is a construction base for building electronic circuits. It has many holes into which circuit components like ICs and resistors can be inserted.

Breadboard

The holes in the terminals are connected horizontally and the holes in the middle are connected vertically.


d) IR Sensor:

IR Sensor

#IRsensor is an electronic device that detects IR radiations in the physical world. They are commonly used in object detection systems.


e) IR Remote:


It is a wireless remote control device that is used to operate audio, video, and other electronic equipment in a room through the detection of IR radiations.


f) Servo Motor:

Servo Motor

A servo motor is an actuator that allows us to control position, velocity, and acceleration.


Circuit Connections




Circuit connection involves the following steps:

  • The output pin of the IR sensor is connected to digital pin 5 of the Arduino board.

  • The power pin of the IR sensor is connected to the power supply.

  • The ground pin of the IR sensor is connected to the ground.

  • The ground pin of the servo motor is connected to the ground.

  • The power pin of the servo motor is connected to the power supply.

  • The output pin of the servo motor is connected to digital pin 3 of the Arduino board.


Code



Working

If button 1 is pressed then the servo turns by an angle of 45 degrees and after a delay of 1000ms, it returns to its initial position. If button 2 is pressed then it turns by an angle of 90 degrees and after a delay of 1000ms, it returns to its initial position. If button 3 is pressed then it turns by an angle of 135 degrees and nd after a delay of 1000ms it returns to its initial position. If button 4 is pressed then it turns by an angle of 180 degrees and after a delay of 1000ms, it returns to its initial position.






Project By - Debangshu Sarkar , Edited By - Sowmya

Check the Project working video here - Servo motor with IR remote and Arduino


See also:










Interfacing Neopixel strip with Arduino-Tinkercad
Interfacing Neopixel strip with Arduino-Tinkercad







Follow us -

Please do follow us i.e #learnelectronicsindia to get daily updates about new blogs, videos, courses, quizzes, and contests.



Author - Akshara Ganeshram


Want us to help you with the projects, write your inquiry here - Order Projects


Check out our Free Arduino Projects Playlist - Arduino Projects

Check out our Free Raspberry Pi Projects Playlist - Raspberry Pi Projects

Check out our Free TinkerCAD Projects Playlist - TinkerCAD Projects

Check out our Free IoT Projects Playlist - IoT Projects

Check out our Free Home Automation Projects Playlist - Home Automation Projects

Check out our Free NodeMCu Projects Playlist - NodeMCu Projects

2 Comments


Clear and concise. LearnElectronics India's expertise shines through.

Like

Anushka Gupta
Anushka Gupta
Jul 21, 2023

This blog deserves all the accolades it receives. Learn Electronics India has managed to strike the perfect balance between technical depth and accessibility. As a hobbyist, I've been searching for a resource like this to help me build my own projects, and this blog fits the bill perfectly. Thank you for sharing your expertise.

Like
bottom of page