Summary of Contents for Arrick Rbotics Mobile Robot
Page 1
Mobile Robot For Hobbyist, Research and Education Assembly and User Guide Copyright (c) 2005 Arrick Robotics All Rights Reserved Robotics.com...
Table of Contents Introduction Introduction...1 About ARobot...1 What You’ll Need ...2 Feature List ...2 Specifications...3 Precautions...4 Component Locator ...5 Glossary of Terms...6 Assembly Assembly Overview...9 Parts...10 Painting ...13 Whiskers ...14 Drive Motor and Brackets...16 Encoder Sensor ...17 Front Wheel Assembly ...18 Steering Motor and Rear Wheels...19 Controller Board ...21 Battery Pack ...22...
Page 3
Expansion Connector ...38 User RC Servo Motors...38 Expansion Circuit Examples...39 Coprocessor Network Expansion...42 Using Other Controllers...43 Additional Information Suggested Reading...44 Component/Accessory Suppliers ...45 Internet Robot Resources...47 Troubleshooting ...49 Warranty Information ...50 ARobot Project Database – www.robotics.com/arobot/projects.html ARobot FAQ – www.robotics.com/arobot/faq.html...
Parents: If you’re buying ARobot for a young person, be prepared to help them. About ARobot The ARobot (pronounced "A robot") is a computer controlled mobile robot designed for hobbyists and educators. Ages 16 and up (younger if helped by an adult) can enjoy unlimited experimentation by programming the on-board Basic Stamp II control computer.
Program using a desktop PC then download for autonomous operation. Expansion port allows unlimited possibilities. Mounting holes for Radio Shack Breadboard or perfboard. Coprocessor network allows multiple processors to communicate and distribute tasks. Application notes for sonar range finding, head light, light sensors, compass, and more.
Precautions The following precautions must be taken to insure trouble free operation of ARobot. The order that these precautions are listed does not indicate their importance. Failure to observe these precautions may result in loss of life, damage of property and/or damage to the Robot. Never attach or remove cables while power is applied to the Robot.
Component Locator Use the following diagrams to familiarize yourself with ARobot' s various components. Encoder Front Wheel Steering Motor Expansion Connector Proto Area Basic Stamp Green LED Red LED Coprocessor Reset Jumpers Buttons Drive Motor Controller Battery Pack Steering Controller Body RC Servo Connector...
Glossary of Terms Analog Signals – Signals that have values between on and off (1 and 0). Android – A robot that has a human-like form. Artificial Intelligence (AI) – A computer program that simulates intelligence like that found in biological systems.
Page 10
Joystick – A control device that employs a stick to achieve 2 axis control. Laws of Robotics - Three laws written by Isaac Asimov which prevent robots from intentionally harming humans and set other task priorities. A robot may not injure a human being or, through inaction, allow a human...
Page 11
Glossary of Terms continued Mechatronics – A combination of mechanical and electrical devices to create a system. Natural Language – Language used by humans to communication. Neural Network – A network of processing elements that are connected together to simulate the intelli- gence created by biological brains.
Assembly Overview ARobot’s assembly normally takes about 2 hours or less excluding time for painting. Children as young as 10 can build ARobot with the help of an adult. The controller board and cables are pre-built, so sol- dering is not required. During assembly you will do these things: Sand and paint the metal robot body pieces (this is optional).
Parts ARobot is easy to put together. Make sure you have all of the parts listed below before beginning. If something doesn’t look right, send us some email at info@robotics.com Quantity Description Robot Body Sheetmetal Motor Brackets Encoder wheel Screw, 4-40 x 3/16”...
Page 14
Parts continued Here are drawings of SOME of the parts in the ARobot package. Drawings are not to scale. As you build ARobot, refer back to these drawings to identify parts. Screw, 4-40 x 3/16 Screw, 4-40 x 3/8 Nut, 4-40 Nut, 10-32 Washer, #4 star Washer, #10 star...
Page 15
Parts continued Drive Motor Body Cable Battery Cable Wire Ties Whisker Wires Steering Linkages Bronze Bearing Rear Axles Steering Arms 4-40 nuts Encoder Wheel Body Battery Holder Encoder Sensors 4-40 x 3/8 Controller Spacers 10-32 nuts Motor Brackets RC Servo Steering Motor Controller...
Be creative, consider using special accents to make your robot stand out. Masking to create special shapes such as flames or zebra stripes. Colored electrical tape from Radio Shack - Catalog #64-2340. Colored adhesive dots from an office supply store.
Whiskers Two whisker wires are mounted on the front of the robot to detect obstacles. Locate the 4 whisker mounting holes near the front center of the robot body. Scratch off paint around the two smaller holes. Next, bend each whisker wire using the drawing as a full scale pattern. Locate the body cable and find the ground lug.
Page 18
Whiskers continued Whisker Detail Full Scale Whisker Wire Pattern 3” 1-1/2” 8-3/4” Total Length 4” Small Loop Attaches to Whisker Spacer Bend both whisker wires using this pattern...
Drive Motor and Brackets Locate the two motor brackets – a left side and a right side. Locate the drive motor. Mount the drive motor to the left motor bracket using 2 or 3 screws according to the drawing. Next, attach the motor brackets to the robot’s body using 3 screws, 3 star washers, and 3 nuts per motor bracket.
Encoder Sensor The encoder sensor counts the teeth in the encoder wheel using invisible IR (infrared) light to measure the distance traveled. The encoder wheel has teeth that interrupt the beam of light. Locate the encoder sensor and notice the dots placed on it (see the drawing). Mount the sensor using 2 screws, 2 star wash- ers, and 2 nuts.
Front Wheel Assembly A picture is worth a thousand words – so take a look at the drawings below before starting to building the front wheel assembly. First locate the front wheel which has a threaded bore and a red mark on the hub. Screw the threaded front axle into the wheel so that one side of the axle protrudes about 1/2 inch from the wheel’s hub.
Steering Motor and Rear Wheels Steering of the robot is accomplished using a standard RC servo motor attached to the rear wheels. Read the assembly summary while viewing the drawings. Summary: Bend both 4” wires into steering linkages with pliers using the drawing as a pattern. Attach the horn to the steering motor with a screw.
Page 23
Steering Motor and Rear Wheels continued Steering Motor Mounting Wheel and Axle Steering System...
Controller Board ARobot’s controller board is the brains of the system. It accepts a Basic Stamp II controller chip which can be programmed from a personal computer. The controller board contains electronics used to drive the motors, sound the speaker, control the LEDs, read whiskers, etc. An expansion port allows addi- tional circuits to be added to the system.
Battery Pack Don’t install batteries yet. Power is supplied to ARobot using a battery pack that contains 8 AA size batteries. Locate the battery cable which has a batter snap on one end and a 2-pin MTA connector on the other. Pin 1 has the red wire and is +12 volts, Pin 2 is the black wire and is ground (0 volts).
Body Cable The body cable connects the controller to the encoder sensor, whiskers, and ground lug. The body cable will already be attached to the robot because we have already installed the whiskers and ground lug. Route the body cable up through the rectangular hole in the robot’s body. Plug the body cable into the controller’s 10 pin body connector which is next to the expansion connector.
Finishing Up You’re almost finished building ARobot. Finish up by doing these things: Route the steering motor cable up though the rectangular hole in the robot body. Connect the steering motor cable to the 3 pin connector on the controller board near the body connector (see the controller drawing).
About the Controller Board The Controller board is the brains of ARobot. It contains circuitry to control the steering and drive mo- tors, read the whiskers, control LEDs, speaker, buttons, etc. The controller board has a socket that ac- cepts a Basic Stamp II control computer chip designed by Parallax Inc. www.parallaxinc.com The Basic Stamp II is programmed with a desktop PC through the serial port in the PBasic Language which is much like standard Basic but with some interesting additions.
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.
It then reverses direction and steers away from the object. After a short period, it returns to straight forward movement. The Wander program is an excellent starting point for the crea- tion of new programs. www.robotics.com/arobot...
Batteries ARobot’s controller board requires 9 to 12 volts supplied by 8 AA size batteries. We’ve found that the best batteries are DuraCells. You can also use AA size rechargeable batteries. First turn the controller board off and remove the battery pack from the battery cable. Install the 8 batteries observing polarity + - which is indicated on the holder.
Whiskers Whisker wires are used to detect objects while the robot is moving. There is a left and right whisker which can be read separately to determine the location of the object. The left whisker is connected to the P0 pin and the right whisker is connected to the P1 pin. When an object is detected, these pins return a logic zero (low).
Push Buttons and Jumpers (switches) Two general purpose buttons and jumpers (also called switches) are provided on the controller card which can be read by the Basic Stamp II. Buttons are momentary – after you press them they return to the off state.
Drive Motor and Encoder The previous subroutine will START the drive motor. You can monitor the progress of the drive wheel by reading the encoder counter from the coprocessor. Here is example code that will read the encoder. ec var word serout net,baud,["!1E1"] serin net,baud,[hex4, ec] You can use this code within a loop to wait until the desired distance is completed.
Coprocessor Command Summary This section describes how the coprocessor works and how each command is constructed. The controller board contains a coprocessor that is used to control the drive motor, powerful output, en- coder sensor, and the 4 RC servo motors (#1 is used as the steering motor). This frees the Basic Stamp II for other tasks.
Page 37
Coprocessor Command Summary RC Servo Motor and Steering Motor Control: Example: !1R380 This command begins with “!1R” and is followed by a character indicating the RC servo motor number (3 in the example), followed by the position in hexadecimal (80 in the example). Possible position val- ues are “01”...
Hexadecimal, Binary, Bytes, Words, etc. Most commands require parameters in the form of hexadecimal values and many commands return hexadecimal values. Sometimes the bits in these values will represent certain things. We’ll use the term “hex” to refer to hexadecimal. Hexadecimal Hex numbers are easy for computers to work with because each hex digit can represent 4 bits, 2 hex dig- its can represent a byte, and 4 hex digits can represent a word.
RC Servo Motor Connectors (J2-J5) Usage: Connects controller to RC servo motors. J2 is used for the steering motor. J3, J4, J5 are user defined. Controlled by the coprocessor Connector: 3 pin, .1”, 4 total Pinout: 1 – Control Pulse 2 –...
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.
Page 43
Our space is limited here so make sure to visit our web site for the latest expansion application notes complete with program examples. www.robotics.com/arobot/projects.html Also visit the Parallax web site which has an entire section dedicated to application notes for the Basic Stamp II.
Page 44
Our space is limited here so make sure to visit our web site for the latest expansion application notes complete with program examples. www.robotics.com/arobot/projects.html Also visit the Parallax web site which has an entire section dedicated to application notes for the Basic Stamp II.
Coprocessor Network Expansion The complete application note for coprocessor expansion can be found on our website at: www.robotics.com/arobot/projects.html A coprocessor is one of the most powerful expansions that can be added to ARobot. A coprocessor can remove time consuming tasks from the master processor, leaving it for higher level routines. The coprocessor could be used to add a ring of sonar range finders, read a time consuming compass, proc- ess video images, control motors, etc.
Using Other Controllers ARobot’s controller board is designed to accept the Basic Stamp II controller chip made by Parallax (www.parallaxinc.com). Parallax makes other Basic Stamp II compatible controllers which offer more memory and greater speed. Other manufacturers also make controllers that are compatible with the Ba- sic Stamp II and most of them should work fine with ARobot' s controller board.
Robot Science & Technology Magazine Dedicated to Real Robots. 2351 Sunset Blvd. Suite 170 Rocklin, CA 95765 http://www.robotmag.com 1-888-510-7728 Robotics Digest Practical Applications of Systems, Control, Vision, Motion, and Navigation in Robotic Mechanisms. Willian E. Gates 1700 Washington Ave. Rocky Ford, CO 81067 719-254-4558 102505.3055@compuserve.com...
Component Suppliers The following list of suppliers has been compiled to help in the expansion of ARobot. These vendors offer such items as single board computer, sensors and actuators. Most of the companies listed have catalogs which contain detailed part and technical information and can be obtained at little or no cost. Ampro Computers 990 Almanor Ave.
Page 49
SAVA Industries 70 Riverdale Rd. Riverdale, NJ 07457 (201) 835-0882 Manufactures cables and pulleys. Small Parts 6891 N.E. 3rd Ave. P.O. Box 381736 Miami, FL 33238-1736 (305) 751-0856 This company stocks a broad range of precision parts such as screws, tubing, and tools. Stock Drive Products 2101 Jericho Turnpike New Hyde Park, NY 11040...
Netscape or via FTP (File Transfer Protocol). Various newsgroups are available that allow readers to exchange ideas and ask questions. Arrick Robotics maintains an Internet Web Site at www.robotics.com. At this site you can browse pages describing various product offerings and view the latest demonstration code and example programs.
Page 51
Questions not answered in the FAQ can be posted to the newsgroup for a direct response from other readers. Parallax also offers a Basic Stamp forum – see www.parallaxinc.com Newsgroup Name comp.robotics.misc comp.ai comp.ai.alife comp.ai.fuzzy comp.ai.genetic...
Problem: Some other problem. Remedy: If you' ve read the manual and our on-line FAQ but the problem still can' t be resolved, don' t waste another second, e-mail us at info@robotics.com for the answer!
Warranty Information ARRICK ROBOTICS warrantees this product to be in good working order for a period of one (1) year from the date of purchase. Should this product fail to be in good working order at any time during this period, ARRICK ROBOTICS will, at its option, repair or replace the product at no additional charge except as set forth below.