electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

AVR chip and USB from scratch - soft/hardware


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> AVR chip and USB from scratch - soft/hardware
Author Message
Zhasha



Joined: 03 Dec 2005
Posts: 30
Location: Denmark


Post06 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


Post06 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


Post06 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 Wink
Back to top
dipal_z



Joined: 21 Apr 2005
Posts: 292
Helped: 32
Location: India


Post06 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


Post08 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
Google Adsense




Post08 May 2006 16:16   

Ads




Back to top
Zeppelin



Joined: 12 May 2006
Posts: 27
Helped: 1


Post15 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 Smile
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> AVR chip and USB from scratch - soft/hardware
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Making a usb controller or usb interface with avr and pic (1)
send data from PC to avr through usb (1)
Chip read data from USB ! (4)
JAVA Start from scratch (6)
Building IR Sensor from scratch (4)
how can i send data from a avr to pc via usb port? (5)
i want to start linux from scratch (18)
Building the PICKit2 from scratch (37)
2-Stage OPAMP design from scratch (6)
how to make an FPGA kit from scratch (10)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS