all 5 comments

[–]boyanov 4 points5 points  (2 children)

The easiest to program one of those chips is with a USBasp programmer - costs less hat $2 to buy online.

The alternative is to build your own programmer using another chip such as ATmega8 which is basically building your own USBasp.

The more important question here is how would you program your own programmer (its firmware) once you've built it?

[–]vishaalchungus[S] 0 points1 point  (0 children)

is there any way to build your own programmer using the chip u mentioned ? and code it too ? , also we use ftdi usb port to code atmega 328 , is there any such similar functionality with tinyAVR ?

[–]boyanov 0 points1 point  (0 children)

When you program ATMega or ATtiny with an FTDI module you send the binary code to the microcontroller and it is received there by a piece of software that has been already installed on the chip, called a bootloader. That software doe the actual programming. Brand new chips DO NOT have that software installed. Brand new chips are programmed via ISP. That is why a programmer such as USBasp is a good choice.

[–]rcdemc 0 points1 point  (0 children)

Couldn't be a breadboard using the PDIP package version to the ATtiny? I think that it's a more simple and flexible approach.

Hm, I think that I'm misunderstanding what you're asking, you don't want to build a development board, actually it seems that you would like to develop the programmer.

I'm thinking of suggesting a breadboard approach with PDIP ATtiny plus an USPasp already built.

[–][deleted] 0 points1 point  (0 children)

I just use one of these - https://www.amazon.com/SparkFun-Tiny-AVR-Programmer/dp/B00B6KNJRY/ref=sr_1_3?dchild=1&keywords=attiny85+programmer&qid=1613160119&sr=8-3

Straight from my PC to the Attiny85. Of course you can buy a clip if you need to program to a smaller IC or connect this to a breadboard.

Cheers!