Hey! Just bought me two motors, that I couldn't figure out how to connect to my arduino UNO.
Was sure they came with + and -, so I bought a L298n H-bridge.
This is how it looks:
From top to bottom:
M1, GND, C1, C2, 3.3v, M2
Hey! Just bought me two motors, that I couldn't figure out how to connect to my arduino UNO.
Was sure they came with + and -, so I bought a L298n H-bridge.
This is how it looks:
You have a motor with encoder, so you have more than two connections. You should look at the technical specs to be sure, but probably M1 and M2 are for the motor, positive and negative can be changed to reverse rotation. These must be connected to your motor driver.
The other connections are for the encoder. GND and 3.3 for power supply negative and positive and C1 and C2 for signal output. These can be used to measure rotation of the motor, you would have to check the specs or test how many impulses per complete rotation. If you do not need this just ignore the connections and use only M1 and M2.