AS3 and Arduino
It took some doing, but we got the Arduino to talk to Flash CS3 in a neat way. I’ve compiled that information here because I think it is useful and not explained well anywhere else.
First, you need to get Standard_Firmata.pde onto your Arduino. This is done just like any other Arduino sketch. Firmata provides the framework necessary to have read/write access the ports of the Arduino over the Serial connection. You can use any number of different programming languages to talk to the Arduino board without having to upload a different program to the board’s memory. Firmata rocks!
Second, (at least for Flash) you need to have a Serial Proxy running in the background. SerProxy functions as go-between for Arduino and Flash. Arduino speaks Serial messages, Flash speaks Socket Connection messages, and SerProxy acts as the bi-directional translator. SerProxy rocks!
Third, you need a Socket Connection in Flash. AS3Glue is a library of AS3 classes designed with this in mind, and includes built-in methods, properties and events for communicating with Arduino over the Socket-to-Serial path. The people over at protolab have adopted AS3Glue for their work, and have made a bunch of neat .fla files using the library.
At the end of this post, I’ve provided a screen shot of the base setup working, as well as a zip archive of the software you need to get started. It includes a quick readme to get you up to speed! Enjoy!
Jon said,
April 8, 2009 @ 9:42 am
Tahnk you very much for this post!!!
it´s great!!! very very useful information!
Arduinoã¨Flashã®é€šä¿¡ : circumstance evidence said,
May 24, 2011 @ 9:52 am
[...] Arduinoã¨Flashã®é€šä¿¡ã‚’トライã—ã¦ã¿ã¾ã—ãŸã€‚ ã‚‚ã†3å¹´å‰ã®è¨˜äº‹ã ã‘ã©Joeã•ã‚“(誰?)ã®ãƒ–ãƒã‚°è¨˜äº‹ãŒã‚ã‹ã‚Šã‚„ã™ã‹ã£ãŸã®ã§æ„訳ã—ã¤ã¤å¼•ç”¨ã—ã¾ã™ã€‚ [...]
blogs said,
July 10, 2013 @ 7:55 am
Nice weblog here! Additionally your site lots up fast!
What web host are you the use of? Can I get your associate hyperlink to your host?
I want my web site loaded up as fast as yours lol
Finlay said,
May 21, 2014 @ 8:02 am
Thanks for ones marvelous posting! I truly enjoyed reading it, you might be a great author.I will make certain to bookmark your blog and will come back
down the road. I want to encourage yourself to continue your great work, have a
nice morning!
marketing quiz questions said,
July 5, 2014 @ 2:44 am
I’m truly enjoying the design and layout of your website. It’s a
very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create your
theme? Fantastic work!
Ichoule said,
July 12, 2014 @ 9:54 pm
Hey there superb website! Does running a blog such as this
take a great deal of work? I’ve absolutely no understanding of coding but I had been hoping to start my
own blog in the near future. Anyways, if you have any suggestions or
tips for new blog owners please share. I know this is off subject however
I just had to ask. Thank you!
gucci handbags said,
August 31, 2014 @ 5:31 am
Good day! I could have sworn I’ve been to this website bwfore but after going through some of the
articles I rewalized it’s new to me. Anyhow, I’m definitely
delighted I came across it and I’ll be bookmarking it and
checking back regularly!
car-sharing.bookmarking.site said,
April 30, 2021 @ 7:20 pm
car-sharing.bookmarking.site…
Joe Pietruch's Blog…
xanh villa thạch thất said,
June 13, 2021 @ 6:25 pm
xanh villa thạch thất…
Joe Pietruch's Blog…
păcănele la aparat said,
January 14, 2022 @ 12:04 pm
păcănele la aparat…
Joe Pietruch's Blog…