I can't find how to do the wiring. I've tried but even though there's almost 11v going in, only 0,2v go out. I'm using that A1 A2 output...,pins 11,3 and 4 are connected to ENA,A1 and A2...also a GND to a GND on the arduino sensor shield
I'm trying to control a dc motor...it works fine with one 3.7v battery. The site doesn't say muc and I couldn't find anything on google =/ I just need to increase de voltage at the output...maybe I could use another battery between the motor driver's output and the dc motor. Can I do this?
Looks like two L298's - at least all the I/O is labelled - has a splitter for 4 servos
and 5V and 3.3V out.
I think you'll need to provide a minimum of 5V for the motor supply - 3.7V won't be enough
(you'd get almost nothing out too, the output stages can lose upto 2.5V due to it using
darlington output stages)
If your problem is how to make the driver module drive the motor I suggest you write the shortest possible program that does that and nothing else.
No messages to be received and no buff to be figured out.
Maybe just put the code from one of your motor functions into setup() and leave loop() empty.
Having said that I don't see anything obviously wrong with your code, but I am not familiar with your driver module.
Also, you have not told us what is written on the chips - you should get the datasheet for whatever chip it is and study it carefully - and provide a link to the datasheet here.
Those are a 5V and 3.3V linear regulator respectively.
You need to enable the enable pins with an L298 before anything happens, so be sure to
drive those as will as the other inputs. For example drive ENA HIGH, then drive A1 HIGH and A2
LOW, and you should see a motor connected to the A connector run. Switchover A1 and A2 for
the other direction.
Its a dual L298 shield I'm pretty certain - go read the L298 datasheet about
the enable and direction inputs so you understand how to work its signals.
Often such shields have a jumper that configures whether the logic supply
for the L298's comes from the Arduino 5V or is derived from the motor supply
locally. If you don't have the motor supply attached and are deriving L298 logic
supply from the Arduino it will overload the chip by trying to power the motor
directly from the Arduino 5V - so make sure you don't try and drive the motor
with its supply disconnected.