Tools & Toys: Getting Vexed

  • Published on
    10-Mar-2017

  • View
    217

  • Download
    5

Embed Size (px)

Transcript

  • Either you think building robots is cool, or you dont. But if you do, then youll love the Vex Robotics Design System, a line of robot con-struction kits and accessories from RadioShack Corp., headquartered in Fort Worth, Texas.

    RadioShack developed the Vex system in collaboration with Car-negie Mellon Universitys Robotics

    Institute, in Pittsburgh, and the organiz-ers of an international high school robot-ics competition sponsored by FIRST (For Inspiration and Recognition in Science and Technology), a nonprofit organization based in Manchester, N.H. While the kits target audience is high school kids in classroom and lab settings, it is versatile enough to appeal to a much wider audience.

    I tried out the Vex Robotics Starter Kit, which has more than 500 pieces. What appealed to me right off the bat was that while Vex robots do use plastic for wheels and gears, they are constructed mostly from metal struts, axles, and plates, mak-ing them much more sturdy than many other robot kits. Motive force is provided by three motors that can rotate continu-ously clockwise or counterclockwise and one servo motor that moves forward and back through a 120-degree arc. These motors will be familiar to anyone whos ever built a remote-controlled plane or carin fact, the Vex kit is compatible with most remote-controlled hobbyist motorsand they are versatile enough to enable a wide range of robot designs.

    The motors are driven by a control-ler module, which in turn is powered by a battery pack. (A word of caution here: the Vex system eats batteries, so take the manufacturers advice and invest in rechargeable batteries.) The controller module contains two PIC18F8520 micro-processors and bristles with input/output ports. Sixteen ports are shared among analog and digital input/output functions, and eight more are dedicated to driv-ing motors. Each processor can perform 10 million instructions per second, and one of the processors can be programmed by users to control the robot while the other processor takes care of housekeeping tasks, such as looking after the controllers communications systems and sending the

    precisely timed electrical signals required to drive the motors. The communications role is particularly important, because the controller is normally hooked up to an FM radio receiver that takes commands from a human-operated six-channel remote control. The maximum operating range is about 35 to 40 meters.

    It took me a couple of hours to build my first robota rectangular, four-wheeled creation dubbed SquareBot by RadioShack [see photo]using the instructions that come with the Starter Kit. With the remote control, I could steer SquareBot forward and backward and make it spin on the spot (for a video of SquareBot in action, check out http://www.spectrum.ieee.org/squarebot.mov). But SquareBot is more than just a glorified remote-con-trolled car, as it is capable of some onboard autonomous behaviorif either the front or rear bumper switch detects a colli-sion, the controller module will override instructions from the remote control and cut power to the motors for a few seconds, giving the operator a chance to rethink.

    The controller module can also be con-figured to use a basic, but fully autono-mous, preinstalled program that enables a robot to feel its way around a room on its own. Although I stuck to what came with the Starter Kit, advanced users will want to buy the US $100 Programming Kit, which will allow them to write their own soft-ware and take full control of the hardware, where 32 kilobytes of program space are available. Six extra ports are provided on the controller module to service real-time hardware interrupts (which suspend nor-mal program activities and invoke speci-fied subroutines to handle various events); this makes the Vex system a candidate for use in serious robotics research.

    Only four sensors come with the Starter Kit: two rugged bumper switches and two more sensitivebut more delicatemicro-switches intended for detecting such things as whether a gripper has grasped an object. The paucity of sensors is understandable, given that inexperienced or young users will likely be controlling the robot visu-ally with the remote control, but advanced users will soon find themselves looking for such Vex accessories as the $20 light sensor and the $30 ultrasonic range finder. While

    GettinG Vexeda robot kit thats fun as well as functionalBy stepHen cass

    to

    oL

    s &

    to

    ys

    www.spectrum.ieee.org

    RESOURCES

  • there is an official Web site at http://www.vexrobotics.com that features the various add-ons, including items like tank-track sets, real gearheads will want to check out http://www.vexlabs.com, where the Greenville, Texasbased Innovation First Inc.which engineered the Vex system for RadioShackoffers prototype accessory sets that have not yet been adopted as part of the official Vex line.

    In fact, its pretty easy to incorporate all sorts of additional equipment into a Vex robot, including components not specifi-cally designed for the Vex system, such as the remote-control hobbyist motors men-tioned above; electrically interfacing many non-Vex components to the controller can be done relatively easily through the many input/output ports provided. This flexi-bility makes Vex markedly different from that other popular general-purpose robot construction system, Lego Mindstorms. The Lego system can be used only with parts and sensors specifically built for or modified to work with the Mindstorms equivalent of the Vex controller module. Also, because Vex robots are built using screws and metal plates, mechanically attaching various off-the-shelf sensors or other devices is pretty straightforwardagain in contrast to Lego, whose plastic bricks and spars make it difficult to secure non-Lego components.

    I did have two nits. First, the included documentation provides a guide to build-

    ing a SquareBot robot, and its careful, step-by-step instructions and explanations will make the job of instructors helping stu-dents using the kit much easier. However, while general building principles are often outlined, the documentation doesnt give any specific instructions for building other robots. More example designs would help beginnersand even experienced robot builders unfamiliar with the systemget a better grasp of how the wide range of pieces that come in the Starter Kit can be employed, before they tackle their own creations.

    My other nit was with the packaging. Many of the Vex parts come packed on top of other parts in a single large piece of Sty-rofoamand some parts are packed into the underside of the Styrofoam container. This makes it impracticable to have the packaging double as a storage box (as can be done with Lego Mindstorms), and Vex users will have to invest in something like a fishing tackle box if they dont want to lose parts or spend forever trying to dis-tinguish one type of screw from another.

    But the bottom line is that the Vex system is fun to use, and it adroitly fills a gap between the simple, but somewhat constrained, world of robotics kits such as Legos on the one hand, and the powerful, but often bewilderingly complex, world of scratch-built robots on the other. I expect it to become a familiar sight in high school and university labs, as well as in the garages of home-brew robot builders. n

    Vex rObOtiCs starter kit US $300

    http://www.vexrobotics.com

    dANSAElIN

    gEr

    /clArEA

    gEN

    cy

    www.spectrum.ieee.org