0
\$\begingroup\$

This is a simple, noob question. I'm trying to connect a USBASP with an ATmega 328-PU. If I incorrectly connect them, such as put ground into vcc or miso into mosi, will I kill my chip?

\$\endgroup\$

1 Answer 1

0
\$\begingroup\$

Yes, that is quite possible, so do not miswire it.

What you could do is try to defend the chip from yourself. For example, you could put some resistors, say 220 ohm, on the MISO, MOSI and CLK lines. This will give you some safety from bad connections.

Of course, this won't help you if you connect GND to Vcc, since you can't have resistors on those two lines.

If you have any doubt, use a multimeter. If you get to the point where you're not sure what you're doing, make a break and try it in 20 minutes or next day or whenever you're a bit more rested.

\$\endgroup\$
6
  • \$\begingroup\$ From his latest schematic it seems you can actually put resistors with a reverse diode in the power supply lines, provided you do not power your board from the USBASP. \$\endgroup\$
    – Asmyldof
    Jun 12, 2015 at 18:19
  • \$\begingroup\$ Ok, but whose latest schematic? \$\endgroup\$
    – AndrejaKo
    Jun 12, 2015 at 18:22
  • \$\begingroup\$ The USBASP guy: fischl.de/usbasp \$\endgroup\$
    – Asmyldof
    Jun 12, 2015 at 18:43
  • \$\begingroup\$ Thanks AndrejaKo. I should have used the multimeter. I probably reversed ground and vcc and nuked the chip \$\endgroup\$
    – Laxmidi
    Jun 12, 2015 at 19:00
  • \$\begingroup\$ Would reversing ground and vcc only kill the ATmega 328 or would it kill the USBASP, as well? \$\endgroup\$
    – Laxmidi
    Jun 12, 2015 at 19:00

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.