Putting robotics at your service™

Free shipping on orders over $200

Can't get code to upload

Print view Share :
Previous topicNext topic

Page 1 of 1 [ 4 posts ]

Rookie ( offline )
Posts: 12
Posted: 2012-04-04 21:59 
 Post subject: Can't get code to upload
I just got my rover and have been trying to get code to upload I have installed the com port drivers, it sees it as an arduino mega adk for some strange reason, and tried updating ftdi drivers and it still won't up load code what do Ido?:confused:


User avatar
Expert ( offline )
Posts: 791
Posted: 2012-04-05 11:57 
The ID of the Rover had been initially set as Mega ADK but that has no incidence on how it is programmed. You will simply need to install the proper drivers located in the drivers folder in the Arduino software package.

In the Arduino IDE simply select Arduino Uno and the code should compile and upload fine.

_________________
Carlos Asmat
Lynxmotion

Imagine it. Build it. Control it.™
http://www.Lynxmotion.com


Rookie ( offline )
Posts: 12
Posted: 2012-04-05 19:28 
 Post subject: Now Bluetooth won't work
I got it to upload the wasd code and changed the baud rate but when I connect and press any of the wasd keys and enter nothing happens some times the serial monitor prints jibberish.
I have also tried hyper terminal same thing
Does the Bluetooth bee need to be in xbee slot 1?


User avatar
Admin ( offline )
Posts: 3798
Posted: 2012-04-09 08:05 
First things first:
  1. Did you successfully operate the rover with the USB cable connected to the rover? If not, do that first, before proceeding with Bluetooth. The Rover needs to be physically connected to the computer via USB, and the Baud rate in Hyperterminal needs to match that used in the code.
  2. Next, ensure your computer has a Bluetooth connection (one is not supplied in the new kits because many people already have one) and plug the BT module into the rover; we encourage you to use XBee slot 1 because you still have access to the switch (this determines which XBee module is connected to the Tx/Rx pins).
  3. Ensure the switch is set to XBee1. Turn the rover on and pair with the BT module from the computer. The pairing code is 1234.
  4. Once you have paired with it, open Hypterminal, set the Baud rate to what was used in the code, try Xon / Xoff.
  5. You should be able to press the WASD keys to get the rover to move. If it does not, try Hardware.

_________________
Coleman Benson

RobotShop inc.
Putting Robotics at your service!™
www.robotshop.com

Lynxmotion
Imagine it. Build it. Control it.™
http://www.Lynxmotion.com


 

All times are UTC - 5 hours [ DST ]. It is currently 2014-11-23 17:01
Feedback Form
Feedback Form