2
\$\begingroup\$

I am working on a project and have a custom PCB for the project. I initially developed the PCB to mount a DIP-8 ATtiny85.

Photo of 8-pin DIP

I then found the ATtiny85 is available in an SMD package, so I am thinking of changing the PCB to use the SMD version. But after I searched the local market in my country I did not find the SMD version; however, I found this board which has an ATtiny85 SMD:

Photo of an SMD ATtiny85 on a PCB with other components

Can I just upload the code to this board then desolder the SMD ATtiny85 and mount it on my PCB?

\$\endgroup\$
1
  • 1
    \$\begingroup\$ all images posted at this site require a link to the source of the image ... please update your question with the information ... do not write a comment \$\endgroup\$
    – jsotola
    Commented Nov 15, 2023 at 19:53

2 Answers 2

4
\$\begingroup\$

The chip needs a bootloader to flash programs via USB. It might come already flashed with a bootloader, it might not (in which case you will need an AVR programmer or something like an arduino to emulate one). Other than that, yes, you can desolder the chip and use it after it's programmed via USB.

\$\endgroup\$
9
  • \$\begingroup\$ .. and before desoldering, make sure the correct fuse settings for the clock are set. \$\endgroup\$
    – MiNiMe
    Commented Nov 15, 2023 at 19:19
  • \$\begingroup\$ Yes i will use arduino uno as programmer, the usb here is just to power the board, so i will programm the board with arduino then desoldering the chip \$\endgroup\$ Commented Nov 15, 2023 at 20:08
  • \$\begingroup\$ @MiNiMe how i check that?, sorry i am need to bootloader \$\endgroup\$ Commented Nov 15, 2023 at 20:09
  • \$\begingroup\$ So if you can't program it over USB, you need to attach the pinstripe and do it there. Seems like a lot of trouble just to get the SMD variant. Why not use DIP? \$\endgroup\$
    – MiNiMe
    Commented Nov 15, 2023 at 20:23
  • 2
    \$\begingroup\$ Other options include putting the programming points (with small pins or sockets) onto your design circuit, with that you may be able to program either chip type with wired jumpers going to a Arduino or an AVR programming board. Another option is to buy a small SMD to DIP adapter, then including a DIP socket on the board would allow either chip type. Lastly you might design the board layout with the SMD pattern located under the dip pattern. \$\endgroup\$
    – Nedd
    Commented Nov 15, 2023 at 20:48
2
\$\begingroup\$

The ATtiny85 has no built-in USB. You can put a software emulation for low-speed USB on it. It's called V-USB. Maybe it has that preinstalled, maybe not.

But I think that USB connector is only for powering the board.

\$\endgroup\$

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