4
http://www.instructables.com/id/Arduino-Controlled-Hexbug-Spider/ Food Living Outside Play Technology Workshop Arduino Controlled Hexbug Spider by davidhend on June 25, 2012 Table of Contents Arduino Controlled Hexbug Spider  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intro: Arduino Controlled Hexbug Spider  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 File Downloads  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Related Instructables  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Arduino Controlled Hexbug Spider

  • Upload
    swonera

  • View
    223

  • Download
    0

Embed Size (px)

Citation preview

8/13/2019 Arduino Controlled Hexbug Spider

http://slidepdf.com/reader/full/arduino-controlled-hexbug-spider 1/4

http://www.instructables.com/id/Arduino-Controlled-Hexbug-Spider/ 

Food  Living  Outside  Play  Technology  Workshop

Arduino Controlled Hexbug Spiderby davidhend on June 25, 2012

Table of Contents

Arduino Controlled Hexbug Spider  .................................................................................................

Intro: Arduino Controlled Hexbug Spider  .........................................................................................

File Downloads  ...........................................................................................................

Related Instructables  ........................................................................................................

8/13/2019 Arduino Controlled Hexbug Spider

http://slidepdf.com/reader/full/arduino-controlled-hexbug-spider 2/4

http://www.instructables.com/id/Arduino-Controlled-Hexbug-Spider/ 

Intro:  Arduino Controlled Hexbug SpiderThis is a small walking robot that uses an Arduino nano & an ultrasonic sensor for range finding. I started off purchasing a small plastic walking robot with a IR remotecontrol, they are available at radioshack for $25.00. With this you can make the robot autonomous & obstacle avoiding. To begin I started off opening the casing, I foutwo IC's on the control board, a motor controller & on the other side a small processor.

I was able to find a PDF file for the motor controller which is a ST1155A (low voltage, bi-directional motor driver), using this I was able to write a small program for theArduino. In order to control the motor driver I would need to remove the processor on the other side which is surface mounted to the board. To do this I ordered a prodcalled, "Chipquick", which is a low temperature solder for removing SMD (Surface Mount) components. There are lots of videos on how to use the chipquick and I foueasy to work with. Now for the most complicated step of the process, you need to attach four wires to four pins on the motor driver. These pins are tiny & I used magnwire which worked great for me & suggest using.

This is the PDF file for the motor driver in case you are interested:http://www.siti.com.tw/product/spec/Motor/ST1155A.pdf

This is how the motor driver operates. There is an input pin on each side & if you send it a HIGH signal it turns one way. If you send it a LOW signal it reverses the modirection. Also there is an enable pin on each side, to turn the motor on send a HIGH signal, and to turn it off send a LOW signal. All of this is explained in the datashefor the motor driver but I figured it would be worth mentioning. So the four pins on interest on this chip are IN1 (input 1), IN2 (input 2), ENA1 (enable 1), ENA2 (enableThese pins will allow you to turn the motors on & off and set the direction that they travel in.

Motor Driver IC - Arduino Nano-------------------------------------------Pin 2, ENA1---------------Digital Pin 4Pin 6, IN1------------------Digital Pin 2Pin 13, ENA2 -------------Digital Pin 5Pin 9, IN2------------------Digital Pin 3

In regards to power, the bot comes with three coin cell batteries that combined produce 4.5V. The Arduino requires a range of 6V-12V. To solve the power requiremenused the battery pack from the remote control that comes with it, it contains 2 coin cells producing 3V. I also cut the remote controls circuit board in half also & that iswhat connects the batteries together. I connected the 3V battery pack in series with the batteries inside the robot to produce 7.5V. By doing it this way 4.5V powers stconnects to the motor control board and 7.5V is connected the the VIN (voltage input) on the Arduino along with ground. The ultrasonic ping sensor is connected to th5V line on the Arduino. There are two switches, one comes with the robot and still controls power running to the motor controller. The other switch is connected inbetween the 3V battery pack & the Arduino's VIN Connection.

Part/Cost List:Hexbug Spider Robot ~$25.00 RadioshackArduino Nano ~$35.00 Frys Electronics or OnlineParallax Ultrasonic Ping ~$29.99 RadioshackSPST swtich ~$1.00 Radioshack or Online _______________________________________________ Total: ~$100.00 after tax

8/13/2019 Arduino Controlled Hexbug Spider

http://slidepdf.com/reader/full/arduino-controlled-hexbug-spider 3/4

http://www.instructables.com/id/Arduino-Controlled-Hexbug-Spider/ 

File Downloads

HexRobotWithPingSensor.zip (1 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'HexRobotWithPingSensor.zip']

8/13/2019 Arduino Controlled Hexbug Spider

http://slidepdf.com/reader/full/arduino-controlled-hexbug-spider 4/4

http://www.instructables.com/id/Arduino-Controlled-Hexbug-Spider/ 

Related Instructables

How to make aHEXBUG nanoto be activated

by light. by

longjie0723

Belvedere - A

Butler Robot by

wolffan

Building a semiSmart, DIY boatwith Arduinoand some other

sensors by

gabriellalevine

How to Make anObstaclesAvoiding Robot-

Arduino Style by

robotkid249

TRUCKBOT

(Photos) by

Monkeypaws

Arduino-basedrobot with IR

radar by

techbitar