Subject: EC2 USB interface
From: Rotary Engine
Date: 10/29/2011, 12:18 PM
To: AAA Put this in the To box <rotaryeng@earthlink.net>, Tracy Crook <tcrook@rotaryaviation.com>, Tracy Crook gmail <rwstracy@gmail.com>




Paul,

USB is widely used. A pain in the rear to debug unless you have some debug
tools, like Total Phase Beagle480 protocol analyzer. Most common use for USB
of an Atmel processor is datalogging either to thumb drives, or with a
bridge chip to SD cards.

FTDI makes USB to RS232 bridge chips. You need to run the driver software on
the host system, but those FTDI devices are widely used in the industry.


Biggest cost factor for an IC is the number of pins.

Tom

I have one of those FTDI devices on the large ZBasic board. Works great.

The RS232 to USB adapters work by merely plugging them in. How do they do that?
do they download the driver and dynamically install it? Kind of what we used
to call self modifying code :)

This simple circuit is all I need to get Tracy's EC to talk to an RS232.
I was thinking of using the RS232 to USB adapter cable from there.

I'll probably eventually do a custom breakout board with a DB9 RS232 connector
so people can connect their current EC2 to an android using a serial terminal
program for now. You will have to send a manual Hex Fx to stimulate the EC2 to
send out the data. Perhaps a batch file will work to do this over and over.
This will be tested shortly,


Paul Lamar


The FTDI drivers will auto load on some PC's.  Windows will recognize the attached FTDI RS232 chips USB
VID and PID (vendor ID, Product ID) and load the correct driver automatically.

FTDI Application Note:
http://www.ftdichip.com/Support/Documents/AppNotes/AN_107_AdvancedDriverOptions_AN_000073.pdf

You can get the drivers off this page:
http://www.ftdichip.com/FTDrivers.htm

Note they now list an Android Driver - so you are set to go!

Tom

That is great news Tom. One step closer to our goal. Thanks.

It is pretty easy to implement that USB chip. Here is how ZBasic
does it. Looks like it will fit on my EC2 breakout board as well.

Paul



-- 
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site. http://www.rotaryeng.net
Youtube key word PaulLamar2
Copyright 1998-2011 All world wide rights reserved.