Arduino freezes when using power on my relay board

knut_ny:
I/O pins can deliver MAX 40mA (You need more to drive the reay coil)
Use transistors (and resitores) ... Are they present already?

Supply 5V from other source than Arduino

I'll look into that, thanks! I wouldn't think that additional components would be necessary as the description of the board states that it is made for direct use with the pins of the Arduino. The demo on the site shows it hooked up exactly the same as me.

And to make things weirder, If I upload a sketch to the Arduino that just alternates all the Relays (and I don't use the midi serial data) it can run without a problem. That makes me think that:

  • Either the Midi > serial stuff is causing problems
  • Switching multiple relays at once is causing problems

Sorry for being a noob. I've done loads of programming but not much with embedded systems.