ACTUATORS SERVOS RED => POWER BLACK => GROUND YELLOW => - - PowerPoint PPT Presentation

actuators servos red power black ground yellow input
SMART_READER_LITE
LIVE PREVIEW

ACTUATORS SERVOS RED => POWER BLACK => GROUND YELLOW => - - PowerPoint PPT Presentation

ACTUATORS SERVOS RED => POWER BLACK => GROUND YELLOW => INPUT Input accepts a range from 0 to 180. CONTROL SERVO WITH ANALOG INPUT H-BRIDGE The L293/SN754410 is a very basic H-bridge. It has two bridges, one on the left side of


slide-1
SLIDE 1

ACTUATORS

slide-2
SLIDE 2

SERVOS

slide-3
SLIDE 3

RED => POWER BLACK => GROUND YELLOW => INPUT

Input accepts a range from 0 to 180.

slide-4
SLIDE 4

CONTROL SERVO WITH ANALOG INPUT

slide-5
SLIDE 5

H-BRIDGE

slide-6
SLIDE 6

The L293/SN754410 is a very basic H-bridge. It has two bridges, one on the left side of the chip and

  • ne on the right, and can control 2 motors.

It can drive up to 1 amp of current, and operate between 4.5V and 36V.

slide-7
SLIDE 7

Pin 1 (1,2EN) enables and disables our motor whether it is give HIGH or LOW Pin 2 (1A) is a logic pin for our motor (input is either HIGH or LOW) Pin 3 (1Y) is for one of the motor terminals Pin 4-5 are for ground Pin 6 (2Y) is for the other motor terminal Pin 7 (2A) is a logic pin for our motor (input is either HIGH or LOW) Pin 8 (VCC2) is the power supply for our motor, this should be given the rated voltage of your motor Pin 9-11 are unconnected as you are only using one motor in this lab Pin 12-13 are for ground Pin 14-15 are unconnected Pin 16 (VCC1) is connected to 5V

slide-8
SLIDE 8

CONTROLLING A MOTOR WITH A H-BRIDGE

slide-9
SLIDE 9

CONTROLLING A MOTOR WITH A H-BRIDGE

slide-10
SLIDE 10

STEPPER MOTORS

slide-11
SLIDE 11

Stepper motors are motors that have multiple coils in them, so that they can be moved in small increments or steps. They come in two types, unipolar or bipolar, meaning that they have either one main power connection or two. Both kinds can be controlled a H-bridge.

slide-12
SLIDE 12

To control a stepper, apply voltage to each of the coils in a specific sequence.

slide-13
SLIDE 13

To control a stepper, apply voltage to each of the coils in a specific sequence. But we won’t have to, because there is a handy Arduino library.

slide-14
SLIDE 14

THE INSIDE OF A STEPPER MOTOR

slide-15
SLIDE 15

CONTROLLING A STEPPER MOTOR WITH A H-BRIDGE

motor power supply

slide-16
SLIDE 16

CONTROLLING A STEPPER MOTOR WITH A H-BRIDGE

slide-17
SLIDE 17

TRANSISTORS

slide-18
SLIDE 18

When using electro-mechanical devices, we'll be dealing with currents that are larger than Arduino's IO pins can handle. A transistor is an electronic component that can help to amplify small electric currents (about 25mA) that the Arduino can provide.

slide-19
SLIDE 19

There are two standard types of transistors, NPN and PNP. In this class we'll use NPN transistors to sink current from a positive voltage supply.

slide-20
SLIDE 20

Transistors usually have three leads:

  • base (B)
  • collector (C)
  • emitter (E)

The rule is that small base current controls a larger collector current, so we can control high-current devices connected to collector by switching base current with the Arduino.

slide-21
SLIDE 21

2N2222 Transistor

  • base (B)
  • collector (C)
  • emitter (E)
slide-22
SLIDE 22 1 1 5 5 10 10 15 15 20 20 25 25 30 30 A A B B C C D D E E F F G G H H I I J J 13 12 11 10 9 8 7 6 5 4 3 2 L 5V A0 ANALOG IN AREF 1 GND TX RX RESET 3V3 A1 A2 A3 A4 A5 VIN GND GND DIGITAL (PWM= ) Arduino TM IOREF ICSP ICSP2 ON POWER 1 TX0 RX0 RESET

2N2222 TRANSISTOR LED CONTROL

slide-23
SLIDE 23

CONTROLLING HIGH-CURRENT LOADS

The TIP-120 Transistor can handle loads up to 5 Amps, far more than you can drive with a 2N2222 (600mA) or directly from an output pin.

slide-24
SLIDE 24

CONTROLLING HIGH-CURRENT LOADS

to power supply
slide-25
SLIDE 25

“BLINK” A MOTOR

slide-26
SLIDE 26

RELAYS

slide-27
SLIDE 27

Relay is an electrical switch operated by an electromagnet. We can use a transistor to control the flow of current through the coil of relay's magnet, switching a pair of contacts on and

  • ff.

Since relay contacts make a mechanical connection, they can be used to connect different types of signals (for example: AC voltage, audio, video) just like connecting and disconnecting a pair of wires.