Radio Shack Mobile Robot manual Expansion Port Circuit Examples

Page 42

Expansion Port Circuit Examples

ARobot©s expansion connector provides access to the Basic Stamp II’s I/O pins, to the RC servo motor signals, and to the wheel encoder’s signal. These signals can be used to control accessories and to read sensors. +5 volts is made available to power accessories. Observe current specifications to prevent overload of the power supply components on the controller board. Many unused pins are also available that can be soldered to various signals on the controller board or to components in the prototype area.

Breadboards and Perfboards

ARobot’s controller board is the same size and has the same mounting hole pattern as breadboards and perfboards from Radio Shack – Part numbers 276-174 and 276-170 respectively (2“ x 6“). The breadboard allows circuits to be created easily without soldering. The perfboard allow construction of more permanent circuits. Boards can be stacked on top of each other using long screws or spacers. Two sets of board mounting holes exist on ARobot’s body. The set towards the rear is occupied by the controller board and the other set can be used to mount breadboards or perfboards.

Soldering and other basic electronic skills

Books are available from Radio Shack and other sources that teach basic electronic skills such as component identification and soldering. These subjects are beyond the scope of this text and will not be taught here. Expansion ideas in this book require these basic skills and knowledge.

Expansion port cables

The expansion connector is a common 40 pin dual row header with pins on .1” centers. The cable is 40 pin flat cable with .05” centers and is easily cut with scissors. Cable is crimped onto the connector by pressing. This is the same type of connector used for many disk drives on desktop computers. You can simply purchase a disk drive cable which has connectors and cut it to length or buy individual cable and connectors from an electronic supply company such as Radio Shack or Digi-Key.

Part sources

Here are some sources for electronic components useful for the robot experimenter:

Radio Shack

www.radioshack.com

Digi-Key Electronics

701 Brooks Ave. South

Thief River Falls, MN 56701 USA 800-344-4539 www.digikey.com

Mouser Electronics 958 N. Main St. Mansfield, TX 76063 USA 800-346-6873 www.mouser.com

Expansion Port Cable

ARobot with Breadboard & Expansion

39

Image 42
Contents Assembly and User Guide ARobot Mobile Robot Connectors Introduction About ARobotBasic Stamp II Control Computer Feature List What You’ll NeedTechnical Specifications Precautions Component Locator ControllerGlossary of Terms Glossary of Terms Glossary of Terms Assembly Overview Parts Quantity Description Used ForAbout Screw, nut, and washer sizes Parts Motor Brackets Paint Primer PaintingSanding Finish CoatWhiskers SummaryHow it Works 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 Battery Pack Don’t install batteries yetSummary Don’t install batteries yet Body Cable Finishing Up Basic Stamp II Installation About the Controller BoardProgramming USB Port Cable to your PCPC Editor/Downloader Software Programming NoteTest Program TEST.BS2 Steering Adjustment Program STRAIGHT.BS2Programs Wander Program WANDER.BS2About the Controller Board Power On/Off Switch Reset ButtonBatteries LED indicators SpeakerPush Buttons and Jumpers switches Drive Motor and EncoderSteering Motor Coprocessor Command Summary Example !1M11200E7RC Servo Motor and Steering Motor Control Coprocessor Communication RulesHexadecimal, Binary, Bytes, Words, etc Serial Port J12 Battery Connector J9Body Connector J8 PinoutPowerful Connector J11 RC Servo Motor Connectors J2-J5Drive Motor Connector J10 Voltage 12 volts Maximum Current 500ma PinoutExpansion Connector J1 Expansion Port RC Servo Motor SignalsExpansion Port Circuit Examples Digital Inputs Switch Input ExampleDigital/Power Output Sensor Input ExampleAnalog Inputs Basic Stamp II light sensor example codeCoprocessor Network Expansion CommunicationsUsing Other Controllers Using ARobot’s controller as a coprocessorCabling between ARobot’s controller and another controller Suggested Reading Component Suppliers Stock Drive Products Sava IndustriesSmall Parts SuperCircuitsInternet Robot Resources Web SitesInternet News Groups Newsgroup NameDescriptionTroubleshooting Warranty Information Arrick RoboticsRobotics.com