Back to Raspberry PlugITs content page

"GPIO motor driver" PlugIT

The GPIO motor driver PlugIT allows you to control an L298N-based board to control the direction and speed of two motors.

 

Parameters

1

Number of the Raspberry PI GPIO pin connected to pin 1 on the card.

2

Number of the Raspberry PI GPIO pin connected to pin 2 on the card.

3

Number of the Raspberry PI GPIO pin connected to pin 3 on the card.

4

Number of the Raspberry PI GPIO pin connected to pin 4 on the card.

5

Sets the speed and the initial direction of motor 1 between -100 and 100.

6

Sets the speed and the initial direction of motor 2 between -100 and 100.


 

Actions

Set motor 1 speed

Sets the speed and direction of motor 1 according to the value passed in link parameter (between -100 and 100).

Set motor 2 speed

Sets the speed and direction of motor 2 according to the value passed in link parameter (between -100 and 100).