This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:hardware:homelab:motor [2010/03/26 14:46] – raivo.sell | en:hardware:homelab:motor [2020/07/20 12:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | Motors module incorporates the motors driver board and different electrical motors. Motors board is designed to be compatible with the Controller | + | Please select |
| - | Motor power supplies are separated from the control signals on the Motors board and enables to connect all control signals with one ribbon cable | + | ---- |
| - | {{: | + | Version 5.1 |
| - | With the module it is possible to drive different types of motors and all these can have separate voltage supply. | + | [[en: |
| - | Following motors can be connected with Motors board: | + | ---- |
| - | * 4 x DC motors or 3 x DC motors and 2 x encoder. | + | |
| - | * 2 x unipolar stepper motors. | + | |
| - | * 1 x bipolar stepper motor. | + | |
| - | * 2 x RC servo motor. | + | |
| - | * UART connector. | + | |
| - | * Driver supply selection: jumper JP1 (from controller board or external). | + | |
| - | * Supply indicator LED. | + | |
| - | motors modules supply connector (PWR): | + | Version 5.0 |
| - | ^ Pin ^ Supply connection ^ Voltage ^ Current ^ | + | [[en: |
| - | | 1 | DC motors | + | |
| - | | 2 | Bipolar stepper | + | |
| - | | 3 | Servo motors | + | |
| - | | 4 | Unipolar stepper motors | + | |
| - | | 5 | Drivers logic supply (selectable with JP1) | 5 V | + | |
| - | | 6 | Ground(GND) | + | |
| - | NB! Applied voltage and current are primary dependent of motors which are used and cannot exceed the limits of specific motor. These limits should be checked from motor datasheet. motors provided with kit are most commonly supplied with the voltage 5-6 V and therefore the power distribution cable is using voltage regulators, limiting the output to 5 or 6 V. | + | ---- |
| + | Version 1 | ||
| - | ===== Motors ===== | + | [[en: |
| - | Specific model or mark of the motor in a Add-On Kit can vary, but every kit has at least one DC motor, 1 RC servo motor and 1 bipolar or unipolar stepper motor. | ||
| - | Following specific models can be figured on the kit: | ||
| - | * **DC motor ** | ||
| - | * Micromotors L149.6.10 (with gear) {{: | ||
| - | * Micromotors L149.6.43 (with gear) {{: | ||
| - | * Micromotors LE149.6.10 (with gear + encoder) {{: | ||
| - | * **RC servo motor** | ||
| - | * Robbe FS 100 {{: | ||
| - | * E Sky EK2-0501 {{: | ||
| - | * Futaba XT-S | ||
| - | * Hitec HS422 {{: | ||
| - | * **Unipolar stepper motor** | ||
| - | * Ming Jong ST35 {{: | ||
| - | * **Bipolar stepper motor** | ||
| - | * Moons 42PM {{: | ||
| - | * Ming Jong ST28 {{: | ||
| - | * **Piezo sound generator ** (optional) | ||
| - | ===== Electrical connections ===== | ||
| - | |||
| - | Motors module board is connected with Controller module with one ribbon cable to the port PE-PB-PD. The power supplies of the motors are connected with separate PWR connector, where every type of motor can have different voltage. Drivers on the board can be supplied externally or directly from Controller module. This is determined by the jumper JP1. If the jumper connects pin 1 and 2 the logic supply is taken from the Controller module. If logic supply is correctly provided the on-board LED //+5V// have to light up. The Motors bord is equipped with UART connector which enables to connect external UART compatible devices directly to board. | ||
| - | |||
| - | [{{ : | ||
| - | |||
| - | ==== DC motors ==== | ||
| - | |||
| - | DC motors are connected to the connector group DC1. Every pair can handle one motor - all together 4 DC motors. In parallel of connector 3 two encoders ENC1 and ENC2 are connected. In case of using the encoders the DC motor connector 3 cannot be connected with DC motor on the same time (these ports have to be configured as inputs by the software). Motors are controller with widely used H-bridges. L293D dual H-bridge driver is used for the DC motors. motors can be also replaced by some other actuator which can be controlled digitally and the current do not exceed 500 mA (piezo generator, relay etc.) | ||
| - | |||
| - | [{{ : | ||
| - | |||
| - | ^ AVR pin ^ Control signal ^ AVR pin ^ Control signal ^ | ||
| - | | PB4 | Motor 1 1A | PD6 | Motor 3 1A | | ||
| - | | PB7 | Motor 1 2A | PD7 | Motor 3 2A | | ||
| - | | PD0 | Motor 2 1A | PD4 | Motor 4 1A | | ||
| - | | PD1 | Motor 2 2A | PD5 | Motor 4 2A | | ||
| - | |||
| - | ==== Stepper motors ==== | ||
| - | |||
| - | Mootoriplaat toetab kahe erinevat tüüpi samm-mootori kasutamist. Plaadile on võimalik ühendada 2 unipolaarset samm-mootorit ja 1 bipolaarne samm-mootor. Bipolaarset samm-mootorit juhitakse H-sillaga L293D ja unipolaarset samm-mootorit transistorite jadaga ULN2803. Mootorite juhtsignaalide mustrid genereeritakse tarkvaraliselt. Samm-mootorite ühendamisel on oluline jälgida mähiste järjekorda. Unipolaarse samm-mootori toiteotsad ühendatakse viikudesse 1 ja 2. Kui tegemist on viie juhtmelise unipolaarse samm-mootoriga, | ||
| - | |||
| - | ^ Pesa viik ^ Mähise ots ^ Unipolaar 1 ^ Unipolaar 2 ^ Bipolaar ^ | ||
| - | | 1 | 1 | + toide | + toide | | | ||
| - | | 2 | 2 | + toide | + toide | | | ||
| - | | 3 | 1a | PE0 | PE4 | PB0 | | ||
| - | | 4 | 2a | PE1 | PE5 | PB1 | | ||
| - | | 5 | 1b | PE2 | PE6 | PB2 | | ||
| - | | 6 | 2b | PE3 | PE7 | PB3 | | ||
| - | |||
| - | |||
| - | [{{: | ||
| - | |||
| - | [{{: | ||
| - | |||
| - | ==== Servomootor ==== | ||
| - | |||
| - | RC servomootorid ühendatakse Mootorite mooduli plaadi pistikutesse PWM1 ja PWM2. Mootorid ühendatakse nii, et signaali juhe (tavaliselt kollane või valge) jääb viiku 1 (plaadi ääre pool). Sama-aegselt on võimalik kasutada kahte servomootorit. Mootorite juhtsignaalid on ühendatud otse kontrolleri taimerite väljundviikudega. | ||
| - | |||
| - | ^ AVR viik ^ Juhtsignaal ^ | ||
| - | | PB5(OC1A) | PWM1 | | ||
| - | | PB6(OC1B) | PWM2 | | ||
| - | |||
| - | ===== Mootorite ühendused ===== | ||
| - | |||
| - | [{{: | ||
| - | |||
| - | ===== Mooduli ühendamine ===== | ||
| - | |||
| - | Mooduli ühendamisel on soovitatav järgida allolevat järjekorda ja kontrollerplaadi toitepistik ühendada alati kõige viimasena. | ||
| - | |||
| - | - Ühendada Mootorite mooduli plaat Kontrollermooduli plaadiga, kasutades ribakaablit. | ||
| - | - Ühendada mootor(id). | ||
| - | - Ühendada Mootorite mooduli plaat toitekaabliga. | ||
| - | - Ühendada Kontrollermooduli toide. | ||
| - | |||
| - | [{{: | ||
| - | [{{: | ||