Copying Code

Hi People:

Is the arduino the easiest way to upload a code into a microcontroller (for example, an Attiny 85) OR is there another way/ways to do this?

I need to know the answer to this as uploading code using the Arduino is the only way I am familiar with. If there is an easier/better way to do this, would like to know about that.

Many thanks in advance.

(deleted)

What do you mean by "uploading code using the Arduino"? By "Arduino", do you mean the Arduino IDE, or an Arduino board used as an "Arduino as ISP" programmer?

Hi Pert:

Here is what I do. I fix the Attiny chip on the breadboard. Hook up the Arduino to my PC. Connect the terminals of Attiny to Arduino (as per data sheet). I have the code on my PC in word. I upload to the Attiny chip using Arduino. I guess this means Arduino IDE.

Hope this explains. I am a darned rookie at this game.

I needed to know if there is an easier way to upload code from PC to microcontrollers, for example, uploading code to an ATmega328p using USB to TTL. I found this a little uncomplicated.

Kindly help. All advise is welcome. Thanks in advance.

Regarding software, using the Arduino IDE is the easiest way to upload.

Regarding hardware, using a dedicated ISP programmer instead of an Arduino board as an Arduino as ISP programmer would be a little bit easier because you need to first upload the ArduinoISP sketch to the Arduino board and often will need to connect a 10 uF capacitor between the reset and ground pins of the Arduino board.

It is possible to install a bootloader on the ATtiny85 so that you can upload to it using a USB to TTL serial adapter, but this will use up 576 of the already limiting 8192 bytes of flash memory on the ATtiny85 so it's not done as often. ATTinyCore comes with a bootloader for the ATtiny85: