Pages: [1]   Go Down
Author Topic: Arduino very inconsistent  (Read 623 times)
0 Members and 1 Guest are viewing this topic.
Wisconsin, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 27
Arduino Intrigued
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey, I have an Arduino Uno loaded with "Standard Firmata", hooked up via usb, through "serproxy", and into a flash application using as3Glue. On testing the code, when it didn't work I figured my code was messed up, but after an hour of debugging, I decided to try the packaged "as3glue standalone monitor" that comes with as3glue.

All it does is give you a GUI to easily set and un-set outputs on the arduino, while constantly reading inputs. Using this, the arduino is very, very inconsistent. I will hit the button to switch an output from low to high, and the LED attached to that output won't light up. Then I'll toggle it a couple times and it will work instantly for a couple clicks. There has to be some buffering error or SOMETHING that would prevent flash from quickly and accurately transmitting data to the arduino. Any ideas what to change/ what could be wrong?

Thanks!
Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So, your data goes though half a million pipes and conversions, it doesn't surprise me that the response is slow and erratic.
Logged

0
Online Online
Shannon Member
****
Karma: 214
Posts: 12408
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Presumably you downloaded the sketch via USB so proving the USB to serial path on the Arduino board and its processor are working fine.  You'll need to try and track down where in your setup problems are happening - detective work.
Logged

[ I won't respond to messages, use the forum please ]

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 631
Posts: 34496
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I will hit the button
What button? How is it wired up? It's not floating is it?
http://www.thebox.myzen.co.uk/Tutorial/Inputs.html
Logged

Pages: [1]   Go Up
Jump to: