This will help you upload code to an atmega328p for your standalone arduino project using USB to serial / TTL adapter!
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.
Uninstall your existing driver (Control Panel >> Uninstall a program)
Then install and done!
Do step 1 again to see if the adapter is now working
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 if it says “Compiling sketch…”
5. Release the button as soon as it says “Uploading…”
6. Done!