actuators servos red power black ground yellow input
play

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


  1. ACTUATORS

  2. SERVOS

  3. RED => POWER BLACK => GROUND YELLOW => INPUT Input accepts a range from 0 to 180.

  4. CONTROL SERVO WITH ANALOG INPUT

  5. H-BRIDGE

  6. The L293/SN754410 is a very basic H-bridge. It has two bridges, one on the left side of the chip and one on the right, and can control 2 motors. It can drive up to 1 amp of current, and operate between 4.5V and 36V.

  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

  8. CONTROLLING A MOTOR WITH A H-BRIDGE

  9. CONTROLLING A MOTOR WITH A H-BRIDGE

  10. STEPPER MOTORS

  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.

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

  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.

  14. THE INSIDE OF A STEPPER MOTOR

  15. CONTROLLING A STEPPER MOTOR WITH A H-BRIDGE motor power supply

  16. CONTROLLING A STEPPER MOTOR WITH A H-BRIDGE

  17. TRANSISTORS

  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.

  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.

  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.

  21. 2N2222 Transistor - base (B) - collector (C) - emitter (E)

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

  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.

  24. CONTROLLING to power supply HIGH-CURRENT LOADS

  25. “BLINK” A MOTOR

  26. RELAYS

  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 off. 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.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend