K243 high power dc speed controller , trouble

well, i bought a couple of speed controllers a year or 2 ago ( same ones oddbot's Boozebot used )

http://secure.oatleyelectronics.com//product_info.php?cPath=94&products_id=206&osCsid=97e420b

and i had them working with the 10k trimpot, but when trying to control them with arduino it wont work 

mysetup: 9v battery to +,- on the screw terminals , arduino pin to sig, motors attached correctly , and secondary power supply on mtr+,gnd

any suggestions?

update: 

i got it working, partly my setup was wrong and partly my arduino coding was off , and oddbots tip worked

 thanks :)

S5000742.jpg

thats how they go on the board :P

 

 

Did you connect the ground
Did you connect the ground of the Arduino to the ground of the board?

yep
yep i did, nothin, the intsructions say to link terminals a and c , so i do that. but if i connect power to the board while a and c are linked the motor runs on its own

**ok, **
do i still, provide 8v as i would with the pot?

K243 motor controller with arduino

Thanks dimble swishblade!!!

 

Now I know where to solder the 4 MOSFET’s finally!!! :) 

 

But where do I connect the main supply? MTR+ and GND?? Screw the wires?

 

How about the positive and negative wires of my DC motor? Where do I connect it on the board?

 

Thanks So much dimble swishblade…

@ ferari

2) i have no yellow cap only to greens so im not to sure?

3) im setting mine up again , but i think  the motors wires got to mtr1, mtr2 , ill just check that .

yep

motor wires go to mtr1, mtr2 , good luck, hope it helped 

i had

trouble getting it working with arduino ,so ill try and find my code to help u :slight_smile:

Arduino Control

 

It will be of great help If I can see your code :slight_smile: Actually, I will control it also using my arduino, did you manage to control the speed and direction?

How did you do the braking of the motor? 

 

Thanks,

motor wires

 

Thanks dimble :slight_smile:

SCREW CONNECTORS

So I will connect my battery to MTR+ ( positive wire) and GND ( negative wire) is that correct?

How about the MTR1 and MTR2? Are these terminals positive or it changes? Where will I connect the positive wire of my DC motor? Where will I hook up the negative side of my DC motor?..

 

Hope for your reply

Regards

 

Thanks

 

**sorry **

sorry i wasnt clear, i think the motor connects to mtr1 and mtr 2, it doesn’t matter which way.

as i say, im not quite sure its been along time since i used this , u should check ur instructions just to be sure . :slight_smile:

 

 

ok

i cant find my code , but what u need to do is, ( assuming u have some experience with arduino) 

1. set up motor drive acording to RC control, so have terminals A andC linked, ground of the board linked to adruino’s ground , and terminal SIG connected to an arduino output pin .

(once again check ur instructions, i may be wrong)

2. write a simple arduino code useing the AnalogWrite command look at this page ://www.arduino.cc/en/Tutorial/PWM

your code should be sending out a 50 % signal ( analogWrite(127) )

3. run this program and using the pots on the board ( vr1 vr2) adjust these until the motor idles.

U have now successfully  centered the motor ,

4. write a new code, using different values of analogWrite , use smaller or bigger numbers ie ( 100, or 200) 

u can now control ur motor :) 

ok

 

Thanks dimble:)

I wired my motor to mtr1 and mtr2 and the 24 volt power supply to GND and MTR+…  I tried to connect everything without the 1-2ms input attached in the SIG and GND and my motor didn’t work…

Maybe it needs the 1-2ms input to make the motor run? to open up the MOSFET gates?

 

Hope for your usual support,

ferari :slight_smile:

 

yep

i would think so, signal and ground are the power supply to the board ,without it it does not run

have you set it up to work of a 10k pot yet? if so i would try this.

if u have ,then for testing with arduino i would use a small 10-12v motor and maybe a 10v power supply,  just in case u set it up wrong , and blow the board or arduino :stuck_out_tongue:

yep

 

Thanks dimble :slight_smile:

I haven’t set up the 10K pot yet… I will try it and update you

I will use 12 volts then for the motor…

Have you had success in using the analogwrite comand in arduino in controling the speed and direction of the motor?.. :slight_smile:

 

Hope for your usual support

Regards,

ferari

yep

with the analog write command i have had success ,

as i said use a 50% signal, then centre the motor , now u can control the speed 

ie if u use a 25% signal the motor will go at half speed one way, and if u use 75% signal it will go at half speed the other way

and 50% should be centre .

yep

 

Thanks a lot dimble, I really appreciated it… I will update you of any movements :slight_smile:

Thanks so much

ferari

Yep

 

 Hello Dimble,

I have yet to try your code… 

just being curious, why didn’t you use servo codes? http://www.arduino.cc/en/Reference/Servo  or is it recommended to use analog?

 

Thanks

ferari

um

i dont know , i just tried it that way , but servo commands would work as well

um

Thanks Dimble :slight_smile:

For the 10kohm potentiometer, I will connect  the pin 1( Left most pin of potentiometer) to B , pin 2 ( middle pin of potentiometer) to C, and pin 3 to D right? Then I will check first if the board works fine…

and If everything is fine then I will start to input the 1-2ms from my arduino :) 

 

Regards,

ferari