Gear motor (with encoder) not running when connected to Romeo V2.2 Leonardo

Hello,

Beginner here. I am trying to build a 4WD robot (4WD Outdoor Mobile Platform for Arduino - DFRobot) using the Romeo V2.2 Leonardo board. I was trying to test just one of the gear motors by connecting it to the board and power supply to the board as seen in image below (with only one motor):

The motor works fine when connecting power directly to the terminals, but once connected to the board, it does not run. Can someone explain why this might be happening? I have the appropriate power supply (12 V for the motor so using three 18650 Li-ion batteries). Is the board preventing power from being supplied to the motor? Is it a problem with the arduino code I am using?

Please help!! Thank you!

Aha, You're using code. Don't You think posting the code could be of some use?
As I don't have that board to look at it's hard to tell about the connections. Link to the datasheet please.

Are the motors getting 5V or 12V from the board? Perhaps 5V is not enough?

The specs of the board mentions something about separating the system power from the power to the motors via a switch. which leads me to thinking the motors might need their own power supply when chosen to do so?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.