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. Comes with cables to connect it to a digitizer and with a cable to connect it to a power supply that can deliver the voltage and amperage that is required for the motors you want to use.
- Create a little robot by mounting a pair of motors with wheels on a platform and control it with a joystick.
||1.0 (January 2020)|
||5 - 35 V DC|
||? MHz (max)|
|Driving output connector
||two 2-position screw terminal blocks|
||3.2 - 40 V DC, 36 mA max|
|Control input connector
||6 male pins in a row spaced 2.54 mm (0.100 inch)|
||5 - 35 V DC, 2 A|
|Power supply connector
||one 3-position screw terminal block|
||? to ? ºC (? to ? ºF)|
||44 x 44 x 29 mm (1.7 x 1.7 x 1.1 inch)|
||four 3 mm (0.12 inch) mounting holes spaced apart 37 mm (1.5 inch) width-wise and length-wise
||control inputs: 15 cm (5.9 inch), unshielded; power supply input: 25 cm (10 inch), unshielded, red wire = power, black wire = ground|
||control inputs: 6 male 1x1 plugs with 1 pin in a housing 2.54 mm (0.100 inch) wide; power supply input: female barrel plug 2.1 mm (inner diameter) x 5.5 mm (outer diameter) x 9.5 mm barrel plug with center positive|
||39 g (1.4 oz), incl. cables|
- Can be used directly with the WiDig or USB-microDig actuator outputs (ie. the top row of the connector for sensors and actuators).
- For identification of the various pins and terminals, see the picture below.
- Use the included power cable to connect the Drive-L298N to a 12 V power supply like the GlobalAdapter-1201 or a GlobalAdapter-1210, or connect it to a 5 V power supply like the USBmicroB-GlobalAdapter, or your own power supply, depending on the voltage and amperage that is required for the motors you want to use.
- See pictures below for example wiring diagrams (left: USB-microDig, right: WiDig). Use the header wires to connect it to a the actuator outputs of digitizer. Use the barrel jack cable to connect a 5V power supply. If 12V motors are used, connect the power to the screw terminal on the other side of the ground terminal. 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 again 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.
- Use an AdaptCableKit and/or HackPlugs to combine sensor and actuator wires.