No. It's a DC brushed motor, not a unipolar brushless motor. You'd have to do some significant hacking to get it to work properly. Per motor, the SN754410 is cheaper than your proposed IC, anyways - it can drive two motors, whereas the LB1663 can only drive one, and its only a dollar more expensive.
both off = stop
one on one off = foward
one off one on = reverse
NEVER BOTH ON THOUGH
some small caps (after the fet before the motor) and just change the duration of the pulses and you have a nice simple motor controller.
I have used this setup many many times.
Use 360 Continuous Servo is a great ideia.
With this code:
// Controlling a servo position using a potentiometer (variable resistor)
// by Michal Rinott <http://people.interaction-ivrea.it/m.rinott>
#include <Servo.h>
Servo myservo; // create servo object to control a servo
int potpin = 0; // analog pin used to connect the potentiometer
int val; // variable to read the value from the analog pin
void setup()
{
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop()
{
myservo.write(val); // sets the servo position according to the scaled value
delay(15); // waits for the servo to get there
}
My new question is...
If val is 90, the continuos servo is stopped
If val is 0, it rotates in a direction at maximum
If val is 180, it rotates in another direction at maximum
?
both off = stop
one on one off = foward
one off one on = reverse
NEVER BOTH ON THOUGH
some small caps (after the fet before the motor) and just change the duration of the pulses and you have a nice simple motor controller.
I have used this setup many many times.
what I mean by pulse is this
digitalWrite(pin, HIGH);
delay(time);
digitalWrite(pin, LOW);
delay(time);
if you just want simple foward/reverse with no power control. forget the caps and the code.
$3 (usd) solution and it is easy.
I was thinking about MOSFET
But making this way, I would not have a short cut?
Oh, first you need 2 free digital pins. then connect one of the gates of the Mosfet to a digital pin, then the other one. now connect the source of the MOSFETS to Ground. and connect the drain to diffrent sides of the motor. put a 100k ohm resistor in between the gate and source (one per fet, this keeps it off when it should be) and connect +Vcc (how ever many volts) to both sides of the motor.
when you set one of the mosfet pins HIGH that "GATE" will activate and let current pass through set it low again and it will stop letting current through.
Oh, first you need 2 free digital pins. then connect one of the gates of the Mosfet to a digital pin, then the other one. now connect the source of the MOSFETS to Ground. and connect the drain to diffrent sides of the motor. put a 100k ohm resistor in between the gate and source (one per fet, this keeps it off when it should be) and connect +Vcc (how ever many volts) to both sides of the motor.
You got a link to a schematic of this? Sounds like a dead short setup.
I fail to see how a discrete-component H-bridge is any simpler than the SN754410 IC (which is essentially two complete H-bridges) I suggested earlier. Also, the schematic posted needs flyback diodes to be considered complete - MOSFET's don't like back-EMF much either.