The HW-130 is a great foundation for many DIY robotics and automation projects.
The best way to answer "which datasheet is better" is to see the shield in action. This section details how to set up and program the HW-130 for a standard robot car project, based on proven community knowledge.
The following are the technical specifications of the HW-130 Motor Control Shield: hw 130 motor control shield for arduino datasheet better
Powers the Arduino and motors separately (highly recommended to prevent noise or brownouts). Reserved Pins:
9V batteries have very high internal resistance and low capacity. They cannot supply the current spikes motors need, leading to poor performance and fast battery drain. The HW-130 is a great foundation for many
Here’s the simplest Arduino sketch to control two motors with the HW-130.
#include <AFMotor.h>
Proper powering is critical to avoid damaging your Arduino or the shield:
Proper power management is critical for a reliable and safe project. The following are the technical specifications of the
switch(command) case 'F': // Forward motor1.run(FORWARD); motor2.run(FORWARD); break; case 'B': // Backward motor1.run(BACKWARD); motor2.run(BACKWARD); break; case 'L': // Turn Left motor1.run(BACKWARD); motor2.run(FORWARD); break; case 'R': // Turn Right motor1.run(FORWARD); motor2.run(BACKWARD); break; case 'S': // Stop motor1.run(RELEASE); motor2.run(RELEASE); break; default: // Stop all motors if an unknown command is received motor1.run(RELEASE); motor2.run(RELEASE); break;