Contributors:
                
 El Duderino
 El Duderino, 
 Englandsaurus
 Englandsaurus          Introduction
    Introducing the SparkFun Qwiic Dual Solid State Relay. The Qwiic Dual Solid State Relay sports two solid state relays rated up to 25A at 240 VAC so you can switch some serious power with this board all from a single Qwiic connector attached to an Arduino or other low-powered microcontroller. The Dual Solid State Relay is the little sibling of our Qwiic Quad Solid State Relay Kit intended for users looking for a smaller solid state relay option.
  
  
    
    
    
      COM-16810    
          
        The SparkFun Qwiic Dual Solid State Relay is a power delivery board that allows users to switch two AC loads from a low power…      
       
      
  
   
 
In this tutorial we'll detail the hardware on the Dual Solid State Relay, how to connect it to an Arduino or other microcontroller and how to use the examples included in our Arduino library and Python package.
Required Materials
You will need a microcontroller to control the Qwiic Dual Solid State Relay in order to follow along with this tutorial. Below are a few options that come Qwiic-enabled out of the box:
  
  
    
    
    
      DEV-15795    
          
        The SparkFun Qwiic Pro Micro adds a reset button, Qwiic connector, USB-C, and castellated pads to the miniaturized Arduino bo…      
       
      
  
   
  
  
    
    
    
      WRL-15663    
          
        The SparkFun ESP32 Thing Plus is the next step to get started with Espressif IoT ideations while still enjoying all the ameni…      
       
      
  
   
  
  
    
    
    
      DEV-15123    
          
        The SparkFun RedBoard Qwiic is an Arduino-compatible development board with a built in Qwiic connector, eliminating the need …      
       
      
  
   
  
  
    
    
    
      DEV-15444    
          
        The RedBoard Artemis takes the incredibly powerful Artemis module from SparkFun and wraps it up in an easy to use and familia…      
       
      
  
   
 
  
We also have a Python package available for this and our other Qwiic Relay boards so you can use a Raspberry Pi as your controller as well. A few Pi's we carry are listed below:
  
  
    
    
    
      DEV-15447    
          
        The 4 GB Raspberry Pi 4 features the ability to run two 4k resolution monitors, to run true Gigabit Ethernet operations, all …      
       
      
  
   
  
  
    
    
    
      DEV-15446    
          
        The 2 GB Raspberry Pi 4 features the ability to run two 4k resolution monitors, to run true Gigabit Ethernet operations, all …      
       
      
  
   
  
  
    
    
    
      DEV-14643    
          
        The Raspberry Pi 3 B+ is here to provide you with the same Pi as before, but now with gigabit and PoE capable Ethernet!      
       
      
  
   
  
  
    
    
    
      KIT-16386    
          
        The SparkFun Raspberry Pi 4 Desktop Kit (4GB) includes everything you need to turn any monitor with an HDMI port into a deskt…      
       
  
      Retired
   
 
  
If your chosen microcontroller is not already Qwiic-enabled, you can add that functionality with one of the following items:
  
  
    
    
    
      DEV-14495    
          
        The SparkFun Qwiic Adapter provides the perfect means to make any old I2C board into a Qwiic enabled board.      
       
      
  
   
  
  
    
    
    
      DEV-15794    
          
        The SparkFun Qwiic SHIM for Raspberry Pi is a small, easily removable breakout that easily adds a Qwiic connector to your Ras…      
       
      
  
   
  
  
    
    
    
      DEV-15945    
          
        The SparkFun Qwiic pHAT V2 for Raspberry Pi is the quickest and easiest way to make your way into the Qwiic ecosystem and sti…      
       
      
  
   
  
  
    
    
    
      DEV-14352    
          
        The SparkFun Qwiic Shield is an easy-to-assemble board that provides a simple way to incorporate the Qwiic Connect System wit…      
       
      
  
   
 
  
You will also need at least one Qwiic cable to connect your Qwiic Dual Solid State Relay to your microcontroller:
  
  
    
    
    
      PRT-14427    
          
        This is a 100mm long 4-conductor cable with 1mm JST termination. It’s designed to connect Qwiic enabled components together…      
       
  
      Retired
   
  
  
    
    
    
      PRT-14426    
          
        This is a 50mm long 4-conductor cable with 1mm JST termination. It’s designed to connect Qwiic enabled components together …      
       
  
      Retired
   
  
  
    
    
    
      PRT-14428    
          
        This is a 200mm long 4-conductor cable with 1mm JST termination. It’s designed to connect Qwiic enabled components together…      
       
  
      Retired
   
  
  
    
    
    
      PRT-14429    
          
        This is a 500mm long 4-conductor cable with 1mm JST termination. It’s designed to connect Qwiic enabled components together…      
       
  
      Retired
   
 
  
Required Tools
With the Qwiic system, soldering is not required to use the Qwiic Dual Solid State Relay but you will need a pair of wire strippers and a screwdriver to assemble your AC load.
  
  
    
    
    
      TOL-12891    
          
        What should every hacker have available to them? That's right, a screwdriver (you have to get into those cases somehow). What…      
       
      
  
   
  
  
    
    
    
      TOL-09146    
          
        This is just your basic reversible screwdriver - pocket sized! Both flat and phillips heads available. Comes with pin clip an…      
       
      
  
   
  
  
    
    
    
      TOL-14872    
          
        The Self-Adjusting Wire Stripper can take a wire, placed in the head of the tool, compress the handles, and you will have a p…      
       
  
      Retired
   
  
  
    
    
    
      TOL-15220    
          
        These are higher grade wire strippers from Jonard Industries with a comfortable, curved grip making them an affordable option…      
       
  
      Retired
   
 
  
Suggested Reading
If you aren't familiar with the Qwiic system, we recommend reading here for an overview:
We would also recommend reading through the following tutorials if you are not familiar with the concepts covered in them:
 
  
  
          
    
    
    Serial Communication
      
      
      Asynchronous serial communication concepts: packets, signal levels, baud rates, UARTs and more!    
  
   
  
          
    
    
    Electric Power
      
      
      An overview of electric power, the rate of energy transfer. We'll talk definition of power, watts, equations, and power ratings. 1.21 gigawatts of tutorial fun!    
  
   
  
          
    
    
    I2C
      
      
      An introduction to I2C, one of the main embedded communications protocols in use today.