Arduino UNO Schematic

Hi,

I am using Arduino UNO Rev 3.0 for one of my project and proved POC. After that i redesigned the arduino onto the PCB, but when I connect USB the port in the IDE is grayed out.

  • Checked for the shorts
  • Checked for the USB voltage ( USB - 5V, D+ - 3.1V)

Here in my PCB I used ATmega16U2-AU for USB-to serail converter and ATmega168PA-AUR.

What could be the issue?

  • The design is wrong
  • The PCB is wrong
  • Your tests are wrong
  • something else

Did it work when you breadboarded the project or did you jump straight to PCB ?

If you post your schematic and PCB design here then there is a chance that someone will be able to help

Which program did you use to design the PCB ?

Did you upload any firmware to the 16U2? It's not a Serial to USB converter by default. :wink:

1 Like

HI,

Atteched image os schematic for the reference.

Attached schematic is for reference.

Since USB itself not working I have not done any programming.

1 Like

You need to program the 16U2 to be a USB to Serial converter. It is blank at the moment.

1 Like

Hi, @chaithra_ys
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".

In particular look at how to post code.

Thanks.. Tom... :grinning: :+1: :coffee: :australia:

If port is disabled how can I program?

Hi,

Why, wouldn't it have been easier to put some headers on your PCB and plug a Nano in?

Tom... :grinning: :+1: :coffee: :australia:

Using the ICSP interface

After programming only will port will enable?

Can you help me in which program should I use?

GOOGLE : DFU program 16U2

1 Like

Hi,

Yes it is working Now.
Thank you.

Just another question, is controller ATmega328P also should programmed?

Yes, you need to upload the bootloader.

1 Like

Sounds like maybe you need to install the firmware on the ATmega16u2. If the firmware currently loaded includes DFU (Direct Firmware Update) mode you should be able to use the Atmel FLIP program to upload new firmware. Here are instructions:

If the DFU firmware has been overwritten you will need to use an In-System Programmer (ISP) like the USBasp or USBtinyISP to burn fresh firmware. On my Mac the firmware you want appears to be this file: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/firmwares/atmegaxxu2/Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex

The commands on my Mac would be something like:

cd /Applications/Arduino.app/Contents/Java/hardware

tools/avr/bin/avrdude -C tools/avr/etc/avrdude.conf  -p at90usb162 -P usb -c usbtiny -v -F -e -u -U efuse:w:0xF4:m -U hfuse:w:0xDF:m -U lfuse:w:0xFF:m -U flash:w:arduino/avr/firmwares/atmegaxxu2/Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex -U lock:w:0x2b:m
1 Like

Ya....programmed...
Thank you

Can we re-write or re-flash the bootloader?

Or is it one time operation?

Yes.

should I use auto format?