Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

USB interface

USB interface

2005-02-24 by Hugo Oliveira

Hello Everyone, 
 Thats my first time writing to this group and I have a question
concerned with USB interface. I hope any of you can help me.

I am developing a board that uses the a new ATMEL microcontroller
(AT90PWM). I need this board to have a interface that will let me plug
16 of these in a PC. I am considering USB (with one ore two USB hubs)
but my microcontroller does not have this interface. I have a USART
and a SPI though. Are there such a thing like a USART <> USB chips
available? I dont what that part of my project to take a great deal of
time. It does not have to be a very cheap solution because it
represents only a small share of the project.

Thanks In Advance
Hugo Vieira de Oliveira

Re: [AVR-Chat] USB interface

2005-02-24 by Jesper Hansen

Look at the FTDI FT232 devices, www.ftdichip.com
They are perfect for this.

/Jesper


----- Original Message ----- 
Show quoted textHide quoted text
From: "Hugo Oliveira" <oliveira.hugo@gmail.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Thursday, February 24, 2005 4:25 PM
Subject: [AVR-Chat] USB interface


> 
> Hello Everyone, 
> Thats my first time writing to this group and I have a question
> concerned with USB interface. I hope any of you can help me.
> 
> I am developing a board that uses the a new ATMEL microcontroller
> (AT90PWM). I need this board to have a interface that will let me plug
> 16 of these in a PC. I am considering USB (with one ore two USB hubs)
> but my microcontroller does not have this interface. I have a USART
> and a SPI though. Are there such a thing like a USART <> USB chips
> available? I dont what that part of my project to take a great deal of
> time. It does not have to be a very cheap solution because it
> represents only a small share of the project.
> 
> Thanks In Advance
> Hugo Vieira de Oliveira
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
>

Re: [AVR-Chat] USB interface

2005-02-24 by Jeffrey Engel

Have you looked at the FTDI products?

www.ftdi.com

HTH,

Jeff Engel
--- Hugo Oliveira <oliveira.hugo@gmail.com> wrote:

> 
> Hello Everyone, 
>  Thats my first time writing to this group and I
> have a question
> concerned with USB interface. I hope any of you can
> help me.
> 
> I am developing a board that uses the a new ATMEL
> microcontroller
> (AT90PWM). I need this board to have a interface
> that will let me plug
> 16 of these in a PC. I am considering USB (with one
> ore two USB hubs)
> but my microcontroller does not have this interface.
> I have a USART
> and a SPI though. Are there such a thing like a
> USART <> USB chips
> available? I dont what that part of my project to
> take a great deal of
> time. It does not have to be a very cheap solution
> because it
> represents only a small share of the project.
> 
> Thanks In Advance
> Hugo Vieira de Oliveira
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     AVR-Chat-unsubscribe@yahoogroups.com
> 
>  
> 
> 
> 
> 


=====
Happiness is - positive intake manifold pressure.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

Re: [AVR-Chat] USB interface - Oops!

2005-02-24 by Jeffrey Engel

Wrong URL.  http://www.ftdichip.com/

Sorry, not enough caffeine.

Jeff
--- Jeffrey Engel <jengeltx@yahoo.com> wrote:

> 
> Have you looked at the FTDI products?
> 
> www.ftdi.com
> 
> HTH,
> 
> Jeff Engel
> --- Hugo Oliveira <oliveira.hugo@gmail.com> wrote:
> 
> > 
> > Hello Everyone, 
> >  Thats my first time writing to this group and I
> > have a question
> > concerned with USB interface. I hope any of you
> can
> > help me.
> > 
> > I am developing a board that uses the a new ATMEL
> > microcontroller
> > (AT90PWM). I need this board to have a interface
> > that will let me plug
> > 16 of these in a PC. I am considering USB (with
> one
> > ore two USB hubs)
> > but my microcontroller does not have this
> interface.
> > I have a USART
> > and a SPI though. Are there such a thing like a
> > USART <> USB chips
> > available? I dont what that part of my project to
> > take a great deal of
> > time. It does not have to be a very cheap solution
> > because it
> > represents only a small share of the project.
> > 
> > Thanks In Advance
> > Hugo Vieira de Oliveira


=====
Happiness is - positive intake manifold pressure.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Sports - Sign up for Fantasy Baseball. 
http://baseball.fantasysports.yahoo.com/

Re: [AVR-Chat] USB interface

2005-02-24 by Dave VanHorn

At 10:25 AM 2/24/2005, Hugo Oliveira wrote:

>Hello Everyone,
>  Thats my first time writing to this group and I have a question
>concerned with USB interface. I hope any of you can help me.
>
>I am developing a board that uses the a new ATMEL microcontroller
>(AT90PWM). I need this board to have a interface that will let me plug
>16 of these in a PC. I am considering USB (with one ore two USB hubs)
>but my microcontroller does not have this interface. I have a USART
>and a SPI though. Are there such a thing like a USART <> USB chips
>available? I dont what that part of my project to take a great deal of
>time. It does not have to be a very cheap solution because it
>represents only a small share of the project.


FTDI makes serial port chips that will do the interface for you.
They show up on the PC as a serial port, and connect directly to your uart 
signals.
You'll need to implement hardware handshaking.

Re: [AVR-Chat] USB interface

2005-02-24 by Jose Fuentes

I am going to test AT43USB355E that is an AVR with
USB.  This microcontroller needs a SPI EEPROM memory
like AT25HP512.  You have to load the program on the
EEPROM memory.

http://www.atmel.com/dyn/resources/prod_documents/doc2603.pdf

http://www.atmel.com/dyn/resources/prod_documents/doc1113.pdf


Regards

Jose

 --- Hugo Oliveira <oliveira.hugo@gmail.com> escribió:

> 
> Hello Everyone, 
>  Thats my first time writing to this group and I
> have a question
> concerned with USB interface. I hope any of you can
> help me.
> 
> I am developing a board that uses the a new ATMEL
> microcontroller
> (AT90PWM). I need this board to have a interface
> that will let me plug
> 16 of these in a PC. I am considering USB (with one
> ore two USB hubs)
> but my microcontroller does not have this interface.
> I have a USART
> and a SPI though. Are there such a thing like a
> USART <> USB chips
> available? I dont what that part of my project to
> take a great deal of
> time. It does not have to be a very cheap solution
> because it
> represents only a small share of the project.
> 
> Thanks In Advance
> Hugo Vieira de Oliveira
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     AVR-Chat-unsubscribe@yahoogroups.com
> 
>  
> 
> 
> 
>  


	

	
		
___________________________________________________________ 
250MB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar

Re: [AVR-Chat] USB interface

2005-02-24 by Ralph Hilton

On Thu, 24 Feb 2005 16:25:01 +0100 you wrote:

>
>Hello Everyone, 
> Thats my first time writing to this group and I have a question
>concerned with USB interface. I hope any of you can help me.
>
>I am developing a board that uses the a new ATMEL microcontroller
>(AT90PWM). I need this board to have a interface that will let me plug
>16 of these in a PC. I am considering USB (with one ore two USB hubs)
>but my microcontroller does not have this interface. I have a USART
>and a SPI though. Are there such a thing like a USART <> USB chips
>available? I dont what that part of my project to take a great deal of
>time. It does not have to be a very cheap solution because it
>represents only a small share of the project.

http://www.olimex.com/dev/index.html part AVR-P40-USB-8535 is a prototype board
for the ftdi chip which may be of use in getting things going.
--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Re: [AVR-Chat] USB interface

2005-02-25 by Hugo Oliveira

Thank you very much for the answer, I will take a look at those.
Show quoted textHide quoted text
On Thu, 24 Feb 2005 20:03:00 +0100, Ralph Hilton <ralph@ralphhilton.org> wrote:
> 
> On Thu, 24 Feb 2005 16:25:01 +0100 you wrote:
> 
> >
> >Hello Everyone,
> > Thats my first time writing to this group and I have a question
> >concerned with USB interface. I hope any of you can help me.
> >
> >I am developing a board that uses the a new ATMEL microcontroller
> >(AT90PWM). I need this board to have a interface that will let me plug
> >16 of these in a PC. I am considering USB (with one ore two USB hubs)
> >but my microcontroller does not have this interface. I have a USART
> >and a SPI though. Are there such a thing like a USART <> USB chips
> >available? I dont what that part of my project to take a great deal of
> >time. It does not have to be a very cheap solution because it
> >represents only a small share of the project.
> 
> http://www.olimex.com/dev/index.html part AVR-P40-USB-8535 is a prototype board
> for the ftdi chip which may be of use in getting things going.
> --
> Ralph Hilton
> http://www.ralphhilton.org
> C-Meter: http://www.cmeter.org
> FZAOINT http://www.fzaoint.net
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>

Re: [AVR-Chat] USB interface

2005-02-25 by Hugo Oliveira

Hi everyone, once more thanks for the answers. I have some more
questions though. Would I need a lot of code in the microcontroller
side, when using for example FT232BM? Are there any restrictions for
my 16 devices to be running together (could I cascade hubs for that?)
and what speed transmition I could achieve?

Thanks in Advance
Hugo Oliveira
Show quoted textHide quoted text
On Thu, 24 Feb 2005 10:59:51 -0500, Dave VanHorn <dvanhorn@dvanhorn.org> wrote:
> 
> At 10:25 AM 2/24/2005, Hugo Oliveira wrote:
> 
> >Hello Everyone,
> >  Thats my first time writing to this group and I have a question
> >concerned with USB interface. I hope any of you can help me.
> >
> >I am developing a board that uses the a new ATMEL microcontroller
> >(AT90PWM). I need this board to have a interface that will let me plug
> >16 of these in a PC. I am considering USB (with one ore two USB hubs)
> >but my microcontroller does not have this interface. I have a USART
> >and a SPI though. Are there such a thing like a USART <> USB chips
> >available? I dont what that part of my project to take a great deal of
> >time. It does not have to be a very cheap solution because it
> >represents only a small share of the project.
> 
> FTDI makes serial port chips that will do the interface for you.
> They show up on the PC as a serial port, and connect directly to your uart
> signals.
> You'll need to implement hardware handshaking.
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>

RE: [AVR-Chat] USB interface

2005-02-25 by Phillip Vogel

In the simplest setting, you just use the drivers from ftdi, and the device
looks like a com port on the PC. On the microcontroller end, it's an async
serial device. Just hook it up to the tx & rx pins of your uart, set the
baud rate accordingly, and it's running. Really couldn't be much simpler. 

Also, you may want to look at the modules from Lynx, which have the ftdi
chip and all the glue in a 16 pin hand-solderable package. Just add a USB
connector and you're good to go.

Phillip
http://www.visualconductor.com
Show quoted textHide quoted text
-----Original Message-----
From: Hugo Oliveira [mailto:oliveira.hugo@gmail.com] 
Sent: Friday, February 25, 2005 8:01 AM
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] USB interface


Hi everyone, once more thanks for the answers. I have some more
questions though. Would I need a lot of code in the microcontroller
side, when using for example FT232BM? Are there any restrictions for
my 16 devices to be running together (could I cascade hubs for that?)
and what speed transmition I could achieve?

Thanks in Advance
Hugo Oliveira



On Thu, 24 Feb 2005 10:59:51 -0500, Dave VanHorn <dvanhorn@dvanhorn.org>
wrote:
> 
> At 10:25 AM 2/24/2005, Hugo Oliveira wrote:
> 
> >Hello Everyone,
> >  Thats my first time writing to this group and I have a question
> >concerned with USB interface. I hope any of you can help me.
> >
> >I am developing a board that uses the a new ATMEL microcontroller
> >(AT90PWM). I need this board to have a interface that will let me plug
> >16 of these in a PC. I am considering USB (with one ore two USB hubs)
> >but my microcontroller does not have this interface. I have a USART
> >and a SPI though. Are there such a thing like a USART <> USB chips
> >available? I dont what that part of my project to take a great deal of
> >time. It does not have to be a very cheap solution because it
> >represents only a small share of the project.
> 
> FTDI makes serial port chips that will do the interface for you.
> They show up on the PC as a serial port, and connect directly to your uart
> signals.
> You'll need to implement hardware handshaking.
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>


 
Yahoo! Groups Links

Re: [AVR-Chat] USB interface

2005-02-25 by David Kelly

On Fri, Feb 25, 2005 at 10:12:30AM -0500, Phillip Vogel wrote:
> 
> In the simplest setting, you just use the drivers from ftdi, and the device
> looks like a com port on the PC. On the microcontroller end, it's an async
> serial device. Just hook it up to the tx & rx pins of your uart, set the
> baud rate accordingly, and it's running. Really couldn't be much simpler. 
> 
> Also, you may want to look at the modules from Lynx, which have the ftdi
> chip and all the glue in a 16 pin hand-solderable package. Just add a USB
> connector and you're good to go.

USB is the latest hot stuff and all that, and I admit that I'm not
paying full attention, but am a bit surprised not to see mention of
EIA/TIA-485. Its as simple as RS-232.

With any solution you'll have to devise a method of addressing the
specific unit out of the 16 proposed. Suspect via USB they will appear
in random order as pseudo-COM ports. Doubt you wish to code a full
Modbus protocol (http://www.modbus.org/) but the basics of a half duplex
one master many slaves are described in their documentation.

Some AVR boards such as the MAVRIC-II come with 485 hardware.

Ultra-cheap amateur radio operators used to build similar "diode matrix"
switches for AX.25 TNCs with common RS-232 interfaces. "It worked" was
the best one could say of that solution. Didn't scale well. Doubt it
would scale to 16 nodes.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Re: [AVR-Chat] USB interface

2005-02-25 by Jeffrey Engel

I like David's remarks, but has anyone else gotten 5
(and counting) copys as I have?

Jeff Engel
Arlington, TX
--- David Kelly <dkelly@hiwaay.net> wrote:

> 
> On Fri, Feb 25, 2005 at 10:12:30AM -0500, Phillip
> Vogel wrote:
> > 
> > In the simplest setting, you just use the drivers
> from ftdi, and the device
> > looks like a com port on the PC. On the
> microcontroller end, it's an async
> > serial device. Just hook it up to the tx & rx pins
> of your uart, set the
> > baud rate accordingly, and it's running. Really
> couldn't be much simpler. 
> > 
> > Also, you may want to look at the modules from
> Lynx, which have the ftdi
> > chip and all the glue in a 16 pin hand-solderable
> package. Just add a USB
> > connector and you're good to go.
> 
> USB is the latest hot stuff and all that, and I
> admit that I'm not
> paying full attention, but am a bit surprised not to
> see mention of
> EIA/TIA-485. Its as simple as RS-232.
> 
> With any solution you'll have to devise a method of
> addressing the
> specific unit out of the 16 proposed. Suspect via
> USB they will appear
> in random order as pseudo-COM ports. Doubt you wish
> to code a full
> Modbus protocol (http://www.modbus.org/) but the
> basics of a half duplex
> one master many slaves are described in their
> documentation.
> 
> Some AVR boards such as the MAVRIC-II come with 485
> hardware.
> 
> Ultra-cheap amateur radio operators used to build
> similar "diode matrix"
> switches for AX.25 TNCs with common RS-232
> interfaces. "It worked" was
> the best one could say of that solution. Didn't
> scale well. Doubt it
> would scale to 16 nodes.
> 
> -- 
> David Kelly N4HHE, dkelly@HiWAAY.net
>
========================================================================
> Whom computers would destroy, they must first drive
> mad.


=====
Happiness is - positive intake manifold pressure.


		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo

Re: [AVR-Chat] USB interface

2005-02-25 by David Kelly

On Fri, Feb 25, 2005 at 08:39:49AM -0800, Jeffrey Engel wrote:
> 
> I like David's remarks, but has anyone else gotten 5
> (and counting) copys as I have?

Only sent one copy, and only one shown in the list archives:
http://groups.yahoo.com/group/AVR-Chat/messages

So it might be time to study the headers of those 5 to discover where 4
were cloned.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.