Assam Engineering College
SPEED CONTROL OF DC MOTOR
USING WIRELESS TECHNOLOGY
Presented By:
Jahnavi Haloi (200612603023)
Fahad Ansari (200610003032)
Mridul Sonowal (200610003054)
Chiranjeeb Das (200610003022)
CONTENTS
• INTRODUCTION
• COMPONENTS USED
• CIRCUIT DIAGRAM
• CODE
• WORKING
• RESULT
INTRODUCTION
• In any industry, direction control of an electric device system is very critical & crucial.
• Our idea is proposed to drive the DC motor for the required application in both forward & backward
direction by using wireless technology.
• Nowadays, there is a high demand of electric gadgets with the latest wired and wireless control
mechanisms.
• Our project proposes to control the direction of a DC motor with high efficiency & with a proper
functioning & synchronization between all components starting from the applied input to the desired
output.
COMPONENTS USED
2-CHANNEL RELAY MODULE ARDUINO NANO ATMEGA-328P TSOP1738-IR SENSORI
COMPONENTS USED
REMOTE JUMPER WIRES DC-MOTOR
CONNECTION DIAGRAM
coCODES:
//Include the required libraries
#include <IRremote.h>
//Define the pins
//Check the received signal and control the motor accordingly
#define irPin 2
switch (results.value) {
#define relay1Pin 6
case 16748655:
#define relay2Pin 7
//Turn off the motor
digitalWrite(relay1Pin, HIGH);
//Initialize the IR remote
digitalWrite(relay2Pin, HIGH);
IRrecv irrecv(irPin);
break;
decode_results results;
case 4294967295:
//Turn on the motor in clockwise direction
void setup() {
digitalWrite(relay1Pin, LOW);
//Initialize the Serial Monitor
digitalWrite(relay2Pin, HIGH);
Serial.begin(9600);
break;
//Initialize the IR remote
case 65535:
irrecv.enableIRIn();
//Turn on the motor in anti-clockwise direction
//Initialize the relay pins
digitalWrite(relay1Pin, HIGH);
pinMode(relay1Pin, OUTPUT);
digitalWrite(relay2Pin, LOW);
pinMode(relay2Pin, OUTPUT);
break;
}
//Turn off the motor
digitalWrite(relay1Pin, HIGH);
//Resume the IR remote to receive any further signals
digitalWrite(relay2Pin, HIGH);
irrecv.resume();
}
}
void loop() {
}
//Check if the IR remote is receiving any signal
if (irrecv.decode(&results)) {
//Print the received signal on the Serial Monitor
Serial.println(results.value, DEC);
WORKING :
RESULT
• It is observed that when supply is switched on, the motor
starts rotating in clockwise direction, and on pressing the
Arrow Up button present on the TV remote enables the
motor to rotate in anti-clockwise direction.
• . Using the microcontroller program enables the motor to
rotate in both directions (clockwise and anticlockwise
direction).
• It is simpler compared to other methods of rotating
motors, flexible in design, lighter in weight and suitable
for low power applications. In future this idea can be
implemented by using ac motors to control the rotation
motor in both directions.
THANK
YOU!