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.

communication of AT MEGA 2560 via USB

Status
Not open for further replies.

ismbn

Full Member level 3
Joined
Feb 11, 2012
Messages
160
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,308
Location
Mumbai. india
Activity points
2,444
Hi.

I have a project in that I am using At mega 2560. I am planing to make my own board. I have seen the ARDUINO mega 2560 also but cant use it because some of the pins are used by them and not given out side to use that I required the most like CLK OUT etc...

The Thing is in this work AVR should be to communicate with the computer all the time . That is way I am planing to use USB for communication and burning of the program also, I want to Ask "is it possible to burn and communicate via USB?"

how I can do this??

please help waiting for your valuable time....
Mohammed Ismail
 

One of the simplest methods would be to use a USB to UART bridge chip like the FTDI FT232R or Silabs CP21XX. This approach would require the dedication of one of the Atmega2560 UARTs to the bridge chip.

FTDI FT Series ICs - USB Slave Converters

Silabs USB to UART Bridge



There are also firmware/soft implementations of USB for AVR:

**broken link removed**

However, keep in mind they are quite slow in comparison to the hardware alternatives and require significant processing overhead.



The Arduino uses the FTDI FT232R chip, if I remember correctly.

BigDog
 
  • Like
Reactions: ismbn

    ismbn

    Points: 2
    Helpful Answer Positive Rating
One of the simplest methods would be to use a USB to UART bridge chip like the FTDI FT232R or Silabs CP21XX. This approach would require the dedication of one of the Atmega2560 UARTs to the bridge chip.

FTDI FT Series ICs - USB Slave Converters

Silabs USB to UART Bridge



There are also firmware/soft implementations of USB for AVR:

**broken link removed**

However, keep in mind they are quite slow in comparison to the hardware alternatives and require significant processing overhead.



The Arduino uses the FTDI FT232R chip, if I remember correctly.

BigDog



Thank you so much for the reply Sir.

I got your point and realy vary thank full. i have some more point sir.

in this application of which i am making that project the AVR have to communicate with the computer is this use full for that also..

i think that FTDI is not the programmable. am i correct?



Mohammed ismail
 

and sir Arduino is not using FTDI . this they are using AT mega 8u2 for usb to serial converter. if i use that atmega 8u2 i need the program for of that and this is thebig problem

please help...

ismail
 

  • Like
Reactions: ismbn

    ismbn

    Points: 2
    Helpful Answer Positive Rating
there is a machine provide the co-ordinates from which i want to read the data, this data will go to the uC, and then uC will give that data to PC and pc will make the graph of it.
 

What is the throughput rate required for the microcontroller to PC connection?


If you require USB connectivity the USB to UART Bridge Chips are a good option.

You can purchase a ready made breakout board like the following by which to test and develop the concept:

FT232RL USB to UART Breakout Board

I keep a few on my workbench as they often come in handy.

Also checkout FTDI's website for datasheet and relevant appnotes.


BigDog
 
  • Like
Reactions: ismbn

    ismbn

    Points: 2
    Helpful Answer Positive Rating
thank you so much sir

i will get back to you if any Question

thak you
 

Hello guys,

We work a lot of with microcontrolers and RS232 comunication is a very important. Some devices contain embedded MAX232, others use TTL levels (5V or 3.3V). Because of that we made small PCB with FTDI FT232RL chip for this pourposes. Configuration is made trough jumpers, and board can give extern supply for other devices (USB supplied). Also, we fgured out how to configure FT232RL chip.

You can see shematic and even make your own PCB, just visit link: https://www.electronics-base.com/in...cts/143-usb-to-serial-adapter-using-ftdi-chip

Greetings...
 

hi electronicsbasecom ....

but i have seen that it goes hang time to time... can we overcome this problem with your project...

Mohammed Ismail
 

It can happend that, but in most cases we are responsible for that. We dont have problems that can be marked as unexplained.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top