| my rAnd0m m1ndfl0w |
| #whoami $bl0g /script.s |
Using DC motors on Keyestudio TB6612FNG --------------------------------------- So this motor/servo drive shield Keyestudio TB6612FNG used in building a mechanical arm on one of these Chinese Arduino starter kits. As a total newbie with these I had the misfortune of buying another starter kit locally for my kids and didn't read the fine print on the box. So ended up with a somewhat of a car chassis and accessories but no controller board nor motor shield. Luckily I had the Keyestudio's robot arm kit, where the arm wasn't functioning properly (most likely due to insufficient power supply). So decided to make use of the controller and shield from this as it supposedly can also act as a motor shield.
int motorPin1 = 3;
int motorPin2 = 5;
void setup()
{
}
void loop()
{
digitalWrite(motorPin1, HIGH);
digitalWrite(motorPin2, HIGH);
}
Lo and behold, the monster was alive! |