maandag 26 oktober 2009

strange firmata behaviour.

i'm trying to make my Arduino Mega wireless by using two XBee's.
but i'm running into a strange problem.

As you know i'm rewriting standardFirmata to run on my mega.
When i enable reporting on my first 13 input-pins and my 16 analog-inputs, firmata crashes and goes into a reboot-loop. (just keeps flashing firmware version)
The strange thing is that this doesn't occur when directly conencting with a usb cable.

well. off to find out more

-edit 27-10-
problem solved.
I'm using the XBee in AT-mode, wich means that you can escape to command mode by sending a string of characters. The data that i was sending from FirMega to the host did sometimes represent that exact string!

Fortunately, the XBee frimware can be told to use timeouts around this string, so accidental switches to Command-Mode won't occur. :)
I increased that timout, and the problem disappeard.

FirMega

standard firmata for the Arduino Mega.

As everybody seems to be stuck ,or -at least- not addressing the point, i've been trying to rebuild standardFirmataV2 for the Arduino Mega.

woensdag 30 mei 2007

Visjes vangen op Amersfoort Centraal

Joepie, eindelijk eens een normaal berichtje.

Ik ben er gisteren middag achter gekomen dat een mij nog onbekende organisatie een visvijvertje heeft neergezet in de stationshal van Amersfoort.