Show Posts
Pages: [1]
1  Using Arduino / Interfacing w/ Software on the Computer / Re: I2C and Flash AS3 on: January 20, 2013, 07:48:01 pm
Maybe i should start new topic about project in another forum.

Ok so from the begining. I'm graphic designer in Poland and it will be my graduation project. I'm making  some kind of board ( link to the blog: As you can see (below) it will be a linear type of game. You will spin a wheel and move your pawn.

On the electronics side there will be:
1. motors which hide and show figurines and stuff, moving gates (controlled by arduino digital and analog ouputs)
2. smoke generators in volcano and air pump. I used 2 ecigarettes heaters (controlled by arduino digital oupts with relays)
3. spinning wheel-(3 digital inputs)
4.something about 100 playing fields with LED backlight ( I2C bus)

Everything will be hooked up to arduino Mega 1280 (or 2560 I have both) which will be connected to the pc with touchsreen for GUI.
 I want to use Adobe Flash for interface because I was a web developer for past few year and I'm very familiar with that environment and Action Script programming. It's also very simple and fast in animation type of things which I must do a lot in this project.

 For playing fields backlight I made PCB with 8 PCA9555 expanders (
and SMD resistors for diodes. Which gives me 128 pin INPUTS/OUTPUTS controlled via I2C. PCB is working great that's not an issue. I tested it with wire.h library.

Now to the point.
I managed to connect ActionScript to arduino with AS3Glue and SerProxy.. I can send/receive digital and analog data from Adobe Flash.
But I don't know how to controll I2C transmission from AS3. (how to control SDA and SCL) No idea. Maybe I should use something else not as3glue and serporxy.

I have basic knowledge about transmission and protocols

Please help me. If something is not clear I will try to explain it more.
thanks in advance, Gabriel

2  Using Arduino / Interfacing w/ Software on the Computer / Re: I2C and Flash AS3 on: January 20, 2013, 09:47:51 am
I forget to add that everything will be running locally, SWF file and arduino board on the same PC
3  Using Arduino / Interfacing w/ Software on the Computer / I2C and Flash AS3 -NEED HELP on: January 20, 2013, 08:58:19 am
Hello everyone. This is my first post one the forum.I need your help.

I'm making a project for school. I have 8 PCA9555 expanders connected to my Arduino Mega board via I2C bus (pin 20 and 21). I can use them with help of wire.h library. My problem is that: I have no idea how to comunicate them with flash AS3. I tried using AS3Glue and serProxy with no result.

How can I control I2C devices from AS3. Any idea? Please it;s very important to me.

Pages: [1]