Grablo Help Grablo Help
  • User Manual
  • Tips
  • News
  • Go to
    • Grablo Home
    • Grablo App
  • 한국어
Grablo Help Grablo Help
문의하기
Grablo Help Grablo Help
  • User Manual
  • Tips
  • News
  • Go to
    • Grablo Home
    • Grablo App
  • 한국어
loading
  1. Home
  2. Tips
  3. Basics
  4. Relay
Updated on August 11, 2025

Tips

  • Folder icon closed Folder open iconBasics
    • Bits and Bytes
    • Digital Input/Output
    • Digital/Analog Signals
    • Calculating LED Resistor Values
    • Pull-up/down Resistors
    • 3.3V ↔ 5V Conversion
    • Serial Communication (UART)
    • DC Motor, Servo Motor, Stepper Motor
    • Multi Thread
    • Relay
  • Folder icon closed Folder open iconHardware
    • Raspberry Pi
      • GPIO
      • Installing Operating System
      • How to Change 1-Wire Pin
      • How to Find I2C Device Addresses
      • Raspberry Pi vs Arduino
      • Serial (UART) Port
      • Using Desktop Environment with VNC
    • Beagle Bone
      • GPIO
      • Installing Operating System
    • Jetson Nano
      • GPIO
      • Installing Operating System
    • GPIO Expander
      • FT232H/FT2232H/FT4232H
      • MCP2221A
      • NUMATO USB-GPIO
  • Folder icon closed Folder open iconLinux
    • Linux Directory Structure
    • Configuring Linux Auto Login
    • Installing Linux on Windows (Virtual Machine)
    • Installing Linux on macOS (Virtual Machine)
    • Installing SSH Server
    • Finding Your Controller’s IP Address
    • Connecting via SSH
    • Transferring Files Between PC and Controller
    • Fixing “User is not in the sudoers file” Error
  • Folder icon closed Folder open iconAudio/Video
    • Fixing Audio Stuttering and Latency Issues
    • Playing Audio Through Bluetooth Speakers
    • Selecting Instruments from SoundFont Files
    • Fixing “Failed to create new vlc instance” Error
  • Folder icon closed Folder open iconDatabase
    • Setting Up Firebase Database
  • Folder icon closed Folder open iconIoT
    • Setting Up Google Cloud TTS/STT
    • Setting Up OpenAI TTS/STT
    • Setting Up ElevenLabs TTS
    • Setting Up Telegram Bot
    • Getting Data from WeatherAPI.com

Relay

Estimated reading: 2 minutes 272 views

A relay is an automatic switch operated by electrical signals, also called an electromagnetic relay.

We press a switch to turn on or off a light hanging from the ceiling.


The basic principle of a relay is the same, except that instead of manually pressing a switch, a relay is an automatic switch that operates with weak electrical signals.

Electrical signals output from controllers such as PCs, Arduino, and Raspberry Pi are weak-intensity direct current (DC) and cannot output alternating current (AC) or large currents. Since these devices serve as the brain, they can only output weak currents at the control signal level for controlling other devices. The voltage and current that can be output from the digital output pins of Arduino and Raspberry Pi are as follows:

  • Arduino: DC 5V, max 40mA
  • Raspberry Pi: DC 3.3V, max 8mA


Therefore, controllers cannot directly supply current to devices that consume alternating current or high-current direct current, and instead control them indirectly by turning relay switches on or off using weak-intensity current.


Relays can be broadly classified into contact-type and contactless-type, with the contactless type called SSR (Solid State Relay).

Contact Relay
Contactless Relay (SSR)


Below is a diagram showing the structure of a contact relay. The basic principle is the same as that of an electromagnet: when a weak current flows through the coil, the contacts close due to magnetic force, and when no current flows, the contacts open due to the spring. It is called a mechanical or contact relay because these closing and opening contacts (contact points) exist.

https://instrumentationtools.com/relay-schematic-working-animation/


On the other hand, contactless relays (SSR) have no mechanical moving parts and switch electronically using semiconductors. They have the advantages of faster switching speed and longer lifespan compared to contact-type relays, but are relatively more expensive.

https://www.electricaltechnology.org/2019/01/solid-state-relay-types-of-ssr-relays.html

찾으시는 내용이 없나요? 문의하기

문의하기

공유하기

Relay

Or copy link

Clipboard Icon
콘탠츠

ㅤ

Grablo Inc.
support@grablo.co

Site Links

  • Grablo Home
  • Grablo App

이 사이트의 모든 컨텐츠는 저작권법에 보호받는 저작물로서, 무단으로 복제, 배포하는 경우에는 저작권법에 의하여 처벌을 받을 수 있습니다. Copyright 2024 grablo.co. All Rights Reserved.