This is a dual motor controller module based on the L298N chip. Accepts and drives 5-35V / max 2A (max 25W) DC motors, with forward and reverse control. Use a voltage supply that's 2V higher than the voltage rating of the motor.
Use 2 AdaptCableKit and 2 extra header wires to connect it to a USB-microDig or WiDig and a GlobalAdapter-0901, a GlobalAdapter-1201 or your own power supply, depending on the motors you want to use. To control the motors, use a Push3D sensor, as per below image, or 2 Push sensors. When using the Push3D, run EditorX and configure the USB-microDig or WiDig with these settings (you may need to re-turn-on inputs 3 and 6). Make sure that the I-O mapping for inputs 1 and 4 is set to continuous. With the Push3D, when moving up/down one motor will run forward/backward at a speed controlled by how far the joystick is moved and the other motor is controlled by moving the joystick left/right, while leaving the joystick at rest in the middle will result in both motors stopped. As a final touch, use the Lookup table function (in the Conversion menu in EditorX) for inputs 1 and 4 to create a control function that matches your needs.
|