School of Engineering & Technology
Department of Electronics and Communication Engineering
Experiment Number: 7 Date: 23-11-2022
EXPERIMENT NAME: To study the DC motor controller using the
Tinkercad .
AIM : To run a DC motor using tinkercad.
TOOLS REQUIRED:
THEORY:
A DC motor controller manipulates the position, speed, or torque of a DC-powered
motor and easily reverses, so the DC motor drive current runs in the opposite
direction. Enjoy higher starting torque, quick starting and stopping, reversing,
variable speeds with voltage input and more.
The DC motor speed controller function is perhaps the most common
manipulation used in DC controllers. This speed can be controlled in four different
ways: flux variation, armature voltage variation, a change in the supply voltage, and
pulse width modulation (PWM). PWM is the technique commonly used for achieving
speed control in a DC motor. It delivers energy through a series of pulses rather
than a continuous signal. By altering the pulse width, the DC motor controller is
able to regulate the energy flow to keep it consistent.
PROCEDURE:
[Link] tinkercad .
[Link] a new circuit .
[Link] bread board ,arduino board , connecting wires ,DC
motor ,L293D IC etc
[Link] the appropriate connections as shown in the circuit .
[Link] the necessary code and run the code
[Link] the circuit and note the result.
CIRCUIT DIAGRAM:
CODE:
// C++ code
//
void setup()
{
pinMode(11,OUTPUT);
pinMode(10,OUTPUT);
pinMode(9,OUTPUT);
School of Engineering & Technology
Department of Electronics and Communication Engineering
}
void loop()
{
digitalWrite(11,HIGH);
digitalWrite(10,LOW);
digitalWrite(9,HIGH);
delay(1000);
digitalWrite(11,LOW);
digitalWrite(10,HIGH);
digitalWrite(9,LOW);
delay(1000);
}
INFERENCE:
Using the DC motor controller we successfully driven
the working of the DC motor controller using arduino in the tinkercad .
Experiment Number: 9 Date: 23-11-2022
EXPERIMENT NAME: To study the stepper motor controller using the
Tinkercad .
AIM : To run a stepper motor using L293D motor driver IC and arduino .
TOOLS REQUIRED:
THEORY:
A stepper motor, also known as step motor or stepping motor, is a brushless dc
electric motor that divides a full rotation into a number of equal steps. The
motor's position can be commanded to move and hold at one of these steps
without any position sensor for feedback (an open-loop controller), as long as
the motor is correctly sized to the application in respect to torque and speed.
Essentially, stepper motors offer excellent speed control, precise
positioning, and repeatability of movement. Additionally, stepper motors are
highly reliable since there are no contact brushes in the motor. This minimizes
mechanical failure and maximizes the operation lifespan of the motor . A
stepper motor is a brushless, synchronous electric motor that converts digital
pulses into mechanical shaft rotation. Its normal shaft motion consists of
discrete angular movements of essentially uniform magnitude when driven
from sequentially switched DC power supply.A stepper motor is an electrically
powered motor that creates rotation from electrical current driven into the
motor. Physically, stepper motors can be large but are often small enough to be
driven by current on the order of milliampere.
PROCEDURE:
[Link] tinkercad .
[Link] a new circuit
[Link] bread board ,arduino board , connecting wires ,stepper
motor ,L293D IC etc
[Link] the appropriate connections as shown in the circuit .
[Link] the necessary code and run the code
[Link] the circuit and note the result.
CIRCUIT DIAGRAM:
CODE:
// C++ code
//
void setup()
{
pinMode(11,OUTPUT);
pinMode(10,OUTPUT);
pinMode(9,OUTPUT);
}
void loop()
{
digitalWrite(11,HIGH);
digitalWrite(10,LOW);
digitalWrite(9,HIGH);
delay(1000);
digitalWrite(11,LOW);
digitalWrite(10,HIGH);
digitalWrite(9,LOW);
delay(1000);
}
INFERENCE:
Using the stepper motor controller we successfully driven
the working of the stepper motor controller using arduino in the tinkercad.
Experiment Number: 10 Date: 23-11-2022
EXPERIMENT NAME: Study of temperature and gas sensor using the
tinkercad .
AIM :
[Link] study the temperature sensor and its working using arduino .
[Link] of gas sensor and its working using arduino .
TOOLS REQUIRED:
THEORY:
TEMPERATURE SENSOR:
A temperature sensor is an electronic device that measures the
temperature of its environment and converts the input data into electronic
data to record,monitor, or signal temperature changes .
Temperature sensors work by providing readings via electrical
[Link] are composed of two metals that generate an electrical
voltage or resistance when a temperature change occurs by measuring
the voltage across the diode terminals. When the voltage increases, the
temperature also [Link] our homes, temperature sensors are
used in many electrical appliances, from our refrigerators and freezers to
help regulate and maintain cold temperatures as well as within stoves and
ovens to ensure that they heat to the required levels for cooking, air
confectioners/heaters.
GAS SENSOR :sensing electrodes in the air, sending an electric current to
sound the alarm. Catalytic Bead: Using a platinum-treated wire coil, this
type of gas detector most commonly identifies combustible gas in the air
as the coil oxidizes upon contact with the gas, tripping an alarm.
Gas sensors are employed in factories and manufacturing facilities to
identify gas leaks, and to detect smoke and carbon monoxide in homes.
Gas sensors vary widely in size (portable and fixed), range, and sensing
ability.
PROCEDURE:
[Link] tinkercad .
[Link] a new circuit
[Link] bread board ,arduino board , connecting wires ,temperature
sensor , gas sensor ,buzzer etc
[Link] the appropriate connections as shown in the circuit .
[Link] the necessary code and run the code
[Link] the circuit and note the result.
CIRCUIT DIAGRAM:
CODE:
float temp;
float vout;
float vout1;
int LED = 13;
int gasSensor;
int piezo = 7;
void setup()
{
pinMode(A0,INPUT);
pinMode(A1,INPUT);
pinMode(LED,OUTPUT);
pinMode(piezo,OUTPUT);
[Link](9600);
}
void loop()
{
vout = analogRead(A1);
vout1 = (vout/1023)*5000;
School of Engineering & Technology
Department of Electronics and Communication Engineering
temp = (vout1-500)/10;
gasSensor = analogRead(A0);
if(temp>=80)
{
digitalWrite(LED,HIGH);
}
else
{
digitalWrite(LED,LOW);
}
if(gasSensor>=100)
{
digitalWrite(piezo,HIGH);
}
else
{
digitalWrite(piezo,LOW);
}
[Link]("In Degree C = ");
[Link](" ");
[Link](temp);
[Link]("\t");
[Link]("GasSensor = ");
[Link](" ");
[Link](gasSensor);
[Link]();
delay(1000);
}
INFERENCE:
By using the gas and temperature sensor with the connections with the
arduino we have successfully driven the temperature sensor and gas
sensor using arduino .
Experiment Number: 8 Date: 23-11-2022
EXPERIMENT NAME: To study the traffic light control Tinkercad .
AIM : To study the usage of traffic controller using tinkercad.
TOOLS REQUIRED:
THEORY:
Traffic light control assigns a right way to the road users by using lights in
normal colors (red – amber/yellow – green).Traffic light control system uses a
worldwide color code (a specific color order to enable color recognition for those
who are color blind).
The main objective of this traffic light controller is to provide sophisticated control
and coordination to confirm that traffic moves as smoothly and safely as possible.
This project makes use of LED light for indication purpose and a microcontroller is
used for auto changing of signal at specified range of time interval. LED lights
automatically turn on and off by making the corresponding port pin of the
microcontroller “HIGH”.
PROCEDURE:
[Link] tinkercad .
[Link] a new circuit .
[Link] bread board ,arduino board , connecting wires ,DC
motor ,L293D IC etc
[Link] the appropriate connections as shown in the circuit .
[Link] the necessary code and run the code
[Link] the circuit and note the result.
CIRCUIT DIAGRAM:
CODE:
// C++ code
//
void setup()
{
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
School of Engineering & Technology
Department of Electronics and Communication Engineering
}
void loop()
{
digitalWrite(2,HIGH);
dealy(5000);
digitalWrite(2,LOW);
delay(5000);
digitalWrite(3,HIGH);
delay(3000);
digitalWrite(3,LOW);
delay(3000);
digitalWrite(4,HIGH);
delay(2000);
digitalWrite(4,LOW);
delay(2000);
}
INFERENCE:
Using the DC motor controller we successfully driven
the working of the DC motor controller using arduino in the tinkercad .