| Author |
Message |
Zhasha
Joined: 03 Dec 2005 Posts: 30 Location: Denmark
|
06 Dec 2005 2:25 driver avr309 |
|
|
|
|
i want to interface my computer with an ATmega16L chip - without any "designed for the job" chip in between
so im just wondering if thats even possible, and if anyone has any documentation on it
as the title says, im looking for both hardware and software design
keeping in mind that i want to program it in ASM and design it with only 1 ATMEL chip (no PIC what-so-ever)
i have resistors, transistors, diodes, capacitors, etc to work with. and an STK500 from Atmel
|
|
| Back to top |
|
 |
hermin
Joined: 19 Apr 2005 Posts: 135 Helped: 9
|
06 Dec 2005 4:11 usb from scratch |
|
|
|
|
| The atmega16 runs on 5V right? then for that one you could try to use the parallel port for data transfer, but if it runs on 3.3 you may need additional transistors to translate the voltage signals from 3.3 to 5v, if you are planning to use the serial ports, im afraid you may need a driver ic like max232 or max233 from maxim, for usb i also think that you may need another ic like a usb translator or something to interface them....well basically, parallel port is the easiest and with less components
|
|
| Back to top |
|
 |
Zhasha
Joined: 03 Dec 2005 Posts: 30 Location: Denmark
|
06 Dec 2005 7:10 avr programing soft |
|
|
|
|
yes im aware that RS232 connection is the easiest, but i would prefer using USB (without the USB<->RS232 converter)
if its possible to create an IC to perform the task, why shouldnt one be able to recreate the necesarry hardware externally?
also i believe its more fun to build and program it on your own, thus getting a better insight in the USB protocol and how it actually works instead of relying on others making it for you
|
|
| Back to top |
|
 |
dipal_z
Joined: 21 Apr 2005 Posts: 292 Helped: 32 Location: India
|
06 Dec 2005 8:09 AVR chip and USB from scratch - soft/hardware |
|
|
|
|
Get AVR309: Software Universal Serial Bus (USB)
from this page
http://www.atmel.com/dyn/products/app_notes.asp?family_id=607
Its firmware only implementation of low speed USB (1.5 Mbit/s) in accordance with USB2.0
|
|
| Back to top |
|
 |
yogi
Joined: 08 Jan 2005 Posts: 345 Helped: 17
|
08 May 2006 16:16 AVR chip and USB from scratch - soft/hardware |
|
|
|
|
might this can help u
Here is one book for programming AVR using WinAVR (C programming). It is a beginner tutorials
you can get it from yahoo group-booksbybibin
http://groups.yahoo.com/group/booksbybibin/
|
|
| Back to top |
|
 |
Google AdSense

|
08 May 2006 16:16 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
Zeppelin
Joined: 12 May 2006 Posts: 27 Helped: 1
|
15 May 2006 17:48 Re: AVR chip and USB from scratch - soft/hardware |
|
|
|
|
Have a look at Jan Axelson's page:
http://www.lvr.com/boardusb.htm
You might want to use the AT76C711 which is USB enabled.
I don't think designing from scratch is a good idea here; I imagine to do this you have to be very good at both software & hardware & the result might not be as good as you want. A while ago I came across an eBook on USB, let me know if you are interested & I'll try to find the link for you.
Never the less wish you the best of luck
|
|
| Back to top |
|
 |