18

What is the best practice to make my Arduino circuit more robust against prototyping mistakes (like shorting pins)? I don't want the controller to release its blue magic smoke while experimenting with it, what precautions can I make while designing a circuit?

0

3 Answers 3

14

Not best practices, but an alternative approach:

Consider the Ruggeduino instead of a standard Arduino. At a price ($39.95) comparable with the equivalent Arduino, the Ruggeduino offers:

  • Resettable fuse on each GPIO pin, i.e. all GPIO pins are protected from short-circuit to ground or other pins
  • All GPIO pins withstand 24 Volts
  • Reverse voltage protection (-30 V) on Vin
  • Microcontroller overcurrent protection
  • 3.3V and 5V outputs on the board are over-current and short-circuit protected

Besides the above points specific to the question, the boards are designed to survive harsh environments and various mistakes. Also, the clock is more precise than on the Arduino.

11

I don't know if there's one best practice, but the following might be helpful:

  • Limit the voltage on input pins to 5.5 V maximum.
  • Do not short IO pins.
  • Use pullup or pulldown resistors when conecting switches or pushbuttons.
  • Respect the current limits (for each pin and in total). Use resistors.
  • The Arduino is just the brain, not the power station. If you have to drive higher loads, use simple transistors, Darlington arrays, etc.
2
  • 2
    Something that could be attached to bullet point 4: Yes, LEDs need resistors. :) This has to be the most common Arduino mess-up ever.
    – apnorton
    Feb 12, 2014 at 19:41
  • I believe LEDs do not need an resistor if you have other means of limiting current or voltage.
    – Paul
    Jul 12, 2018 at 15:06
1

Don't move any wires with the power on. Way too many boards are damaged that way.

1
  • Just because you have to be careful doesn't mean you can't do it; I have moved, connected, and disconnected wires all while powered up without any ill effects (other than an occasional required reboot). I have even soldered to a powered board. Sometimes troubleshooting wins over the 'correct' way to do things; a blanket prohibition smells like cargo-cultism.
    – esoterik
    Jul 12, 2018 at 22:31

Your Answer

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

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