0
\$\begingroup\$

I'm thinking to build a PCB for programming ATtiny85 (in Arduino IDE) with ch340. Can I use this schematic?

Schematic

(Source)

\$\endgroup\$
0

2 Answers 2

1
\$\begingroup\$

Programming AVR needs some sort of parallel IO port, FT232, or USBasp, or a cheap Arduino Uno clone are probably the cheapest options. unless you have a computer with an actual parallel port.

\$\endgroup\$
2
  • \$\begingroup\$ ISP is parallel? FT232 is USB to UART and USBasp uses ATmega8 or '88. \$\endgroup\$ Commented Dec 22, 2023 at 3:49
  • \$\begingroup\$ FT232 is much more than that. \$\endgroup\$ Commented Dec 23, 2023 at 12:23
0
\$\begingroup\$

No. At least not without already having some Arduino compatible or otherwise UART capable bootloader being programmed into the Tiny85.

So you need an ISP programmer anyway to program anything you want like a bootloader to an empty Tiny85 before you can use the bootloader to upload firmare without ISP programmer.

\$\endgroup\$
3
  • \$\begingroup\$ Can use CP210x? \$\endgroup\$ Commented Dec 21, 2023 at 22:21
  • \$\begingroup\$ Same applies to all USB UART ICs. Unless they are capable of bit-banging the ISP interface, and you have some programming software that supports using some USB UART IC in bit-banging mode to do ISP. But then you can't use those schematics either. Did you know you can use an Arduino as an ISP programmer? If you already have an Arduino you don't need to build any programmer. \$\endgroup\$
    – Justme
    Commented Dec 21, 2023 at 22:24
  • \$\begingroup\$ Yes I know. But I want to do a minimal pcb for specifically programming ATtiny25/45/85. Will I need atmega16u2/32u4? In my country it's very expensive. There are cheap chip for ISP? \$\endgroup\$ Commented Dec 22, 2023 at 0:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.