Robot not moving continues by order

Hi,

i have one problem that the robot not continue in moving such as forward command or backward, may you advice please.

The forward and reverse motion you see is the default code loaded onto the rover for testing. If you want to change the code, simple upload a new sketch via the Arduino IDE.

Hi Coleman,

I mean in my question that if you give forward order the robot moving only (25-30 cm) approximately; then stopped automatically, i need when i give forward or reverse orders the robot should moving till i give (stop) command. ?. like in video by carlitos.

This is just a mater of adjusting the code. The sample W,A,S,D code provided in the manual has the robot move in a given direction until another command is received, which sounds like what you want.

Hi,

Written in user manual, point 10, page 25, (in the serial window you can type W,A,S,D (And any other key to stop) to move the rover)… ( Where i have to type, and how can i do it ?) sorry ! i don’t understand.

If you upload the sample WASD code, pressing W will have the robot move forward, S for reverse, A for left and D for right. Pressing any other key on the keyboard will stop the motion.
This is done either in the Arduino serial terminal (though you need to press enter after every key) or a serial interface like Hyperterminal.

I am using Xbee Interface, dear the robot working fine, but when i send forward command the robot moving and stopped automatically, all what i need that when i say forward the robot should moving till stop command…

Thanks a a lot for all support, and really im happy dealing with Robotshop…

The WASD code should have the robot moving until a button is pressed, so likely one of the following is happening:

  • It’s receiving a command somehow (either you pressed it manually or there is interference)
  • The code was changed (the default code does as you want… so it’s just a question of what changed?)

Actually the only changed is the EasyVR Shield, and i changed the pin numbers instead of 11 & 12, it is 12 & 13… that is it… maybe the power is not enough ? i am using 9V Battery…

Ah yes, that code specifically has the robot move and then stop - this was done in case the next command was not properly received, so the robot would not continue indefinitely.
Take a look at the WASD sample code in the DFRobotShop Rover User Guide to see what the code should look like, and then modify the voice recognition code on the rover accordingly.
You’ll likely see a delay command which then links to a “stop” command.

CBenson is right.I do agree with him.


iPhone 6 Plus case
buy cheap phone accessories