I’m working on my own take of an automatic fish feeder for my aquarium. Most of it is pretty straight forward (for me). LEDs, a piezo, RTC, etc.
However, I’m going to be using 3 stepper motors (28-BYJ48 with ULN2003 stepper module) and a 5V DC vibration motor from a broken video game controller. Other specs on the DC motor are unknown to me as it has no numbers on it anywhere other than “5V DC”.
These will be powered via a 5V regulator (EDIT: buck converter, not regulator) that will be fed by a 12V 3A wall-wart. At no time will any 2 or more motors be running.
Thus, to save pin space, all three stepper modules will share the same 4 digital pins. I’ll be using FQP30N06L mosfets to switch each module and the vibration motor on/off as each one is needed. I thought about using 2N2222A transistors. But from further reading, it seems to me a mosfet is better suited for the task. I know the FQP30N06L is overkill. But I have about 20 on hand not being used.
I’m thinking that covers most of the needed information. If not, just ask. Below is a diagram of how I “think” this should be wired up. I’m open to suggestions if something is completely wrong. Also, at this time, I’m not sure which diodes would be best. So, any and all advice is welcomed.
PS. The circles labeled “5V STEPPER” should be the stepper modules. And I’m thinking they shouldn’t need a diode?