Skip to main content
9 events
when toggle format what by license comment
Nov 16, 2015 at 6:31 vote accept cybergla
Nov 14, 2015 at 22:48 comment added Bay Remove 10k resistor and use 1k instead. Or, just connect directly to Analog A0 pin. And modify your code. This may help you. Also consider GND to be 0V. Not below 1V instead while motor is working.
Nov 14, 2015 at 17:30 comment added Chris Stratton First make sure that your motor has its own run back to ground - you must avoid motor current passing through the Arduino's ground. Next, filtering your PWM is a bad idea - at a minimum it is inefficient. You do not want to have your transistor "part way on" as that leads to conversion of power to heat in the transistor. Instead, you want the transistor to only ever be fully on or off, applying full voltage to the motor at variable duty cycle. The inductance of the motor will cause some limitation of current, but the mechanical inertia of the rotor will accomplish the rest of the averaging.
Nov 13, 2015 at 18:51 answer added James Waldby - jwpat7 timeline score: 0
Nov 13, 2015 at 14:11 comment added Gerben What is that capacitor doing there? Slow start?
Nov 13, 2015 at 11:51 comment added CharlieHanson And a flyback diode across the terminals, too - every little helps. On a different note, you are using a resistor with that LED, yes? I'll overlook the fact that it's the wrong way round in the schematic!
Nov 13, 2015 at 10:22 comment added Ikbel try to add a 100nF ceramic capacitor between the motor terminals.
Nov 13, 2015 at 6:01 review First posts
Dec 13, 2015 at 5:58
Nov 13, 2015 at 5:57 history asked cybergla CC BY-SA 3.0