Hello Guys, first up the problem i am having is that i can't figure out how to control a servo motor the i recently got which was salvaged from a big CNC machine. Now i would like to use it in a rover project. There are two power wires red and black whereas i have 4 other wires. one of them was black while i have three others red green and white. I could not find a datasheet for the motors so i wanted to figure it out myself. I opened up the encoder covering to find out that all four wires were coming from there and after a bit of research i got to know that it was vcc, gnd, chA, chB. I need help on how do i control the speed of the motor using arduino.
The encoder is undoubtedly a quadrature encoder and should be easy to interface with Arduino. Google "arduino quadrature encoder" for lots of info.
To control that 24V motor, (from the looks of it) you will need a beefy power supply and motor driver. The driver should be able to handle the stall current, which is the motor supply voltage divided by the winding resistance. Measure the latter with a multimeter.
First i planned to use TIP120 NPN Transistors then when i built my circuit on my breadboard it just released smoke and did nothing else. Please guide me on what MOSFET or transistor to use so that i should be a able to control the motor speed. I have googled alot and come to a result that i have to use Power MOSFET but i can't figure out which one to buy.
I have a 12 2AH Lead Acid battery and a 24v dc motor with a rating of 100W
If you only want to go one direction and the motor current ? is low enough, that transistor has a fairly high Rds (50 mOhms) so it won't take much current to overheat it.
haris0097:
MOSFET i found was STP36NF06L N Channel. Can i use it to control the speed of this motor
You will find that only being able to drive the motor in one direction is a bit limiting
haris0097:
MOSFET i found was STP36NF06L N Channel. Can i use it to control the speed of this motor
Have you measured the winding resistance and calculated the stall current? Do that first,
then worry about choosing components, or you'll choose the wrong components.