Controlling Rover

Hi all,
I am planning on building an arduino controlled wheeled rover. I would like to initially control it by utilising the USB cable, is this possible? I want to be able to use the arrow keys to control the movement, would I need software to do this, what software would I need?
Thanks

You can run it tethered to the PC via the cable, but you will be limited in movement. It should be ok for testing and debugging. However you can't power the robot or the motors from the usb though. The bot will need separate power. You can easily replace the usb cable with an HC05 or HC06 bluetooth module on the arduino Tx and Rx pins. You will need bluetooth on your PC though.

For communicating to the robot, you will need to write code in something like Java, Javascript (nodejs), the processing IDE or python. From this app you write in one of these languages, you will use the serial port library they provide to talk to the bot. In any of those languages you can write an interface to get keys and sent them as commands to the robot. It will take some study time and code. There are many examples floating around the internet you may be able to start with. Search on sites like https://www.hackster.io and http://www.instructables.com/. You will find many examples there or from the good giving god google.

Would it be easier to just get a Bluetooth module then?

Dom1961:
Would it be easier to just get a Bluetooth module then?

I would. The default baud rate for those BT modules is 9600 baud. That should be more than fast enough for simple commands. Remember that you reverse the wires, with the BT Rx going to the Arduino Tx and the Arduino Rx going to the BT Tx.

Okay, thanks, If I did use Bluetooth, could you show me a sample if how I would program it? If I use a phone app, how do I code like forward arrow =forward etc...

Until the dog got it and ate the rubber tracks, I had a robot which I controlled with 2x Wixels, which is essentially wireless usb. One was on a cable plugged into laptop usb, the other stuck on the Uno on the robot, wired through soft serial.

If my memory serves, I was using a serial terminal like Putty to send a 2, 4, 6 or 8 (arrow keys) for control.

Then in another generation I had some python code receiving input from the Wixel/usb which was the distance to an obstacle using an ultrasonic senor. Had a snazzy graphic of the robot and the wall...

Dom1961:
Okay, thanks, If I did use Bluetooth, could you show me a sample if how I would program it? If I use a phone app, how do I code like forward arrow =forward etc...

Have a look at this project: Boom and Gripper bot - Hackster.io

I have a phone and Python gui option. The Arduino is using the BT module as I described.

Would this be suitable? http://www.amazon.co.uk/gp/aw/d/B0093XAV4U/ref=mp_s_a_1_1?qid=1456167935&sr=8-1&pi=SY200_QL40&keywords=bluetooth+module&dpPl=1&dpID=41P7LxGt17L&ref=plSrch

Yes, that appears to be an HC06.