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.

TB6612FNG shield

So far so good, but now I couldn't find any information anywhere what pins I need attaching to in the code, to make the motors attached to MA and MB on the board actually work. The only option was to just test the connection through with my multimeter, only to find out that the board actually needs to be powered to be able to ping through.

Finally I was able to figure out that the two connectors were attached to pins 3 and 5. So I tested with the simplest possible code:
	int motorPin1 = 3;
	int motorPin2 = 5;

	void setup() 
	{

	}

	void loop() 
	{
		digitalWrite(motorPin1, HIGH);
		digitalWrite(motorPin2, HIGH);
	}

Lo and behold, the monster was alive!