They have tons of relay boards for the Photon Not cheap but cool
But sure, you can use the Arduino board, just have to pay attention to the Vcc supply for the board.
The opto-isolated control lines can directly be connected to the Photon pins.
I think you just might have to remember that the relays are controlled active-low (reversed logic).
Thank you for the response. I appreciate the clarity on the motor connections to the relay board. I am more so wondering about the actual boards that are available for the Particle. Specifically the arduino relay circuit boards. they are cheap and easy to get. The ones for the Particle not so much.
Thank you for the quick reply, the boards for the particle are not cheap!!! i can get the arduino ect8 relay curcuit boards for about 6 bucks… vs 240 for particle… hmm i am thinking maybe arduino is the way to go. but if I did go particle, how would i connect the arduino style board to the particle?
On the first board you linked there is a row of headers marked INx with one common GND.
Just hook one INx pin to one of the Dx or Ax bins (e.g. female-female jumper wires for testing).
@yavila81, the ControlEverything Particle relay boards are designed to use the I2C bus (2 wires plus GND) to control relays, allowing for substantial expansion to a large number of total relays. The Arduino boards require one GPIO output pin per relay, limiting the number of relays available to the available GPIO pins.
A comparable board costs about $90 on eBay. Another thing to point out is that the ControlEverything boards have a Photon socket onboard plus a power supply saving the need for any extra board.
@ScruffR is correct in his instructions. The use of opto-isolated relays allows for control with any 3.3v or 5v controller. A good 5V 1A or more power supply will power both the Photon and relay board.
A cheaper alternative might be a stepper motor driver. It’s basically a dual H-bridge for a stepper motor, but most can double as a 2 DC motor control. It’ll still require 2 I/O pins per motor though (EN and DIR) unless you can tie some together for same direction or to run at the same time.