Recommend hardware components

I am trying to control 4 DC motors from my particle photon PWM pins and would like some hardware suggestions as I am no electronics expert.

Currently I have 4x8520 motors with a 160ma max current when unloaded. But cannot figure out which diode (to go across the motor pins), resistor (between PWM pin and transistor base) and transistor I should use.

My current best guess is a 1k resistor, TIP35C transistor and a 1N4001 diode. I will be using a 3.7V LiPoly 600mAh battery.

Are these acceptable to drive these motors?

You can use an L298 dual H-Bridge motor driver. You can control 4 DC motors with it and interfacing it with a micro-controller like photon is simple enough with just couple of control output lines going into the motor driver. It comes with a heat sink and separate power supply as well. Here are few links to get you going

L298 Dual H-Bridge Motor Driver

Tutorial Using L298 motor driver with Photon

2 Likes

Thanks for the info. Looking at that board, I don’t really have enough space for it on my project. Using the transistor/resistor/diode approach I can fit things in nicely.

My concern is that I have not chosen the relevant components.