This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:hardware:homelab:motor:v5 [2010/11/21 22:36] – raivo.sell | en:hardware:homelab:motor:v5 [2020/07/20 12:00] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| (Version 5) | (Version 5) | ||
| - | Motor module incorporates the motor driver board and different electrical motors. Motor board is designed to be compatible with the Controller module but can also successfully | + | Motor module incorporates the motor driver board and different electrical motors. Motor board is designed to be compatible with the Controller module but can be also used for other controllers as it is equipped with standard motor drivers. |
| Motor power supplies are separated from the control signals. | Motor power supplies are separated from the control signals. | ||
| - | {{: | + | {{: |
| It is possible to drive different types of motors with the module. | It is possible to drive different types of motors with the module. | ||
| Line 35: | Line 34: | ||
| * **DC motor ** | * **DC motor ** | ||
| * Micromotors L149.6.10 (with gear) {{: | * Micromotors L149.6.10 (with gear) {{: | ||
| - | * Micromotors L149.6.43 (with gear) {{: | ||
| * Micromotors LE149.6.43 (with gear + encoder) {{: | * Micromotors LE149.6.43 (with gear + encoder) {{: | ||
| * **RC servo motor** | * **RC servo motor** | ||
| - | * Robbe FS 100 {{: | ||
| * E Sky EK2-0501 {{: | * E Sky EK2-0501 {{: | ||
| - | * Futaba XT-S | ||
| - | * Hitec HS422 {{: | ||
| * **Unipolar stepper motor** | * **Unipolar stepper motor** | ||
| * Ming Jong ST35 {{: | * Ming Jong ST35 {{: | ||
| * **Bipolar stepper motor** | * **Bipolar stepper motor** | ||
| - | * Moons 42PM {{: | ||
| * Ming Jong ST28 {{: | * Ming Jong ST28 {{: | ||
| - | * **Piezo sound generator ** (optional) | ||
| [{{ : | [{{ : | ||
| - | ~~PB~~ | + | < |
| ===== Electrical connections ===== | ===== Electrical connections ===== | ||
| Motor module board is connected with Controller module 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. | Motor module board is connected with Controller module 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. | ||
| - | [{{ : | + | [{{ : |
| ==== DC motors ==== | ==== DC motors ==== | ||
| Line 62: | Line 55: | ||
| DC motors are connected to the connector group DC. Every pair can handle one motor - all together 4 DC motors. Motors are controlled with widely used H-bridges, L293D dual H-bridge driver is used for the DC motors. Motors can also be replaced by some other actuator which can be controlled digitally and if the current do not exceed 500 mA (piezo generator, relay etc.) | DC motors are connected to the connector group DC. Every pair can handle one motor - all together 4 DC motors. Motors are controlled with widely used H-bridges, L293D dual H-bridge driver is used for the DC motors. Motors can also be replaced by some other actuator which can be controlled digitally and if the current do not exceed 500 mA (piezo generator, relay etc.) | ||
| - | [{{ : | + | [{{ : |
| ^ AVR pin ^ Control signal ^ AVR pin ^ Control signal ^ | ^ AVR pin ^ Control signal ^ AVR pin ^ Control signal ^ | ||
| - | | PB4 | Motor 1 1A | PD6 | Motor 3 1A | | + | | PB4 | Motor 1 A | PD6 | Motor 3 A | |
| - | | PB7 | Motor 1 2A | PD7 | Motor 3 2A | | + | | PB7 | Motor 1 B | PD7 | Motor 3 B | |
| - | | PD0 | Motor 2 1A | PD4 | Motor 4 1A | | + | | PD0 | Motor 2 A | PD4 | Motor 4 A | |
| - | | PD1 | Motor 2 2A | PD5 | Motor 4 2A | | + | | PD1 | Motor 2 B | PD5 | Motor 4 B | |
| + | |||
| + | ==== Encoder ==== | ||
| + | |||
| + | ^ AVR pin ^ Control signal ^ | ||
| + | | PE6 | Encoder 1 | | ||
| + | | PE7 | Encoder 2 | | ||
| ==== Stepper motors ==== | ==== Stepper motors ==== | ||
| Line 79: | Line 79: | ||
| | 1 | 1 | + supply | + supply | | | | 1 | 1 | + supply | + supply | | | ||
| | 2 | 2 | + supply | + supply | | | | 2 | 2 | + supply | + supply | | | ||
| - | | 3 | 1a | PE0 | + | | 3 | 1A | PE0 |
| - | | 4 | 2a | PE1 | + | | 4 | 2A | PE1 |
| - | | 5 | 1b | + | | 5 | 1B |
| - | | 6 | 2b | + | | 6 | 2B |
| + | NB! Unipolar stepper 1 has parallel connection with encoders and UART. When using the encoders or UART1 unipolar stepper motor cannot be used on the same time. | ||
| [{{: | [{{: | ||
| - | [{{: | + | [{{ : |
| ==== Servo motor ==== | ==== Servo motor ==== | ||
| Line 93: | Line 94: | ||
| RC servo motors are connected to the connector //Servo// on the Motor board. Motors are connected so that the ground wire (usually black or brown) is on the pin GND (close to the edge of the board). | RC servo motors are connected to the connector //Servo// on the Motor board. Motors are connected so that the ground wire (usually black or brown) is on the pin GND (close to the edge of the board). | ||
| - | ^ AVR pin ^ Control signal ^ | + | ^ AVR pin ^ Control signal |
| - | | PB5(OC1A) | PWM1 | | + | | PB5(OC1A) | PWM1 |
| - | | PB6(OC1B) | PWM2 | | + | | PB6(OC1B) | PWM2 |
| - | + | ||
| - | ===== Connectors of the motors ===== | + | |
| - | [{{: | + | [{{: |