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?

Anonymous Penguin
6,36510 gold badges34 silver badges62 bronze badges
asked Feb 12, 2014 at 5:56
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.

answered Feb 12, 2014 at 9:14
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.
sa_leinad
3,2182 gold badges23 silver badges51 bronze badges
answered Feb 12, 2014 at 7:33
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. Commented Feb 12, 2014 at 19:41
  • I believe LEDs do not need an resistor if you have other means of limiting current or voltage. Commented Jul 12, 2018 at 15:06
1

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

answered Jul 12, 2018 at 14:35
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. Commented Jul 12, 2018 at 22:31

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.