Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Connecting Atmega8 directly to PC via USB

Status
Not open for further replies.

d_a_l_3

Junior Member level 1
Joined
Jun 8, 2007
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Croatia
Activity points
1,387
Hi

I have Atmega8 and I need USB connection with PC, to control LedMatrix
Now, can someone help me to realize that, I have seen many with PIC
But not USB to serial and than, I need direct methode to comunicate with Atmega(

Thanks
 

atmega usb

Since the ATMega8 doesn't sport a USB controller you have to use, either a serial/parallel connection or get a USB-serial converter which simply installs a driver on the host PC so that the whole connection will look like a serial(emulated) link so you can use just about any program to talk to your controller.

Also don't forget to use a RS232-TTL serial level translator lke MAX232.

If all that sounds to summarised you can do the following:

Get a USB-Serial converter and install it on your PC
Also use a MAX232 or similar IC as a level translator for your microcontroller(ATMega8)
Decide on a buad rate and other serial settings like pariy.
You can immediately test your code with the built-in utility program called Hyper Terminal that comes preinstalled with most windows versions.
 

usb atmega8

Take a look at this page, A Firmware-Only USB Driver for Atmel AVR Microcontrollers:

**broken link removed**

Should be ideal for your project and can run in a ATmega8.
 

atmega8 usb driver

Hi

Why not use one of the Atmel AT90USBxxx devices , It is a AVR with USB port included. Your mega8 code will run as is , just add the usb code

Wb
 

atmega8 usb

Hi

Because I can't buy AT90USBxxx devices in my country...
That is problem...

:D
 

atmega usb driver

I have found this on www.obdev.at

**broken link removed**

when I connect device say Device not recognized-Unknown Device

P.S.
I'm not sure if I'm doing everything well, with firmware....
If someone has made this can post firmware here???

thx
 

atmega8 usb rs232

hope it usedfull
 

usb atmega

Try app note avr309 from atmel
 

atmega8 usb serial

use FT232R or FT245R from ftdichip ,they also provide good drivers for windows(VCP,DLL)
 

usb serial atmega8

hi,
i have a program for connecting atmega8 with usb, and send data from avr to PC.
but when i debug the code with avr studio, these errors appear" undefined reference to `usbPoll, undefined reference to `usbMsgPtr', undefined reference to `usbInit'".
and when i include "usbdrv.c" in main function this is the error "undefined reference to `usbCrc16'"
this variable is in "usbdrv.c"

i am beginner, could someone help me please?

i have attached source codes.[/code]
 

usb driver atmega8

hi,
i`m using a FT232RL rs232 to usb interface and the result is good.
the only problem is making a graphical .exe program for communication with micro.
 

Re: usb serial atmega8

hi,
i have a program for connecting atmega8 with usb, and send data from avr to PC.
but when i debug the code with avr studio, these errors appear" undefined reference to `usbPoll, undefined reference to `usbMsgPtr', undefined reference to `usbInit'".
and when i include "usbdrv.c" in main function this is the error "undefined reference to `usbCrc16'"
this variable is in "usbdrv.c"

i am beginner, could someone help me please?

i have attached source codes.[/code]

hey u find anything related to it.... i am in need .please reply soon
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top