Hello, I have the Arduino-based mBot kit and am attempting to add additional DC motors for increased functionality. I also bought the Servo kit, which included an RJ25 adapter that I was able to successfully use to connect and control a servo motor. However now that I’m trying to connect a DC motor, I have some questions regarding my implementation.
I plugged in the RJ25 adapter into Port 1 of the mBot, and plugged the DC motor into S2 and GND on the adapter. This allows me to control the motor by setting digital pin 12 to HIGH and LOW. So far this setup seems to work, and I am able to use mBlock to activate the motor with a button press. However I am also aware that Arduino pins are used for logic, not power delivery, and am worried that I might accidentally fry the Arduino board with this setup. Is this a valid concern? If so, how can I connect the DC motor to the mBot considering that the specialized adapter (ME Dual DC Motor Driver) is no longer being manufactured or sold?
For more context, I am using a 3-6v motor for testing, and plan to use a 3v motor in the final build. The mBot is powered by the included AA battery holder, which is 6v (4 x 1.5v AA batteries).