Radio Shack Mobile Robot manual Cable to your PC, PC Editor/Downloader Software, USB Port

Page 29

Cable to your PC

ARobot’s controller board is programmed by connecting it to an Personal Computer (PC) running Mi- crosoft Windows. The serial port (9 pin male connector) will be used for this. A 9 pin male-female ca- ble is included to connect your PC’s serial port to ARobot. It may be necessary to remove your modem or other device (except your mouse) to free up the serial port. Switch boxes are also available from computer stores that allow one serial port to serve two devices. Most computer stores also offer serial port cards that can be added to your computer.

USB Port:

If you don©t have a serial port on your computer, you can use a USB to serial converter cable.

Programming Note:

You’ll be Programming the Basic Stamp II. These programming details are beyond the scope of the ARobot User’s Guide. Therefore, you’ll need documentation that details the commands and procedures. Parallax Inc, the makers of the Basic Stamp II, offer this information free on their web site at www.parallaxinc.com Also, due to the popularity of the Basic Stamp, many books on the topic exist.

PC Editor/Downloader Software

The makers of the Basic Stamp II, Parallax Inc., offers PC-based software that allows you to edit and download programs to the Basic Stamp II. The disk included in the ARobot package includes a version of this program. We suggest you visit their web site and download the latest version of software and also their documentation which gives greater detail about programming than we can offer here.

Install the software by coping the disk contents to a newly created directory on your hard disk. Then run the editor/downloader which is named STAMPW.EXE for the windows version, or STAMP2.EXE for the DOS version. The program will require that you select the serial (COMM) port number.

Overview of programming:

￿￿ Install programming cable between your PC’s serial port and ARobot’s serial port.

￿￿ Install ARobot’s batteries and turn the power switch on.

￿￿ Start the editor/downloader software and select the correct serial port number.

￿￿ Load a program from disk or create a new one.

￿￿ Download the software to ARobot.

￿￿ Remove the programming cable.

￿￿ Press the reset button on ARobot’s controller to start the program.

26

Image 29
Contents Assembly and User Guide ARobot Mobile Robot Connectors Basic Stamp II Control Computer IntroductionAbout ARobot What You’ll Need Feature ListTechnical Specifications Precautions Controller Component LocatorGlossary of Terms Glossary of Terms Glossary of Terms Assembly Overview About Screw, nut, and washer sizes PartsQuantity Description Used For Parts Motor Brackets Sanding PaintingPaint Primer Finish CoatHow it Works WhiskersSummary Whisker Detail Full Scale Whisker Wire Pattern Drive Motor and Brackets Encoder Sensor Front Wheel Assembly Steering Motor and Rear Wheels Steering Motor Mounting Wheel and Axle Steering System Controller Board Summary Don’t install batteries yet Battery PackDon’t install batteries yet Body Cable Finishing Up Programming Basic Stamp II InstallationAbout the Controller Board PC Editor/Downloader Software Cable to your PCUSB Port Programming NotePrograms Steering Adjustment Program STRAIGHT.BS2Test Program TEST.BS2 Wander Program WANDER.BS2About the Controller Board Batteries Power On/Off SwitchReset Button Speaker LED indicatorsDrive Motor and Encoder Push Buttons and Jumpers switchesSteering Motor Example !1M11200E7 Coprocessor Command SummaryCoprocessor Communication Rules RC Servo Motor and Steering Motor ControlHexadecimal, Binary, Bytes, Words, etc Body Connector J8 Battery Connector J9Serial Port J12 PinoutDrive Motor Connector J10 RC Servo Motor Connectors J2-J5Powerful Connector J11 Voltage 12 volts Maximum Current 500ma PinoutExpansion Port RC Servo Motor Signals Expansion Connector J1Expansion Port Circuit Examples Digital/Power Output Switch Input ExampleDigital Inputs Sensor Input ExampleBasic Stamp II light sensor example code Analog InputsCommunications Coprocessor Network ExpansionCabling between ARobot’s controller and another controller Using Other ControllersUsing ARobot’s controller as a coprocessor Suggested Reading Component Suppliers Small Parts Sava IndustriesStock Drive Products SuperCircuitsWeb Sites Internet Robot ResourcesNewsgroup NameDescription Internet News GroupsTroubleshooting Arrick Robotics Warranty InformationRobotics.com