Electronic – arduino – Trasferring Arduino chip from prototype platform to a PCB (Serial Communication)

arduinopcbserialusb

I have been working on a little project where my Arduino Uno sends the IMU sensor's data to the PC via serial (Printing the data on serial monitor. I ma planning the transfer the programmed Arduino chip (Atmega) from the prototype platform to a PCB. I have read that I just need a crystal and a couple of capacitor to run the already programmed Arduino chip on a PCB. And I could use the prototype platform to program the chip and transfer back o the PCB.

My question here, can the Arduino on the PCB still perform the serial communication with the PC? Does the PCB need extra components such as a USB-to-Serial converter in order to perform the serial communication? Please explain.

Best Answer

Transferring to PCB

See How do I create a permanent application from something prototyped with Arduino? for general guidance. Doesn't cover serial comms specifically.

Serial comms

For serial comms you can connect a suitable USB-to-serial cable such as an FTDI cable. You'd connect it to header pins on your PCB that you linked to the appropriate pins on the ATmega.

Or you can add the USB interface to your PCB design using the same FTDI FT232RL chip and support components used on the older Arduinos. See page 27 of the data sheet. I believe you can omit the level convertor (as you are connecting the ATmega IC not a +/- 12V serial device). See also SparkFun's breakout as an example.

See also "ATmega328 hardcore"