Akshara Ganesh Ram

Jul 20, 20213 min

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 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 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:

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.

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

d) 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:

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

Follow us -

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

Facebook | LinkedIn | Instagram | Youtube | Website | Gmail

Author - Akshara Ganeshram

Portfolio link - www.learnelectronicsindia.com/team/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

    10422
    5