I need help identifying the function of the 4 wires(for school project) and the voltage the motor needs
Thanks for your help!
Red = Motor voltage, probably 12V (or maybe 13.8V)?
Black = GND
White = PWM
Yellow = tachometer output
I tried supplying it with 12v 1a and it worked but very weak. Should i change it to 12v 2a cause the lietroux roomba use 28w
Yes.
Don't use a solderless breadboard for high current connections.
The motor should run a full speed with nothing connected to the PWM input.
When I tried with 12v, the motor only ran when I gave it 5V pwm but its suction power was weak. I switched to 14.8V, and I can't get it to work with or without the 5V pwm.



