Arduino training day 3 ppt

Post on 15-Apr-2017

158 views 6 download

transcript

Q&A ( Flash Back Day 2)1. How many ground pins are there in Arduino Uno?

2. Which one these is correct?A) PinMode() B) pinMode()

3. What do you mean by JDK ?

Q&A ( Flash Back Day 2)4. What was the problem while making traffic light?

5. Which one these is correct?A) Int Led=13; B) intled=13;

6. What is the name of yesterday’s trainer ?

MotorWhat is motor?

Mechanical Device

Convert Electrical energy to Mechanical energy

MotorTypes of Motor

1. Stepper motor 2. Servo motor

Motor

Motor Driver

Motor Shield

HG 7881 (L9110)

MotorHG 7881 (L9110)

Specifications2 Channel Motor driver

module800mA continuous currentOperating voltage 2.5 V to

12 VPMW signal

Motor Driver HG 7881 (L9110)

Motor Driver HG 7881 (L9110)

A-IA: Motor A Input A A-IB: Motor A Input B VCC: 2.5V-12V

DC GND: ground B-IB: Motor B

Input BB-IA: Motor B Input A

Pins

Motor DriverHG 7881 (L9110)

Truth TableFor 1 Motor

IA IB Motor State

L L OFFH L FORWARDL H BACKWAR

DH H OFF

Motor DriverHG 7881 (L9110)Merits

2 Channel Motor driver moduleOperating voltage range high

Contains built-in o/p clamp diodes to protect μC.

Ready to go Reasonable Price

Motor Driver HG 7881 (L9110)

Coding & simulation

Truth TableFor 1 Motor

IA IB Motor State

L L OFFH L FORWARDL H BACKWAR

DH H OFF

Coding & simulation

Coding & simulation

IR Sensor

IR Sensor

Motor Project

Hardwaresetup

Now, you have 2 minutes to play.