Mar 062012
 

As soon as I knew they existed, I got a Hexbug Spider. I wish these things existed when I was little. It is COOL!

Now that I’m older and can buy toys for myself, I can do more interesting things with my toys. The Hexbug is IR controlled, like a tv remote control. I have a Microsoft MCE IR blaster connected to a Mythbuntu linux box. LIRC is pretty easy to configure.

Of course this is just a substitute remote control. It isn’t as awesome as what EMGRobotics is doing with the hexbug spider. The biggest advantage of a computer remote control is scripting moves!

DANCE HEXBUG DANCE!


Some of the interesting bits from hexbugdance.sh

irsend send_once hexbug left
irsend send_once hexbug right
irsend send_start hexbug forward
sleep 1
irsend send_stop hexbug forward

Advertisement:

LIRC configuration file. You’ll need to add an include line to /etc/lirc/lircd.conf

raging@mythbuntu:~$ cat hexbug.conf

# Please make this file available to others
# by sending it to #
# this config file was automatically generated
# using lirc-0.9.0(default) on Sun Mar 4 12:47:28 2012
#
# contributed by
#
# brand: hexbug
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

name hexbug
flags RAW_CODES|CONST_LENGTH
eps 30
aeps 100

gap 100000

begin raw_codes

name right
1962 490 1962 959 383 575
383 575 383 1514 383 575
383 575 383 1535 383 1514
383 575 383 1514 383 1514
383

name back
1962 490 1962 959 383 575
383 1514 383 575 383 575
383 575 383 1535 383 575
383 1514 383 1514 383 1514
383

name forward
1962 490 1962 959 383 1535
383 575 383 575 383 575
383 575 383 575 383 1514
383 1535 383 1535 362 1535
383

name left
1962 490 1962 959 383 1514
383 1535 362 575 383 575
383 575 383 575 383 575
383 1514 383 1514 383 1514
383

end raw_codes

end remote

  One Response to “Hexbug Spider LIRC Control”

  1. It really good work! I use your hexbot.conf file for irreco on n900 for control of my hexbug spider – its work!! Thank you – in lircdb is not availble that remote – may be can you upload?
    Best regards, Rixx.
    P.S – sorry me to the me ugly english;)

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)