Thanks a lot for the reference... It would be great if anyone is familiar with this particular motor, I can't identify those three pins even thou I have the datasheet, so I can't connect them to control speed and direction.
Yes, I noticed that. So I tried to connect the positive to Vin and the negative to ground. Signal went to either an analog pin or a PWM, but the motor doesn't respond at all.
Also tried connecting negative to ground and positive to analog/PWM, but that only gives 5V max so no response there either...
Which H-bridge? How is it connected exactly (please post circuit diagram)? What voltages do you measure on input/output sides and on the signal and other control pins?
wvmarle:
Which H-bridge? How is it connected exactly (please post circuit diagram)? What voltages do you measure on input/output sides and on the signal and other control pins?
L298N... I connect the positive and negative of the motor on out3 and 4... IN3 and 4 went to D7 and D8 of an arduino nano. ENB went to D6.
+12V and ground on the L298N connected to 4 AA batteries.
I left the signal port disconnected since theoretically it only counts the rotations... This way I think the motor should run like a regular DC. But I tried it anyway without any result.
TomGeorge:
Hi,
Did you google fischertechnik motor arduino
You should use a stronger power source, like the one of the Fischertechnik kits.
The L298 drops more than 2V, so that from 4 AA cells remain only 2,8V to 4V, what's not enough for the motor. Is your 9V supply strong enough for the motor?