arduino to flash

Talk about Arduino board, sheilds. Sharing Arduino projects, program, problems, solutions, suggestions..... many more, all are welcome.

arduino to flash

Postby fitri » Mon Nov 28, 2011 10:00 am

hi all,
im totally new in arduino. i already success controlling the led using switch button n serial port (using arduino ide serial monitor). Right now i try to control the LED using flash. can anybody help me on this..what software did i need?

1)arduino IDE
2)serproxy
3)flash (what kind of flash? i dont know)

please guide me..
thanks all :oops:
fitri
Apprentice
 
Posts: 42
Joined: Mon May 02, 2011 8:20 pm

Re: arduino to flash

Postby kl84 » Mon Nov 28, 2011 8:48 pm

Flash...it's kinda too far away from robotic. I've no idea how to implement it. May be you can ask the computer engineering folks. What's your project about? Is it a must to use flash? Why choose flash? Just wish to know more info to be able to give appropriate suggestion. If any program running on PC is okay with you, I see that Cytron has tutorial on creating GUI using the VB.net ->http://tutorial.cytron.com.my/2011/08/18/graphical-user-interface-gui/
User avatar
kl84
Amateur
 
Posts: 166
Joined: Thu Jul 08, 2010 12:14 pm

Re: arduino to flash

Postby zhenning » Mon Nov 28, 2011 8:53 pm

Just use labview =) you can program and develop your GUI
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby fitri » Mon Nov 28, 2011 8:58 pm

the reason too use flash is later i want to control the arduino using android smartphone. i try to follow tutorial in internet but not really understand...need help :oops:

here is the link : http://protolab.pbworks.com/w/page/1940 ... FlashSetup
fitri
Apprentice
 
Posts: 42
Joined: Mon May 02, 2011 8:20 pm

Re: arduino to flash

Postby zhenning » Mon Nov 28, 2011 9:09 pm

fitri WROTE:the reason too use flash is later i want to control the arduino using android smartphone. i try to follow tutorial in internet but not really understand...need help :oops:

here is the link : http://protolab.pbworks.com/w/page/1940 ... FlashSetup


The link is actually discussing on the backend stuffs that will grab the data from the serial port and relays it via a TCP socket. as3glue library is the library to handle that. Just follow the steps =)
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby zhenning » Mon Nov 28, 2011 9:19 pm

The first thing you have to do is to download the as3glue library and upzip it somewhere. Because this library is needed by the flash, you now, need to open flash and point to the path where the as3glue library is.(Flash->Edit Menu->Preferences) click ActionScript->ActionScript 3.0 Settings...->"+" to add new directory to classpath. Click the crosshairs to find the as3glue/as3 folder. Confirm all dialogs.

To test whether you have set them properly, do this:

Execute as3glue/applications/Serproxy-0.1.3-3/serproxy. On Vista, you have to unblock the program to give it permission to open a socket. On Mac OSX, you'll get a warning about launching a program downloaded from the internet. Again, you'll have to give permission.

This is the frontend of the flash that will give you the GUI interface

Open cs247_examples/test_arduino.fla in Flash. Run it.

What you should get if everything is correctly done:
In Flash should display a message like this:

Socket connected!
Socket closed!

The serproxy window should show something like this:

Failed to open comm port - connection refused

This means you're good to go - all that is missing is the hardware.

If you have your hardware connected, "Failed to open comm port - connection refused" you shouldnt see this error =) Hope this helps
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby fitri » Mon Nov 28, 2011 10:03 pm

in 1st image, i add the directory. is what im doing correct?
Attachments
action_script.jpg
#1
fitri
Apprentice
 
Posts: 42
Joined: Mon May 02, 2011 8:20 pm

Re: arduino to flash

Postby fitri » Mon Nov 28, 2011 10:10 pm

i open cs247_examples/test_arduino.fla but its look empty..can anybody explain.. :cry:
Attachments
test_arduino.jpg
#2
fitri
Apprentice
 
Posts: 42
Joined: Mon May 02, 2011 8:20 pm

Re: arduino to flash

Postby zhenning » Tue Nov 29, 2011 12:14 am

fitri WROTE:i open cs247_examples/test_arduino.fla but its look empty..can anybody explain.. :cry:


Just execute it. Its has actionscript 3.0 embedded in it ^_^
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Re: arduino to flash

Postby zhenning » Tue Nov 29, 2011 4:27 pm

fitri WROTE:in 1st image, i add the directory. is what im doing correct?



Dont change the SDK path. Add it under source path =)
zhenning
Enthusiast
 
Posts: 351
Joined: Thu Dec 30, 2010 12:32 am

Next

Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 8 guests

cron