element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Robotics
  • Technologies
  • More
Robotics
Blog Hacking the Hexbug(TM) Spider with the EMGRobotics Spider Hack Kit and the TI Launchpad
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Robotics to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: emgrobotics
  • Date Created: 3 Jan 2012 2:52 AM Date Created
  • Views 582 views
  • Likes 0 likes
  • Comments 0 comments
  • autonomous
  • spider
  • hexbug
  • robot
  • launchpad
  • ti
Related
Recommended

Hacking the Hexbug(TM) Spider with the EMGRobotics Spider Hack Kit and the TI Launchpad

emgrobotics
emgrobotics
3 Jan 2012

image

 

This low-cost hack ($44.30 including the cost of the Hexbug spider) converts the remote control toy into a C programmable autonomous robot with a IR range sensor "eye" and a TI MSP430G2231 16bit brain.  After this hack the robot will be able to turn left or right and walk forward or backwards under the control of the EMGRobotics Low-Cost Robot Controller.


The Hexbug(tm) Spider is a remote control walking toy you can buy at your local RadioShack, Target, Walmart, or ToysRus for about $25.00.  From the store, the spider is controlled by a IR remote and can walk forwards, backwards, and turn left or right.  The walking gate of the spider is creepily realistic and fun to watch.


image

$15.00 EMGRobotics Spider Hack Kit - Controller board, IR range sensor, battery holder


This hack replaces the remote control receiver board in the spider toy with a fully programmable robot controller (pictured above) making the toy a fully autonomous robot.  The hack uses the EMGRobotics Spider Hack Kit available at www.buildsmartrobots.com and the TI Launchpad available here: http://e2e.ti.com/group/msp430launchpad/w/contents/ordering-launchpad.aspx.


The EMGRobotics Spider Hack kit includes a robot controller, AAA battery holder, and a  InfraRed(IR) range sensor.  The robot controller is about the size of a quarter and provides bidirectional control of the two DC motors in the spider.  The controller has a 9 pin connector for plugging in the TI Launchpad programmer/debugger and connecting up to six digital sensors or two digital sensors and four analog sensors.


EMGRobotics Low-Cost robot Controller Features
  • Independent bidirectional control (forward/reverse) of two 3V DC motors up to 400ma each
  • Thermal protection shuts down motor controller if it gets too hot
  • Supports any TI MSP430G  14 pin part ( MSP430G2231, 2211, …. )
  • Easy in-circuit programming/debugging using the TI Launchpad
  • Two User GPIO signals, four GPIO/Analog signals ( when used with a 2231 )
  • Runs directly on 2 AA or 2 AAA batteries ( 3 volts )
  • Perfect for many programmable robot applications  (line following, maze solving, Sumo, …. )
  • Supports 3 volt analog IR sensors
  • Example code available at: www.buildsmartrobots.com


You can download the motor controller datasheet here: EMGRoboticsLowCostRobotController.pdf


image

The controller drives 2 DC motors, and support 6 digital sensors or 2 digital and 4 analog sensors

 

The IR range sensor connects to one of the controllers digital outputs and analog inputs.  Under software control the IR sensor can detect object up to approximately 1 foot away and provides a estimated range to the object.  Using the provided software the IR sensor provides a range of 0 to 100 for a object distance of 1 to 12 inches respectively.

 

image

You can order the TI Launchpad for $4.30 from: http://e2e.ti.com/group/msp430launchpad/w/contents/ordering-launchpad.aspx

 

The TI Launchpad is used to program the EMGRobotics LowCost Robot Controller used in the spider hack kit.  The Launchpad connects to the robot controller using 3 wires, and can fully debug and program the robot controller.  The TI Launchpad comes with the FREE Code Composer Studio professional C compiler and debugger.  Using these tools you can create your program, flash it to the robot controller, and debug your program using breakpoints and stepping as expected from a professional tool.  Time spent learning how to use the TI Launchpad and Code Composer Studio can be referenced on your resume.  These are professional tools used by electronic manufactures around the world. 

 

imageConnecting the robot controller to the TI Launchpad for programming and debugging

 


Steps for Hacking the Spider


imageTools required: pliers, wire cutters, phillips screwdriver, soldering iron, solder 


You will also need some double sided tape, and some hookup wire.  Of-course you also need the EMGrobotics spider hack kit and the TI Launchpad (see above).


image

The Hexbug(tm) Spider direct from Radio Shack


image

After opening the package, flip the spider over and find that battery cover screw


image

Remove the battery cover

 


image

image

Remove the three screws shown above


image

Remove the "head"


image

Remove the batteries and cut the black and red wires


image

Remove the piece of plastic shown above from the head using the pliers


imageUnsolder the 4 black/white motor wires from the receiver board, discard the receiver board


image

image

Solder the motor wired to the EMGRobotics Low-Cost robot Controller


image

Screw the head back on the spider with the motor wires going through the slit


image

Apply double sided tape to spider as shown above


image

Stick robot controller to spider, add double sided tape to spider head for battery holder


image

Stick AAA battery holder on head


image

The IR range sensor that comes with the EMGRobotics Spider Hack Kit


image

Add double sided tape to back of IR range sensor


image

Stick IR range sensor to front of AAA battery holder as shown above


image

Wire IR sensor to Robot Controller as shown


image

The completed autonomous robot ready for programming using the TI Launchpad


imageProgramming and debugging the robot using the TI Launchpad


For more information check out the Autonomous Spider group on www.buildsmartrobots.com


http://buildsmartrobots.ning.com/group/autonomous-hexbug-spider-hack


  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube