[simpits-tech] Arduino and serial comms follow-up

geneb geneb at deltasoft.com
Wed Sep 19 08:44:01 PDT 2012


On Mon, 17 Sep 2012, dabigboy at cox.net wrote:

> I've attached the code as a ZIP. If you want to run my actual Python 
> module, you'll need pyserial installed as well, compiled for whatever 
> version of Python you're running.

Matt, it looks pretty simple and straightforward.  Good job!

I'd rack the baud rate up to 250000 though. According to the rate chart I 
have for the ATMega328, that's the highest rate you can use with a 0% 
clocking error.

One thing you might want to look at is using packets of binary data 
instead of raw text.  I don't know how Python sends binary data though.

(and yes, I could over complicate something as simple as crossing a 
street. :) )

g.

-- 
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.diy-cockpits.org/coll - Go Collimated or Go Home.
Some people collect things for a hobby.  Geeks collect hobbies.

ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
http://www.scarletdme.org - Get it _today_!


More information about the Simpits-tech mailing list