PROJECT 12 – SERIAL COMMUNICATION CONTROL DC MOTOR

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

, , , , ,

Related Post

Getting Started with IR Distance Click

Getting Started with Temperature Sensor (Celsius) (SN-LM35DZ)

Getting Started with Light Sensor Module (SN-LIGHT-MOD)

Getting Started with 3A Motor Driver Shield and Arduino Uno

One 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 Reply

Your email address will not be published. Required fields are marked *