Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit Latching Mini Relay FeatherWing: Examples, Pinouts, and Specs

Image of Adafruit Latching Mini Relay FeatherWing
Cirkit Designer LogoDesign with Adafruit Latching Mini Relay FeatherWing in Cirkit Designer

Introduction

The Adafruit Latching Mini Relay FeatherWing is a compact relay board designed to interface seamlessly with Adafruit Feather microcontrollers. This relay allows users to control high-power devices, such as lights, motors, or appliances, using low-power signals from a Feather board. Its latching functionality ensures that the relay maintains its state (on or off) even when power is removed, making it particularly suitable for battery-powered or energy-efficient applications.

Explore Projects Built with Adafruit Latching Mini Relay FeatherWing

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-C6 Feather Controlled Smart Relay for AC Bulb Automation
Image of ESP32 Based ZigBee Device: A project utilizing Adafruit Latching Mini Relay FeatherWing in a practical application
This circuit uses an ESP32-C6 Feather microcontroller to control an AC bulb via a KY-019 5V relay module. The ESP32 is programmed to receive Zigbee wireless commands to toggle the relay, which in turn switches the AC bulb on or off. The relay module is powered by a DC power source, and the bulb is connected to an AC supply, with the relay acting as an intermediary to control the bulb's power state.
Cirkit Designer LogoOpen Project in Cirkit Designer
Solar-Powered Environmental Data Logger with Adafruit Feather M0 Express
Image of Lake Thoreau Monitoring Station: A project utilizing Adafruit Latching Mini Relay FeatherWing in a practical application
This circuit is designed for environmental data collection and logging, utilizing an Adafruit Feather M0 Express microcontroller as the central processing unit. It interfaces with a BME280 sensor for atmospheric temperature, humidity, and pressure measurements, an SGP30 sensor for monitoring air quality (eCO2 and TVOC), and a STEMMA soil sensor for detecting soil moisture and temperature. The system is powered by a solar panel and a 3.7v LiPo battery, managed by an Adafruit BQ24074 Solar-DC-USB Lipo Charger, and provides easy access to the microcontroller's connections through an Adafruit Terminal Breakout FeatherWing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Controlled Smart Relay with APDS-9960 Gesture Sensor
Image of contactless smart switch: A project utilizing Adafruit Latching Mini Relay FeatherWing in a practical application
This circuit features an Arduino Nano microcontroller interfaced with an Adafruit APDS-9960 sensor and a 2-channel relay module. The APDS-9960 sensor, which is capable of gesture detection, is connected to the Arduino via I2C communication lines (SCL, SDA) and powered by the Arduino's 3.3V output. The relay module is controlled by the Arduino through a digital pin (D7) and is used to switch an AC-powered bulb on and off, with the relay's common (COM) terminal connected to the AC source and the normally open (NO1) terminal connected to the bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Latching Relay Circuit
Image of 2 coil latching relay: A project utilizing Adafruit Latching Mini Relay FeatherWing in a practical application
This circuit consists of an Arduino UNO microcontroller that controls a 2 Coil Latching Relay. The relay is powered by the 5V output from the Arduino and is grounded to the Arduino's ground. The Arduino's digital pin D7 is used to send a signal to the relay, potentially to switch it on or off.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit Latching Mini Relay FeatherWing

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ESP32 Based ZigBee Device: A project utilizing Adafruit Latching Mini Relay FeatherWing in a practical application
ESP32-C6 Feather Controlled Smart Relay for AC Bulb Automation
This circuit uses an ESP32-C6 Feather microcontroller to control an AC bulb via a KY-019 5V relay module. The ESP32 is programmed to receive Zigbee wireless commands to toggle the relay, which in turn switches the AC bulb on or off. The relay module is powered by a DC power source, and the bulb is connected to an AC supply, with the relay acting as an intermediary to control the bulb's power state.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Lake Thoreau Monitoring Station: A project utilizing Adafruit Latching Mini Relay FeatherWing in a practical application
Solar-Powered Environmental Data Logger with Adafruit Feather M0 Express
This circuit is designed for environmental data collection and logging, utilizing an Adafruit Feather M0 Express microcontroller as the central processing unit. It interfaces with a BME280 sensor for atmospheric temperature, humidity, and pressure measurements, an SGP30 sensor for monitoring air quality (eCO2 and TVOC), and a STEMMA soil sensor for detecting soil moisture and temperature. The system is powered by a solar panel and a 3.7v LiPo battery, managed by an Adafruit BQ24074 Solar-DC-USB Lipo Charger, and provides easy access to the microcontroller's connections through an Adafruit Terminal Breakout FeatherWing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of contactless smart switch: A project utilizing Adafruit Latching Mini Relay FeatherWing in a practical application
Arduino Nano Controlled Smart Relay with APDS-9960 Gesture Sensor
This circuit features an Arduino Nano microcontroller interfaced with an Adafruit APDS-9960 sensor and a 2-channel relay module. The APDS-9960 sensor, which is capable of gesture detection, is connected to the Arduino via I2C communication lines (SCL, SDA) and powered by the Arduino's 3.3V output. The relay module is controlled by the Arduino through a digital pin (D7) and is used to switch an AC-powered bulb on and off, with the relay's common (COM) terminal connected to the AC source and the normally open (NO1) terminal connected to the bulb.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 2 coil latching relay: A project utilizing Adafruit Latching Mini Relay FeatherWing in a practical application
Arduino UNO Controlled Latching Relay Circuit
This circuit consists of an Arduino UNO microcontroller that controls a 2 Coil Latching Relay. The relay is powered by the 5V output from the Arduino and is grounded to the Arduino's ground. The Arduino's digital pin D7 is used to send a signal to the relay, potentially to switch it on or off.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Home automation systems (e.g., controlling lights or fans)
  • Battery-powered IoT devices
  • Robotics and motor control
  • Energy-efficient switching applications
  • Industrial control systems

Technical Specifications

The Adafruit Latching Mini Relay FeatherWing is designed for ease of use and reliable operation. Below are its key technical details:

Key Technical Details

  • Relay Type: Latching (bi-stable)
  • Operating Voltage: 3.3V or 5V (compatible with Feather boards)
  • Maximum Switching Voltage: 120V AC / 60V DC
  • Maximum Switching Current: 2A
  • Control Signal: Low-power digital signal from Feather microcontroller
  • Dimensions: 51mm x 23mm x 8mm (2" x 0.9" x 0.3")
  • Weight: 5.5g

Pin Configuration and Descriptions

The FeatherWing has a simple pinout for easy integration with Feather boards. Below is the pin configuration:

Pin Description
GND Ground connection for the relay module.
VIN Power input (3.3V or 5V, depending on the Feather board used).
SET Digital input to set the relay to the "ON" state.
RESET Digital input to reset the relay to the "OFF" state.
COM Common terminal for the relay's switching circuit.
NO Normally Open terminal; connected to COM when the relay is in the "ON" state.
NC Normally Closed terminal; connected to COM when the relay is in the "OFF" state.

Usage Instructions

How to Use the Component in a Circuit

  1. Connect the FeatherWing to a Feather Board:
    • Align the FeatherWing's headers with the Feather microcontroller's pins and solder them securely.
  2. Power the Relay:
    • Ensure the Feather board is powered via USB or a battery. The FeatherWing will draw power from the Feather's VIN pin.
  3. Connect the Load:
    • Attach the device you want to control (e.g., a light or motor) to the relay's COM and NO (or NC) terminals.
    • For example, connect one wire of the load to COM and the other to NO for normally open operation.
  4. Control the Relay:
    • Use the Feather's GPIO pins to send signals to the SET and RESET pins of the relay to toggle its state.

Important Considerations and Best Practices

  • Voltage and Current Ratings: Ensure the load connected to the relay does not exceed the maximum ratings (120V AC / 60V DC, 2A).
  • Latching Behavior: Remember that the relay will maintain its state even if power is removed. Use the RESET pin to return it to the "OFF" state when needed.
  • Isolation: The relay provides electrical isolation between the Feather board and the high-power load, but always exercise caution when working with high voltages.
  • Debouncing: If you are using mechanical switches to control the relay, consider implementing software debouncing to avoid erratic behavior.

Example Code for Arduino UNO-Compatible Feather Boards

Below is an example of how to control the Adafruit Latching Mini Relay FeatherWing using an Arduino-compatible Feather board:

// Example code to control the Adafruit Latching Mini Relay FeatherWing
// Connect SET to pin 5 and RESET to pin 6 on the Feather board

#define RELAY_SET_PIN 5   // Pin connected to the SET input of the relay
#define RELAY_RESET_PIN 6 // Pin connected to the RESET input of the relay

void setup() {
  pinMode(RELAY_SET_PIN, OUTPUT);   // Configure SET pin as output
  pinMode(RELAY_RESET_PIN, OUTPUT); // Configure RESET pin as output

  // Initialize relay to OFF state
  digitalWrite(RELAY_SET_PIN, LOW);
  digitalWrite(RELAY_RESET_PIN, HIGH);
  delay(100); // Allow time for the relay to switch
  digitalWrite(RELAY_RESET_PIN, LOW);
}

void loop() {
  // Turn the relay ON
  digitalWrite(RELAY_SET_PIN, HIGH);
  delay(100); // Allow time for the relay to switch
  digitalWrite(RELAY_SET_PIN, LOW);

  delay(5000); // Keep the relay ON for 5 seconds

  // Turn the relay OFF
  digitalWrite(RELAY_RESET_PIN, HIGH);
  delay(100); // Allow time for the relay to switch
  digitalWrite(RELAY_RESET_PIN, LOW);

  delay(5000); // Keep the relay OFF for 5 seconds
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Does Not Switch:

    • Cause: Insufficient power supply or incorrect wiring.
    • Solution: Verify that the Feather board is powered and the SET/RESET pins are connected correctly.
  2. Relay Stays in the Same State:

    • Cause: The SET or RESET signal is not being sent properly.
    • Solution: Check the GPIO pin configuration in your code and ensure the correct pins are used.
  3. Load Does Not Operate:

    • Cause: Load exceeds the relay's voltage or current rating.
    • Solution: Ensure the load is within the relay's maximum ratings (120V AC / 60V DC, 2A).
  4. Intermittent Operation:

    • Cause: Noise or insufficient debounce in the control signal.
    • Solution: Add software debouncing or use capacitors to filter noise.

FAQs

  • Q: Can I use this relay with a 12V load?

    • A: Yes, as long as the load's current does not exceed 2A and the voltage is within 60V DC or 120V AC.
  • Q: Does the relay consume power when idle?

    • A: No, the latching relay only consumes power momentarily when switching states.
  • Q: Can I control the relay with a 3.3V Feather board?

    • A: Yes, the relay is compatible with both 3.3V and 5V Feather boards.
  • Q: How do I reset the relay to its default state after a power loss?

    • A: Use the RESET pin to return the relay to the "OFF" state after power is restored.