I'm now trying to wire the whole thign to my Arduino Uno, but I can't get it to work. Does anyone know a way I could wire this ONLY using wires and a breadboard? BTW the motor requires a tiny amount of voltage to run, so it runs when plugged into the Arduino.
BTW the motor requires a tiny amount of voltage to run, so it runs when plugged into the Arduino.
What's the current rating on the motor? The Arduino I/O pins are rated for 40mA (0.04A) "absolute maximum". Any more than that and you are over-stressing the Arduino. And, make sure to add a reverse diode across the motor to kill the high voltage [u]back-EMF[/u] when the motor shuts off.
I'm not sure what rating it is but the motor runs fine off a AAA battery. Also, I'm trying not to use anything besides wires, the arduino, the motor, and the sensor because I don't want to spend more money on it, as this is just a prototype, so is there any way to wire it just with wires?