PROJECT 12 – SERIAL COMMUNICATION CONTROL DC MOTOR

Since we have try how to control DC motor with temperature, how about we try how to control DC motor with our PC/Laptop while sending temperature value to our PC.

PROJECT 12

SERIAL COMMUNICATION CONTROL DC MOTOR

Back to Project 11                                                                                                                     Go to project 13

Since we have try how to control DC motor with temperature, how about we try how to control DC motor with our PC/Laptop while sending temperature value to our PC.

———————————————————————————————————————————————————-

COMPONENT NEEDED

———————————————————————————————————————————————————-

ARDUINO 2-AMP MOTOR DRIVER SHIELD

MICRO METAL GEARMOTOR

SPG10

LM35 TEMPERATURE SENSOR
JUMPER WIRE

———————————————————————————————————————————————————-

CONNECTION

———————————————————————————————————————————————————-
The connection for this project are same with project 9 which the motor are connected to motor shield like figure below. While the LM35 temperature sensor signal pin are connected to analog pin-0.

———————————————————————————————————————————————————-

CODE OVERVIEW

———————————————————————————————————————————————————-

Serial.print(“Current Tempreture Reading(celsius)”);
Send a string of words to PC/Laptop.

Serial.println(Temp_Sensor/2,DEC);
Send the temperature value to PC/Laptop which the value in Decimal and print it in new line.

Back to Project 11                                                                                                                     Go to project 13

———————————————————————————————————————————————————-

ATTACHMENT

1. P12 User Manual.pdf
2. Project_12_code.zip

BUY

1 thought on “PROJECT 12 – SERIAL COMMUNICATION CONTROL DC MOTOR”

  1. Can you help me how to make a program for arduino:
    ‘CONTROLL THE SPEED of DC MOTOR’
    mode:
    0 = Turn OFF
    1 = LEFT ROTATE
    2 = RIGHT ROTATE

    >>>URGENT<<<

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Control Stepper Motor 28BYJ-48 Using TTGO T-Display ESP32
Smart Dustbin
Interface LSM9DS1 9DOF IMU With TTGO T-Display ESP32
Send and Receive SMS Using TTGO ESP32 SIM800L
Getting Started With ProjekIoT.com Using Raspberry Pi
Scroll to Top