Relay and back EMF

Unless, the solenoid is generating a huge EMF wave (sound's like an EMI PULSE) and frying everything within 3feet of it....

The interference is coming down a digital pin or via (more likely) the 5v rails...

  1. Separate the power supply (give it a 2nd USB fed 5v supply if you have to) 2 5v supplies, and then use an Optoisolator to trigger off the Relay pin, that way it's isolated.
  2. Dump the relay board, buy an SSR. (Solid State Relay)
  3. Connect the wires to a breadboard then from the breadboard, link it to the solenoid, relay then place a 1000uf cap between VIN and GND, maybe even use an RF choke.
  4. Buy 2 cheap transceivers or use a Radio Link, to remotely trigger the relay :slight_smile: