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

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

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

Introduction

The Adafruit Mini Relay FeatherWing (Manufacturer Part ID: 2895) is a compact relay board designed to seamlessly integrate with Adafruit Feather microcontroller boards. It allows users to control high-voltage devices (up to 250V AC or 28V DC) using low-voltage signals from a Feather board. This makes it an ideal solution for projects requiring the control of motors, lights, or other high-power devices.

Explore Projects Built with Adafruit 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 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 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 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
Touch-Sensitive Interface with Adafruit MPR121 and Feather 32u4 Bluefruit
Image of MPR121: A project utilizing Adafruit Mini Relay FeatherWing in a practical application
This circuit integrates an Adafruit MPR121 capacitive touch sensor with an Adafruit Feather 32u4 Bluefruit microcontroller. The MPR121 is powered by the Feather and communicates via I2C (SCL and SDA) to detect touch inputs, which can be processed or transmitted wirelessly by the Feather.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit 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 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 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 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 MPR121: A project utilizing Adafruit Mini Relay FeatherWing in a practical application
Touch-Sensitive Interface with Adafruit MPR121 and Feather 32u4 Bluefruit
This circuit integrates an Adafruit MPR121 capacitive touch sensor with an Adafruit Feather 32u4 Bluefruit microcontroller. The MPR121 is powered by the Feather and communicates via I2C (SCL and SDA) to detect touch inputs, which can be processed or transmitted wirelessly by the Feather.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Home automation systems (e.g., controlling lights or appliances)
  • Robotics (e.g., motor control)
  • Industrial control systems
  • IoT projects requiring high-voltage switching
  • Prototyping and educational projects

Technical Specifications

The Adafruit Mini Relay FeatherWing is built for reliability and ease of use. Below are its key technical details:

Key Specifications

Parameter Value
Operating Voltage 3.3V or 5V (depending on Feather board)
Relay Type SPDT (Single Pole Double Throw)
Max Switching Voltage 250V AC / 28V DC
Max Switching Current 10A
Dimensions 50mm x 23mm x 8mm
Weight 6g

Pin Configuration and Descriptions

The Mini Relay FeatherWing connects directly to the Feather board via its headers. It also provides screw terminals for connecting external devices. Below is the pin configuration:

Feather Header Pins

Pin Name Description
VIN Power input (3.3V or 5V from Feather board)
GND Ground connection
RELAY Control signal for the relay (logic HIGH to activate)

Screw Terminal Pins

Terminal Name Description
COM Common terminal for the relay
NO Normally Open terminal (connected to COM when relay is active)
NC Normally Closed terminal (connected to COM when relay is inactive)

Usage Instructions

The Adafruit Mini Relay FeatherWing is straightforward to use with any Feather board. Follow the steps below to integrate it into your project:

Step 1: Hardware Setup

  1. Attach the FeatherWing: Plug the Mini Relay FeatherWing onto your Feather board using the provided headers.
  2. Connect External Devices:
    • Use the screw terminals to connect the high-voltage device you want to control.
    • Connect the device's power line to the COM terminal.
    • Connect the device's load line to either the NO (Normally Open) or NC (Normally Closed) terminal, depending on your desired behavior:
      • Use NO if you want the device to turn on when the relay is activated.
      • Use NC if you want the device to turn off when the relay is activated.

Step 2: Software Setup

To control the relay, you can use any Feather-compatible microcontroller. Below is an example of how to control the relay using an Arduino UNO (via Feather-compatible libraries):

// Example code to control the Adafruit Mini Relay FeatherWing
// This code toggles the relay on and off every second.

#define RELAY_PIN 13  // Define the pin connected to the relay control signal

void setup() {
  pinMode(RELAY_PIN, OUTPUT);  // Set the relay pin as an output
  digitalWrite(RELAY_PIN, LOW); // Ensure the relay starts in the OFF state
}

void loop() {
  digitalWrite(RELAY_PIN, HIGH); // Activate the relay
  delay(1000);                   // Wait for 1 second
  digitalWrite(RELAY_PIN, LOW);  // Deactivate the relay
  delay(1000);                   // Wait for 1 second
}

Important Considerations and Best Practices

  • Power Supply: Ensure your Feather board can supply enough current for the relay. If not, consider using an external power source.
  • High-Voltage Safety: When working with high-voltage devices, take proper precautions to avoid electric shock or damage to components.
  • Flyback Diode: The FeatherWing includes a built-in flyback diode to protect the circuit from voltage spikes caused by the relay coil. No additional diode is needed.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Activating:

    • Cause: Insufficient power supply or incorrect wiring.
    • Solution: Verify that the Feather board is supplying the correct voltage (3.3V or 5V) and that the RELAY pin is properly connected.
  2. Device Not Turning On/Off:

    • Cause: Incorrect connection to the screw terminals.
    • Solution: Double-check the wiring to the COM, NO, and NC terminals. Ensure the device is connected to the correct terminal based on your desired behavior.
  3. Feather Board Resets When Relay Activates:

    • Cause: Relay draws too much current, causing a voltage drop.
    • Solution: Use an external power supply for the Feather board or reduce the load on the relay.
  4. Relay Clicking Rapidly:

    • Cause: Software bug or unstable control signal.
    • Solution: Check your code to ensure the RELAY pin is not being toggled unintentionally.

FAQs

Q: Can I use the Mini Relay FeatherWing with non-Adafruit Feather boards?
A: Yes, as long as the board provides a compatible voltage (3.3V or 5V) and has a GPIO pin to control the relay.

Q: What is the maximum current the relay can handle?
A: The relay can handle up to 10A of current.

Q: Can I control multiple relays with one Feather board?
A: Yes, but you will need additional relay boards and enough GPIO pins to control each relay individually.

Q: Is the relay suitable for switching DC motors?
A: Yes, but ensure the motor's voltage and current are within the relay's specifications (28V DC, 10A max).

By following this documentation, you can effectively integrate the Adafruit Mini Relay FeatherWing into your projects and troubleshoot any issues that arise.