If your relay LED is on and the lamp doesn't turn on, make sure you have the lamp turned on. We'll let the relay
handle turning it off and on from now on. Now if all is correctly assembled:
Algebraic!!
Note: Did you notice that there were more examples in the Example Code folder? If you need, there is an
example using interupts (i.e. Example2_Relay_Using_Interrupts) if you need your Arduino to stop whatever
it is processing to toggle the relays. Or if you need to control more than one Qwiic quad relay on the same
bus? Check out the third example (i.e. Example3_ChangeI2CAddress) to adjust an I C address.
Heads up! The circuit used in this tutorial is a temporary connection so you will need to secure the circuit and
place the relay in an enclosure. For more ideas, check out some of the projects in resources and going
further.
Resources and Going Further
Now that you've successfully got your SparkFun Qwiic Quad Relay up and running, it's time to incorporate it into
your own project!
For more information, check out the resources below:
Schematic (PDF)
Eagle Files (ZIP)
Datasheet (PDF)
Default Firmware
Example Code (ZIP)
GitHub Repo
SFE Product Showcase
Need some inspiration for your next project? Check out some of these other awesome related tutorials using
relays. Be sure to check your current rating when handling the Qwiic Single Relay when browsing some of the
other tutorials using relays.
2
Need help?
Do you have a question about the Qwiic Quad Relay and is the answer not in the manual?
Questions and answers