Yahoo Groups archive

AVR-Chat

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

Thread

USB interfacing

USB interfacing

2007-08-27 by antdi25

hello friends,

i want to use USB for interfacing some basic testing
hardware like LED,LCD or keypad etc.but i don't know anything about
USB interfacing. For example ,i want to interface led using USB
power.How can i do it? & what type of software tool i will need for this?

please give me idea,if anybody know about it.

thanxs & regards
ankit

Re: USB interfacing

2007-08-27 by John

Just a thought, try the USB Organizations web-site:

http://www.usb.org/developers/docs/

Has all the technical specs for USB, this will provide the underlying
technology and some of the terminology.  Effectively, you have several
options for your device: 1) you can implement an already defined
device class (for example, a virtual serial port,) or 2) define your
own class.  Option 1 removes the need to write host drivers for the
devices.

Then, you can look at your micro-controller (assuming AVR, as that is
the forum's specialty,) and read through it's documents.  Most
microcontroller shops offer app notes or the like on implementing some
of the basic device classes, these would make a good starting point
for the microcontroller side of the project.

If you opt to make your own device class, you will need to write your
own host side drivers.  If you are using MS Win32, you will need the
Device Development Kit (DDK) from Microsoft.  If you are using Linux
or Mac OS, you should be able to use LibUSB.

John
--- In AVR-Chat@yahoogroups.com, "antdi25" <antdi25@...> wrote:
>
> hello friends,
> 
> i want to use USB for interfacing some basic testing
> hardware like LED,LCD or keypad etc.but i don't know anything about
> USB interfacing. For example ,i want to interface led using USB
> power.How can i do it? & what type of software tool i will need for
this?
Show quoted textHide quoted text
> 
> please give me idea,if anybody know about it.
> 
> thanxs & regards
> ankit
>

Re: [AVR-Chat] USB interfacing

2007-08-27 by Zack Widup

There are msny products available for USB interfacing.  Just do a Google 
search for "USB interface".

Here's one:

http://www.hobbyengineering.com/SectionIN.html

For $33, the USB232R looks like a great deal. This is one example of many 
you can find with a search.

Zack
Show quoted textHide quoted text
On Mon, 27 Aug 2007, antdi25 wrote:

> hello friends,
>
> i want to use USB for interfacing some basic testing
> hardware like LED,LCD or keypad etc.but i don't know anything about
> USB interfacing. For example ,i want to interface led using USB
> power.How can i do it? & what type of software tool i will need for this?
>
> please give me idea,if anybody know about it.
>
> thanxs & regards
> ankit
>

Re: [AVR-Chat] USB interfacing

2007-08-27 by Kurniawan Dian

hi antdi25,

try this,
http://www.obdev.at/products/avrusb/index.html or
http://www.cesko.host.sk/IgorPlugUSB/IgorPlug-USB%20(AVR)_eng.htm
or
http://www.xs4all.nl/~dicks/avr/usbtiny/

regards
Dian

--- antdi25 <antdi25@yahoo.co.in> wrote:

> hello friends,
> 
> i want to use USB for interfacing some basic testing
> hardware like LED,LCD or keypad etc.but i don't know
> anything about
> USB interfacing. For example ,i want to interface
> led using USB
> power.How can i do it? & what type of software tool
> i will need for this?
> 
> please give me idea,if anybody know about it.
> 
> thanxs & regards
> ankit
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
> 
> 



      ____________________________________________________________________________________
Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7

RE: [AVR-Chat] USB interfacing

2007-08-28 by Mujahidin

If you want to use pure usb communication you will spend your long time.
Because the usb protocol is very completely. In this millist is often
discuss about the usb communication, and the real solution for your problem
and you will spend short time is you can use usb to serial converter chip
(Maxim, philips and much more)

 

Or you can also use The Microchip microcontroller like PIC18F4550 (Support
with USB2.0 USB 1.1 and USB 1.0) , on this chip you can emulate RS232 over
USB with the template available on the microchip website. You can modify the
template as you want, you will look this very nice..

 

Regards,

 

iddhien (http://iddhien.com <http://iddhien.com/> )

 

 

  _____  
Show quoted textHide quoted text
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of antdi25
Sent: Monday, August 27, 2007 3:16 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] USB interfacing

 

hello friends,

i want to use USB for interfacing some basic testing
hardware like LED,LCD or keypad etc.but i don't know anything about
USB interfacing. For example ,i want to interface led using USB
power.How can i do it? & what type of software tool i will need for this?

please give me idea,if anybody know about it.

thanxs & regards
ankit

 



[Non-text portions of this message have been removed]

RE: [AVR-Chat] USB interfacing

2007-08-28 by Alex Shepherd

> hello friends,
> 
> i want to use USB for interfacing some basic testing
> hardware like LED,LCD or keypad etc.but i don't know anything 
> about USB interfacing. For example ,i want to interface led 
> using USB power.How can i do it? & what type of software tool 
> i will need for this?
> 
> please give me idea,if anybody know about it.

Have a look at this website:

http://www.obdev.com/products/avrusb/index.html

I have assembled a version with a Mega48 to do USB to TTL 3.3V UART serial
and it seems to work ok if I connect it directly to the USB port on my
notebook but it won't work with a USB hub :(

YMMV

Alex Shepherd

Re: USB interfacing

2007-09-03 by antdi25

Thanks to all friends for help me by given such a good information.It
can be very useful for me to do my work easily.

thanks & regards
ankit
--- In AVR-Chat@yahoogroups.com, "Mujahidin" <iddhien@...> wrote:
>
> If you want to use pure usb communication you will spend your long time.
> Because the usb protocol is very completely. In this millist is often
> discuss about the usb communication, and the real solution for your
problem
> and you will spend short time is you can use usb to serial converter
chip
> (Maxim, philips and much more)
> 
>  
> 
> Or you can also use The Microchip microcontroller like PIC18F4550
(Support
> with USB2.0 USB 1.1 and USB 1.0) , on this chip you can emulate
RS232 over
> USB with the template available on the microchip website. You can
modify the
> template as you want, you will look this very nice..
> 
>  
> 
> Regards,
> 
>  
> 
> iddhien (http://iddhien.com <http://iddhien.com/> )
> 
>  
> 
>  
> 
>   _____  
> 
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On
Behalf
> Of antdi25
> Sent: Monday, August 27, 2007 3:16 PM
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] USB interfacing
> 
>  
> 
> hello friends,
> 
> i want to use USB for interfacing some basic testing
> hardware like LED,LCD or keypad etc.but i don't know anything about
> USB interfacing. For example ,i want to interface led using USB
> power.How can i do it? & what type of software tool i will need for
this?
Show quoted textHide quoted text
> 
> please give me idea,if anybody know about it.
> 
> thanxs & regards
> ankit
> 
>  
> 
> 
> 
> [Non-text portions of this message have been removed]
>

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.