Arduino & Flash AS3 (part 1)

At my last interactive exhibition, I was asked how would a Flash engineer get started with tinkering with the Arduino. Well, it’s fairly simple, their are a few caveats to overcome, but for the most part all you have to do is acquire the hardware and install some open source software, and oh yeah own a copy of flash or an ActionScript compiler. This post will be covered in 5 parts to help you get Flash talking to Arduino using a quick button created on a breadboard.

Before we get started you will need the following software and hardware:

Download the necessary files:

(1) The Arduino integrated development environment (IDE).
(2) The FTDI Serial driver (MAC OSX Intel 10.4 +)
(3) The SerialProxy application. (Scroll down to the bottom of the Arduino page)
(4) AS3Glue. (Featured downloads)
(5) A copy of Flash CS4 (trial version will work also) or an actionscript compiler which can compile Actionscript 3
(6) A plain text editor – Notepad will do, but I prefer TextMate.

Now for hardware….

I have provided links to SparkFun and Radio Shack for each component. I would advise you to buy your supplies online, but if you are impatient, you can go down to your local Radio Shack and purchase some of the components. For the provided Radio Shack links its important to take note of the catalog number, this is the number that Radio Shack provides to access its inventory. When I’m in need of a simple component, I usually go online to www.RadioShack.com, check to see if they have the component, log the catalog number and then call up my local Radio Shack(s) and track down the component. Granted their components are a bit on the pricey side, but its an instant gratification and beats waiting a few days for a pack of resistors to arrive in the mail.

The example in this post uses the following hardware and components:

(1) An Arduino Duemilanove board, you can pick one up at Sparkfun or Adafruit.
00666-03-L
(2) A USB cable. (you probably already have one of these laying around)
00512-1

(3) A basic LED, so you can test if the board is actually working. (online SparkFun or Radio Shack)
pRS1C-2266449w345
(4) A breadboard. (online SparkFun or RadioShack)
pRS1C-3721764w345
(5) A momentary button. (online SparkFun or RadioShack )
09190-03-L
(6) Jumper Wire. (online SparkFun or RadioShack)
JumperWire-Female-01-L_i_ma

(6) 1 10Kohm 1/2W 5% Carbon Film Resistor. (online Futurlec or RadioShack)
pRS1C-2160239w345

Once you have gathered all the materials and downloaded the required software, we are ready to get tinkering.

Move onto (part2) of this post.

7 thoughts on “Arduino & Flash AS3 (part 1)

  • Pingback: Arduino + Flash AS3 « Arduinian Tales

  • March 17, 2010 at 8:19 pm
    Permalink

    This is a beneficial publish, im happy I recently found it. Ill be back in the future to check out other posts that you have on your blog.

    Reply
  • August 14, 2011 at 8:48 am
    Permalink

    Thanks for the sweet post. I’m a flash developer, artist, and graduate student, and I’ve been itching to move into using the arduino. I’m pretty good at AS3 so now I can focus on the creative part of the project, instead of the learn-to-code in other languages part!!

    Reply
  • April 30, 2013 at 11:04 pm
    Permalink

    Hey, I think your site might be having browser compatibility issues.
    When I look at your website in Safari, it looks fine but when opening in Internet Explorer, it
    has some overlapping. I just wanted to give you a quick
    heads up! Other then that, superb blog!

    Reply
    • May 2, 2013 at 1:44 pm
      Permalink

      Thanks, I’ll look into it.

      Reply
  • Pingback: Getting reacquainted with the Linino™ One – Coding Color

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: