Stand Alone Arduino

Thread Starter

kurtruk

Joined Aug 26, 2012
140
I am working on a project that will eventually use a stand alone arduino. It needs to communicate to the PC via USB. Do I need a seperate chip to handle these communications or can I just connect the USB data pins to pins 0 and 1 on the atmega?

Note: I can easily program it with the arduino uno that is not a issue. But the program needs USB input and output to run.
 

sirch2

Joined Jan 21, 2013
1,071
You cannot connect the TX/RX on the arduino to USB directly but there are "USB to Serial" adapters available cheaply on ebay etc. You then connect TX/RX to the adapter and then connect that to the USB on your PC.

I think it is typically better to use one of these than to put an FTDI chip on your standalone board since it will consume power and add complexity that you don't need.

<edit>
Of course what I meant to write was:
You cannot connect the TX/RX on the ATMega to USB directly
 
Last edited:

shteii01

Joined Feb 19, 2010
4,644
I worked with Arduino Due board, it has USB. I simply plugged Due to pc using USB cable (follow driver installation instructions), it worked fine and I had no trouble sending data from Due to pc.

UNO has USB already.



From UNO website:
http://arduino.cc/en/Main/ArduinoBoardUno

"An ATmega16U2 on the board channels this serial communication over USB and appears as a virtual com port to software on the computer."

"The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board."
 
Last edited:

Thread Starter

kurtruk

Joined Aug 26, 2012
140
Yes I did. In my original question and title it says stand alone arduino so that means just the atmega chip not the whole arduino uno. Why pay for a whole new uno when you can get an atmega chip for a couple bucks.
 

djsfantasi

Joined Apr 11, 2010
9,237
Ahh. Terminology confusion. To me, Arduino is a system and an Atmega is a microcontroller. Hence, I personally think that a standalone Arduino doesn't exist. I'd use "Atmega" instead. To each his own.
 

shteii01

Joined Feb 19, 2010
4,644
Top