Sunday, June 14, 2020

How to directly upload a sketch to Arduino UNO using USB to TTL Module (CP2102) - Arduino Tutorials #11

In this post, I will show you how to upload a sketch to Arduino UNO using USB to TTL Module (CP2102)

If you prefer video mode you can click here to watch the video.

First, connect the circuit as per the circuit diagram

directly upload a sketch to Arduino UNO using USB to TTL Module
Next, connect the USB to TTL module to Laptop or Desktop

directly upload a sketch to Arduino UNO using USB to TTL Module

Next, select the board as Arduino UNO, Port as per your COM port and the Programmer as AVRSIP mkII

directly upload a sketch to Arduino UNO using USB to TTL Module
Next, select any sketch (For example BLINK)

directly upload a sketch to Arduino UNO using USB to TTL Module

Next, click the Upload button to upload your sketch to Arduino UNO

directly upload a sketch to Arduino UNO using USB to TTL Module

Once the compiling is done and you get the notification uploading, press the push button immediately on the Arduino UNO for manual Reset for your sketch to get uploaded to the Arduino UNO

directly upload a sketch to Arduino UNO using USB to TTL Module

directly upload a sketch to Arduino UNO using USB to TTL Module

If you pressed the push button at the right time and you're in sync your sketch will be uploaded and you will get the notification Done Uploading

directly upload a sketch to Arduino UNO using USB to TTL Module

If you pressed the push button at the wrong time and you're not in sync you will get the below Error
directly upload a sketch to Arduino UNO using USB to TTL Module

Affiliate Links:
Amazon USA Amazon IND
Thank You For Reading

How to upload a sketch to Atmega328p using USB to TTL Module (CP2102) on a breadboard - Arduino Tutorials #10

In this post, I will show you how to upload a sketch to Atmega328p using USB to TTL Module (CP2102)

If you prefer video mode you can click here to watch the video.

First, connect the circuit as per the circuit diagram

upload a sketch to Atmega328p using USB to TTL Module

After making the connection connect it to a Laptop or a Desktop

upload a sketch to Atmega328p using USB to TTL Module

Next, select the board as Arduino UNO, Port as per your COM port and the Programmer as AVRSIP mkII

upload a sketch to Atmega328p using USB to TTL Module
Next, select any sketch (For example BLINK)

upload a sketch to Atmega328p using USB to TTL Module

Next, click the Upload button to upload your sketch to Atmega328p

upload a sketch to Atmega328p using USB to TTL Module

Once the compiling is done and you get the notification uploading, press the push button immediately on the breadboard for manual Reset for your sketch to get uploaded to the Atmega328p
upload a sketch to Atmega328p using USB to TTL Module

upload a sketch to Atmega328p using USB to TTL Module

If you pressed the push button at the right time and you're in sync your sketch will be uploaded and you will get the notification Done Uploading

upload a sketch to Atmega328p using USB to TTL Module

If you pressed the push button at the wrong time and you're not in sync you will get the below Error
upload a sketch to Atmega328p using USB to TTL Module

Next, connect the remaining circuit which the sketch was intended for. In my case 220 Ohm & Led to Pin 19 of the Atmega328p for the Blink Sketch

upload a sketch to Atmega328p using USB to TTL Module

Affiliate Links:
Amazon USA Amazon IND
Thank You For Reading

How to upload sketch to Atmega328p using Arduino UNO on a Breadboard - Arduino Tutorials #9

In this post, I will show you how to upload a sketch to Atmega328p using Arduino UNO on a Breadboard

If you prefer video mode you can click here to watch the video.

First, Remove the Atmega328p chip from the Arduino UNO board

upload sketch to Atmega328p using Arduino UNO on a Breadboard

Next, make the connections as per the circuit diagram
upload sketch to Atmega328p using Arduino UNO on a Breadboard circuit Diagram

upload sketch to Atmega328p using Arduino UNO on a Breadboard

Next, select the board as Arduino UNO, Port as per your COM port and the Programmer as AVRSIP mkII

upload sketch to Atmega328p using Arduino UNO on a Breadboard
Next, select any sketch (For example BLINK)

upload sketch to Atmega328p using Arduino UNO on a Breadboard

Next, click the Upload button to upload your sketch to Arduino UNO

upload sketch to Atmega328p using Arduino UNO on a Breadboard

Next, connect the remaining circuit which the sketch was intended for. In my case 220 Ohm & Led to Pin 19 of the Atmega328p for the Blink Sketch

upload sketch to Atmega328p using Arduino UNO on a Breadboard

Affiliate Links:
Arduino UNO
Thank You For Reading !!!

How to Bootload Atmega328p using TWO Arduino UNO - Arduino Tutorials #8

In this post, I will show you how to Bootload Atmega328p using two Arduino UNO

If you prefer video mode you can click here to watch the video. Bootloading part starts @ 1:30

To bootload Atmega328p first, you have to turn one of your Arduino UNO into ISP (In-System Programmer)


After turning one of the Arduino UNO into ISP, Remove the existing controller chip from the other Arduino UNO board

How to Bootload Atmega328p using TWO Arduino UNO

Next insert the newly purchased Atmega328p chip

How to Bootload Atmega328p using TWO Arduino UNO

Next, make the connections as per the circuit diagram

How to Bootload Atmega328p using TWO Arduino UNO

How to Bootload Atmega328p using TWO Arduino UNO

Next, select the board as Arduino UNO, Port as per your COM port and the Programmer as Arduino as ISP

How to Bootload Atmega328p using TWO Arduino UNO
Next click on Burn Bootloader to Bootload Atmega328p

How to Bootload Atmega328p using TWO Arduino UNO
Once the bootloading is done you will get the message Done Burning Bootloader 

How to Bootload Atmega328p using TWO Arduino UNO

Affiliate Links:
Arduino UNO
Thank You For Reading !!!

How to Bootload Atmega328p using Arduino UNO on a Breadboard - Arduino Tutorials #7

In this post, I will show you how to Bootload Atmega328p using Arduino UNO

If you prefer video mode you can click here to watch the video. Bootloading part starts @ 1:30

To bootload Atmega328p first, you have to turn your Arduino UNO into ISP (In-System Programmer)


After turning Arduino UNO into ISP, connect the circuit according to the circuit diagram

How to Bootload Atmega328p using Arduino UNO
Next, connect the Arduino UNO to Laptop or Desktop

How to Bootload Atmega328p using Arduino UNO

Next, select the board as Arduino UNO, Port as per your COM port and the Programmer as Arduino as ISP
How to Bootload Atmega328p using Arduino UNO
Next click on Burn Bootloader to Bootload Atmega328p

How to Bootload Atmega328p using Arduino UNO
Once the bootloading is done you will get the message Done Burning Bootloader 

How to Bootload Atmega328p using Arduino UNO

Affiliate Links:
Arduino UNO
        Atmega328p
Thank You For Reading !!!

Saturday, June 13, 2020

How to turn Arduino UNO into ISP (In System Programmer) - Arduino Tutorials #6

In this post, I will show you how to turn Arduino UNO into In-System Programmer (ISP).

If you prefer video mode you can click here to watch the video.

First, connect Arduino UNO to a laptop or a Desktop

How to turn Arduino UNO into ISP

Next, select the Board under Tools > Board > Arduino UNO

How to turn Arduino UNO into ISP

Next, select the port under Tools > Port > Your COM port

How to turn Arduino UNO into ISP

Next, select the programmer under Tools > Programmer > Arduino as ISP

How to turn Arduino UNO into ISP


Next, select the sketch ArduinoISP under File > Examples > ArduinoISP

How to turn Arduino UNO into ISP


Next, upload the sketch ArduinoISP to Arduino UNO

How to turn Arduino UNO into ISP

How to turn Arduino UNO into ISP


Once uploading is done connect a 220-ohm resistor and LED to Pin 9 to verify if the upload was successfully uploaded.

If the upload was successful you will get Fade Effect like Hear Beat.

How to turn Arduino UNO into ISP

How to turn Arduino UNO into ISP

Affiliate Links for Arduino UNO
Thank You For Reading