0% found this document useful (0 votes)
3 views4 pages

Programming ATmega328

Yey!

Uploaded by

Jay Amiel Ajoc
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

Programming ATmega328

Yey!

Uploaded by

Jay Amiel Ajoc
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

GETTING STARTED

[Link]

FIX FOR YELLOW EXCLAMATION

[Link]
fix-official-solution-to-code-10-error

USING USB TO SERIAL/TTL Adapter

(Insert image 1)

First lets see if the adapters 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)


(Insert image 2)

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.

(See this link for more info:


[Link]
fix-official-solution-to-code-10-error)

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


Then click this to download a new driver:
([Link]
Then install and done!

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


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

For uploading code:


1. First make the following connections with the USB to Serial/TTL Adapter
USB to Serial/TTL Adapter 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 it says Compiling sketch


5. Release the button as soon as it says Uploading

6. Done!

Common questions

Powered by AI

If the Prolific USB-to-Serial adapter is not working and a yellow triangle is displayed in Device Manager, it indicates that the correct driver version is not installed. The troubleshooting steps include uninstalling the existing driver via Control Panel, then downloading and installing the new driver from the provided Google Drive link . Once the new driver is installed, repeat the initial setup steps to verify that the adapter is now functioning correctly .

You might also like