Show Posts
Pages: [1] 2 3 ... 158
1  Using Arduino / Interfacing w/ Software on the Computer / Re: GoBetwine Freeze/Crash with Leonardo on: October 30, 2013, 12:04:51 pm
Hi Gunslinger

I will try to make a test this weekend to see if i can replicate the problem with an ordinary Arduino. This way we should be able to establish if this is a Leonardo related problem.

EDIT:  I just read your post over once again. It is a MAJOR problem if GoBetwino and Leonardo are working at different baud rates. That is bound to go wrong.  I do not own a Leonardo and know very little about how it works. maybe someone more knowledgable in that area can contribute to this issue??

Mikael

2  Using Arduino / Interfacing w/ Software on the Computer / Re: GoBetwine Freeze/Crash with Leonardo on: October 26, 2013, 08:26:09 am
Hi Gunslinger

Sorry for the late answer, i have been extraordinary busy that last few weeks, add to that a semi crashed laptop......

I don't know how much code you have removed, but looking at your posted  loop code, you have 3 delay(10) statements.
That means your loop as posted will run more than 300 times a second.
For each iteration through the loop, you are copying a file, logging something to a file and then copying another file.
Logging causes a file open, a file write and a file close operation.

This requires GoBetwino to parse, interpret, and execute 900 commands every second, each command involving file operations. That is probably much more than it can handle, maybe even more than your PC can handle??

Also at 57600 bits/s you can send a max of 5760 bytes every second over the serial line. With 300 commands / s each command can not exceed 19,2 bytes (average). It's hard to tell from your code but i think you are over that.

Try to slow things down (a lot for starters), and see how it goes.

Mikael

3  Using Arduino / Interfacing w/ Software on the Computer / Re: GoBetwine Freeze/Crash with Leonardo on: October 22, 2013, 01:51:30 pm
Actually It does open and close the file for every write.

Mikael
4  Using Arduino / Project Guidance / Re: how to make my own circuits work without help? on: October 20, 2013, 12:16:32 pm
Sorry, but instant experience dosent exist.

There really is no way around tutorials, books and all that other stuff.

You could of course get formal electronic training
5  Using Arduino / Interfacing w/ Software on the Computer / Re: GoBetwine Freeze/Crash with Leonardo on: October 20, 2013, 04:20:06 am
I will look at this problem, i can't see that it should be specifically related to Leonardo. Maybee there is a bug

Mikael
6  Using Arduino / Project Guidance / Re: Arduino to Arduino via Serial on: October 06, 2013, 03:18:53 am
How did you hook things up ?

Did you remember to connect the grounds of the two arduinos?
7  Using Arduino / Project Guidance / Re: Problem with sending an email through GoBetwino on: September 22, 2013, 03:04:10 pm
GoBetwino does not work with Gmail or any other web mail that requires ssl (HTTPS)
8  Using Arduino / Interfacing w/ Software on the Computer / Re: gobetwino SMAIL fail :( on: September 22, 2013, 12:56:00 pm
You can't use external parametres with the SMAIL command. There can be nothing between the square brackets, see page 22 in the manual
9  Using Arduino / Programming Questions / Re: CTRL ALT PrtScn Keystroke on: August 28, 2013, 01:00:43 pm
Yea, print screen and the "window" key can not be send from GoBetwino, they are not handled as ordinary keys on the PC
10  Using Arduino / Project Guidance / Re: 4 serial connections on arduino uno on: August 25, 2013, 03:30:00 pm
Also very important to consider do you need to both send and recieve on all ports ?

11  Using Arduino / Networking, Protocols, and Devices / Re: Gobetwino getting extra 0 on: August 22, 2013, 10:56:53 am
Sorry for the late answer.

Your GoBetwino related code loks fine.

I have absolutely no knowledge of Xbee, so maybe someone else can chime in with suggestions
12  Using Arduino / Networking, Protocols, and Devices / Re: Gobetwino getting extra 0 on: August 17, 2013, 12:29:45 pm
Quote
I hope I presented enough information.

Nope.

We need to see your code, thanks.
13  Using Arduino / Interfacing w/ Software on the Computer / Re: Leonardo & Serial Issue SOLUTION? and receive buffer limit? on: July 31, 2013, 10:34:14 am
You nede to enable DTR when using Leonardo
14  Using Arduino / Programming Questions / Re: Serial trouble on: July 16, 2013, 12:51:40 pm
Try to change this line:

if (Serial.available() > 0)

to :

if (Serial.available() >= 2)

You might be reading the second (and subsequent) bytes before they have arrived.

15  Using Arduino / Project Guidance / Re: Help please with small motor timing script on: June 17, 2013, 02:44:59 pm
In stead of having the motor run for a set time, it is much better to have a sensor that senses when the bridge is up.

Just a simple photo interupter switch og a microswitch with a lever or whatever can be fitted.
Pages: [1] 2 3 ... 158