Arduino Sketch Considerations: The Arduino code sketch is pretty straightforward. Since there isn’t a library for the L298N Dual H-Bridge Motor Controller you just have to declare which pins the controller is hooked to. The “int dir(number)Pin(letter)”‘ pins can be connected to any available digital pin you have available, as long as you declare the correct pin in your sketch. This makes the L298N Dual H-Bridge Motor Controller very versatile if your project is using a lot of Arduino pins. The int“speeding(letter)” pins need to be connected to a PWM pin on the Arduino if you want to enable speed control through PWM. As a quick cheat I have included a list of PWM pins for the main two types of Arduino’s I use: AT MEGA – PWM: 2 to 13 and 44 to 46. Provide 8-bit PWM output with the analogWrite() function. UNO – PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function. Note: Built-in 5v power supply, when the driving voltage is 7v-35v Features: Current Sense for each motor. Heatsink for better performance. Power-On LED indicator. Drives up to 4 motors. Package Includes: 1 x L298N Based Motor Driver Module – 2A (Standard Quality)
We want you to be happy with your purchase and we apologize if it is not. For whatever reason that you are not satisfied, we would be most happy to provide exchanges and returns for all items purchased from us if the following conditions are met.
Rules
All exchanges and returns would need to be raised within 10 days of the invoice date for Singaporeorders, and 20 days for overseas orders. For local deliveries, there is an option to exchange at any of our boutiques within Singaporeor through our online portal at www.vicentedediego.es. All requests for returns however, would need to be strictly made online at www.vicentedediego.es for both local and overseas deliveries.
Interpretation and Definitions
All exchanges and returns would need to be raised within 10 days of the invoice date for Singaporeorders, and 20 days for overseas orders. For local deliveries, there is an option to exchange at any of our boutiques within Singaporeor through our online portal at www.vicentedediego.es. All requests for returns however, would need to be strictly made online at www.vicentedediego.es for both local and overseas deliveries.