I’m trying to control a motor that runs at 1.5v at ~0.5A using a Particle Photon. I’m powering the Photon over USB (for now, at least) and the motor with a AA battery. I’ve tried designs based off this schematic (modified to power the motor with the battery) but ended up with unacceptable noise in a separate circuit connected to the Photon. I’ve also tried this design without success. I’m a total noob at this stuff so any help would be appreciated.
I have an inexhaustible supply of resistors, a variety pack of transistors and diodes, some small capacitors, and PC817 optocouplers at my disposal (along with some other misc. components).