

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.








The Adafruit Latching Mini Relay FeatherWing is designed for ease of use and reliable operation. Below are its key technical details:
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. |
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
}
Relay Does Not Switch:
Relay Stays in the Same State:
Load Does Not Operate:
Intermittent Operation:
Q: Can I use this relay with a 12V load?
Q: Does the relay consume power when idle?
Q: Can I control the relay with a 3.3V Feather board?
Q: How do I reset the relay to its default state after a power loss?