Egizmo USB to UART Converter to Program ATmega328p (w/ DTR Pin!)

by geeameal in Circuits > Arduino

1336 Views, 3 Favorites, 0 Comments

Egizmo USB to UART Converter to Program ATmega328p (w/ DTR Pin!)

usb to uart 1-500x500.jpg

This will help you upload code to an atmega328p for your standalone arduino project using Egizmo USB to UART converter. This adapter has a DTR pin, but in this tutorial, we won't be needing it

F4GCW3RJ7AQSH2W.MEDIUM.jpg

First let’s see if the adapter’s working.

Plug in the adapter >> Open Arduino IDE >> Select the proper COM port >> Open Serial Monitor >> then type in “Hello World”, it should print “Hello World” in the monitor, if not something is wrong (SKIP THE NEXT STEP IF YOUR ADAPTER IS PROPERLY WORKING)

Fixing the Adapter's Driver

FF669JPJ7AQSGUO.MEDIUM.jpg

Device Manager >> Ports (COM & LPT)

If there is a yellow triangle next to “Prolific USB-to-Serial Comm Port”, that means correct driver version is not installed.

(Click this for more info)

Uninstall your existing driver (Control Panel >> Uninstall a program)

Download driver

Then install and done!

Do step 1 again to see if the adapter is now working

Make the Necessary Wirings

FCIUS8VJ7AQSHD6.MEDIUM.jpg
F0L2F6UJ7AQSHD1.MEDIUM.jpg

For atmega328p on a breadboard, make the following connections (also, add an LED in series with a 100 ohm resistor on atmega328p pin 19/digital pin 13 for testing later)

Parts: 1. Pushbutton (normally open)

2. 1 10kohm resistor

3. 2 22pF ceramic capacitors

4. Atmega328p

5. 16 MHz crystal oscillator

Uploading Codes

FTCY7ARJ7AQSHMQ.MEDIUM.jpg
FSNCIEXJ7AQSHMP.MEDIUM.jpg

For uploading code:

1. First make the following connections with the Egizmo USB to UART Converter

Egizmo USB to UART Converter >>>Atmega328p

5V >>> 5V rail

GND >>> GND rail

TXD >>> Pin 2 / RX pin

RXD >>> Pin 3 / TX pin

2. Open Arduino IDE >> File >> Examples >> Basics >> Blink

3. Press the pushbutton >> Hit upload

4. Keep on pressing if it says “Compiling sketch…”

5. Release the button as soon as it says “Uploading…”

6. Done!