MissileLauncher Arduino Library

MissileLauncher is an Arduino library that can be used to operate USB Missile Launcher’s from Arduino using USB Host Shield.

Features

The library supports the following operations

  • Move Up
  • Move Down
  • Move Left
  • Move Right
  • Fire
  • Stop

Examples

The library has an example sketch which explains how to control the Missile Launcher.

If you want to control the Missile Launcher from your desktop, then you can use the missile-launcher.py script found under the /tools directory

Dependency

This library requires the USB Host Shield library, without which this can’t work.

Setup

Stack the USB Host shield on top of Arduino and connect the USB Missile Launcher in the USB slot of the shield.

Download

You can download the library from my github page. The examples are there inside the /examples folder. After downloading place the MissileLauncher folder inside your Arduino’s /library folder

License

The library and the example are released under released under BeerWare license.

I would, however, consider it a great courtesy if you could email me and tell me about your project and how this code was used, just for my own continued personal gratification :)

You can also find other ways to make me happy, if you liked this project.

Stay updated

I would be posting updates about this library in my blog and in Twitter. If you want to be informed when new version of this library is released, then you can either subscribe to this blog’s RSS feed or follow me in Twitter.

History

  • 2011-08-12 – v0.1 – Initial version

4 Comments so far

Trackback URI | Follow up comments through RSS Feed | Post a comment

  • Steve says:

    I have a project coming up where I will want to control a peripheral from an Arduino.
    Since it is similar to your launcher library ( mostly sending commands, not receiving info), I decided to start there.
    The board is a CircuitsAtHome 2.0 board.
    I’ve installed the USB library and it seems to work – the mouse HID routine sends data.
    The USBHID_desc routine gives me a report OK.
    I set up your library and example program. It compiled OK.
    The first time I ran it, the launcher rotated right and stopped. Now it doesn’t respond at all.
    The missile launcher is OK, since it runs on a PC with the Thunder program.
    The program runs OK, I get:
    Start
    Device Running
    Device Running………
    in the monitor window.

    I have tried it both on a Duemilanove and a Mega.

    Thoughts on how to continue?

  • YeoHyeokJu says:

    I’m korean student.
    I have same problem.
    Thunder program of PC ver. is turn on ramp.
    but arduino scketch program is not turn on ramp.

    this is mean. not working missileLauncher.

    please.
    working start extra code exists?

  • eric says:

    I’m trying to use this with the current missile launcher on thinkgeek: http://www.thinkgeek.com/product/8a0f/?srp=3

    But haven’t been getting a response from the launcher when I send a command. Will this library not work with it?

Leave a Reply