Forum >Cherokey 4WD Platform with Ardunio Mega Issue
Cherokey 4WD Platform with Ardunio Mega Issue

We finally got our Cherokey 4WD platform together and connected to an Arduino Mega. We have tried the sample program described on the wiki page but are unable to get the motors to turn on. Here is what we know:
1) We have the following connections to the Arduino PWM strip: M1_EN=>4, , M2_EN=>7
2) Included extra print statements in the code to test each command. The code is being executed properly when pressing the w,s,a,d,x,z keys
3) When you press the w (forward) or s (backward) key the LEDs on the corners light up bright. Press the a or d (turn) keys and the LEDs light but are about half as bright. Press s or x and the LEDs turn off.
4) If you connect 5v and gnd directly to a motor connection block both motors on that side turn.
5) I hook up an oscilliscope (barely know what I'm doing with it) but was able to see a square wave signal on M1_PWM=>5 or M2_PWM=>6 when pressing the a or d keys.
Any ideas for things to test/try to get it working?
1) We have the following connections to the Arduino PWM strip: M1_EN=>4, , M2_EN=>7
2) Included extra print statements in the code to test each command. The code is being executed properly when pressing the w,s,a,d,x,z keys
3) When you press the w (forward) or s (backward) key the LEDs on the corners light up bright. Press the a or d (turn) keys and the LEDs light but are about half as bright. Press s or x and the LEDs turn off.
4) If you connect 5v and gnd directly to a motor connection block both motors on that side turn.
5) I hook up an oscilliscope (barely know what I'm doing with it) but was able to see a square wave signal on M1_PWM=>5 or M2_PWM=>6 when pressing the a or d keys.
Any ideas for things to test/try to get it working?
2013-07-29 19:01:13 [quote="nahidalam"]
btslaser,
how you are pressing the w, x, ...keys?
[/quote]
@ nahidalam
Download the sample code in the wiki page, and input"w"or"s".......in the Arduino serial,then send. The Cherokey will do what it should be.
Best
Phoebe
btslaser,
how you are pressing the w, x, ...keys?
[/quote]
@ nahidalam
Download the sample code in the wiki page, and input"w"or"s".......in the Arduino serial,then send. The Cherokey will do what it should be.
Best

2013-06-06 22:33:42 Great!
I usually distinguish this easily when the motors make a little grinding sound, this usually means that the code is using low power, or the batteries are dead.
Jose
I usually distinguish this easily when the motors make a little grinding sound, this usually means that the code is using low power, or the batteries are dead.

2013-06-06 18:06:20 It was a power issue! One of the batteries was very low... replaced it and everything worked. Thank you!
btslaser

2013-06-05 19:55:17 Hi~
This is very well explained, I am guessing power issue.. but not entirely certain.. Maybe Master Phoebe can lend us some wisdom ;D
Try it with an external battery, and paste the code just in case something is missing
Best
Jose
This is very well explained, I am guessing power issue.. but not entirely certain.. Maybe Master Phoebe can lend us some wisdom ;D
Try it with an external battery, and paste the code just in case something is missing
Best
