Limited record: this part has neither specifications nor a datasheet in the catalog yet. It is shown for reference and is not indexed.

RLY-01 – Relay RLY-01

Relay

Maker, Prototyping, Open-Hardware & Developer Boards

  • RLY-01
Manufacturer part number
RLY-01
Manufacturer
FriendlyElec
Product Code
RLY-01

FriendlyElec RLY-01, listed under “Maker, Prototyping, Open-Hardware & Developer Boards”.

Product overview

Relay RLY-01

0 reviews / Write a review

(USD)

Buyer responsible for payment of duty.

Brand: FriendlyElec

Product Code: RLY-01

Qty:

Description

Reviews (0)

1 Introduction

This is an SPDT relay. Its coil voltage is 5V. The contact current can be up to 10A. It can drive AC or DC high power loads. NO is Normally Open. NC is Normally Closed. COM is Common. When write high to pin S NO will be open and NC will be closed.

2 Features

1 Form C

5V coil voltage, 3.3/5V control signal

Contact current up to 10A

LED indicator

2.54mm spacing pin

3 How To

Connect to Tiny4412 SDK (1506) Connect the module's pin S to GPIO PIN1, V to 5V and G grounded

Code Sample in C Under Linux

#include <stdio.h> #include <string.h> #include "libfahw.h" int main ( int argc, char ** argv ) { char * status = "off"; if ( argc!= 2 ) { printf ( "Set relay on " ); } else { status = argv [ 1 ]; printf ( "Set relay %s ", argv [ 1 ] ); } int pin = TINY4412_GPIO_PIN1; int ret = - 1; if ( ( ret = exportGPIOPin ( pin ) )!= 0 ) { printf ( "exportGPIOPin(%d) failed!", pin ); } if ( ( ret = setGPIODirection ( pin, GPIO_OUT ) )!= 0 ) { printf ( "setGPIODirection(%d) failed", pin ); } if ( strcmp ( status, "on" ) == 0 ) { ret = setGPIOValue ( pin, GPIO_LOW ); } else { ret = setGPIOValue ( pin, GPIO_HIGH ); } return ret; } Compile and Run

git clone http: // github.com / friendlyarm / fa-hardware.git cd fa-hardware cd demo cd matrix-relay make Copy your compiled bin to your board and you are ready to go.

Resources

Write a review

Write a review

Your Name

Your Review

Note: HTML is not translated!

Rating Bad

Good

Enter the code in the box below

Continue

Copyright © 2008-2026 friendlyelec.com All rights reserved.

Top

Categories

CPU Module (11)

Mini Board (3)

NanoPC & NanoPi (31)

Hats & Docks (12)

Enclosure & Holder (17)

BakeBit Sensors/Modules (2)

Matrix Accessories (71)

LCD Module (17)

Value Pack & Kit (11)

See all specifications

Highlights

  • Product Code: RLY-01

See also

Technical questions

Ask a question

No published question about this part yet. Questions are reviewed before publication.

Request a quote