{"id":20442,"date":"2019-02-14T11:58:25","date_gmt":"2019-02-14T03:58:25","guid":{"rendered":"\/blog\/?p=20442"},"modified":"2020-01-11T16:25:36","modified_gmt":"2020-01-11T08:25:36","slug":"new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/","title":{"rendered":"Types of Relay &#8211; Which One Should You Use?"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1004\" height=\"527\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-126.png\" alt=\"\" class=\"wp-image-29076\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-126.png 1004w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-126-300x157.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-126-768x403.png 768w\" sizes=\"(max-width: 1004px) 100vw, 1004px\" \/><\/figure><\/div>\n\n\n\n<p>A relay is an electrically operated switch, the relay opens when the two contacts are disconnected, and the relay turns on when the two contacts touch. They are designed to be controlled with low voltages like 3.3V like the ESP32, ESP8266 etc or 5V like your Arduino to change the state of an electric circuit from one state to another.<\/p>\n\n\n\n<p>They often used to isolate low voltage circuits from a high voltage circuit to control high voltage devices. <\/p>\n\n\n\n<p><strong>If you interested in how to do that with an Arduino and find out more about the Relay, you can check our <\/strong><a href=\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/03\/arduino-tutorial-control-high-voltage-devices-with-relay-modules\/\"><strong>Arduino Tutorial on How to Control High Voltage Devices with Relay Modules.<\/strong><\/a><\/p>\n\n\n\n<p>But with thousands of relay in the market that are compatible with different platforms for different purposes, there are just so many different types of relays. So how do you pick a relay for your project?<\/p>\n\n\n\n<p>No worries as after this guide, you will learn about:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Different Types of Relays<ul><li>How they work<\/li><li>Advantages and Disadvantages<\/li><\/ul><\/li><li>Special Functions Relay<\/li><\/ul>\n\n\n\n<p>And pick the relay that best suits your project! Without further ado, let us jump right into the first type relay<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h1 class=\"wp-block-heading\"><u><strong>Types of Relays<\/strong><\/u><\/h1>\n\n\n\n<p>Depending on the operating principle and structural features, relays are categorized into different types mainly:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Electromechanical Relay <\/strong><\/li><li><strong>Solid State Relay <\/strong><\/li><li><strong>Reed Relay<\/strong><\/li><\/ul>\n\n\n\n<p>There are still various other types of relays but their use are either limited, too costly or not widely available and thus, we are not going to include them in this guide.  <\/p>\n\n\n\n<p>Without further ado, let us look at the 3 most common relays being used currently with the first being:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\">Electromechanical Relay<\/span><\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-95.png\" alt=\"\" class=\"wp-image-28981\" width=\"340\" height=\"269\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-95.png 612w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-95-300x238.png 300w\" sizes=\"(max-width: 340px) 100vw, 340px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/tag\/ELECTROMECHANICAL-RELAY.html\">Electromechanical Relay Examples<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>These relays are constructed with electrical, mechanical and magnetic components. They are made with a coil that induces a magnetic field when energized. This magnetic field attracts the armature (a movable contact) which closes or opens the contacts.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-100.png\" alt=\"\" class=\"wp-image-29001\" width=\"399\" height=\"228\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-100.png 556w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-100-300x172.png 300w\" sizes=\"(max-width: 399px) 100vw, 399px\" \/><\/figure><\/div>\n\n\n\n<p> When the coil is de-energized, the coil loses its magnetic field and a spring then retracts the armature to its normal position which then again, opens or closes the contacts. <\/p>\n\n\n\n<p>Here is an example of an Electromechanical Relay in action to power a motor: <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"741\" height=\"224\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-137.png\" alt=\"\" class=\"wp-image-29115\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-137.png 741w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-137-300x91.png 300w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/figure>\n\n\n\n<p>Electromechanical Relays are designed for AC or DC source depending on the applications. The AC and DC relays work on the same principle as electromagnetic induction but its structure may differ in its coil construction. The DC coil has a freewheeling diode to de-energize while AC relays uses laminated cores to prevent current losses. <\/p>\n\n\n\n<p><strong>The Electromechanical Relays are further split into 2 types:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Latching<ul><li>Latching Relays has either one or two coils that can remain in the last position when the current is turned off.  Even after the input voltage is interrupted, this relay maintains its set or reset condition until it receives the next inverting input. It is also called a keep relay.<\/li><li>They are useful in applications where low power consumption is needed as they do not require any current to maintain their position. <\/li><\/ul><\/li><li>Non Latching<ul><li>On the other hand, a Non-Latching has a spring or magnet that maintains its initial state of NC (Normally closed) when no current is flowing through and maintains its state only while being actuated. When current flows through the coil, contact is opened.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><strong>Electromechanical Relays are then further classified by their switching type according to the number of terminals: <\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Single Throw (ST)<ul><li>eg. <a href=\"https:\/\/www.seeedstudio.com\/Grove-Relay.html\">SPST<\/a> (Single Pole Single Throw) &#8211;  Simplest Relay which works like a button. The relay is normally open and when a current flows through, the relay closes. <\/li><\/ul><\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-115.png\" alt=\"\" class=\"wp-image-29065\" width=\"370\" height=\"120\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-115.png 540w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-115-300x97.png 300w\" sizes=\"(max-width: 370px) 100vw, 370px\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Double Throw (DT)<ul><li>eg. <a href=\"https:\/\/www.seeedstudio.com\/Grove-2-Channel-SPDT-Relay.html\">SPDT<\/a> (Single Pole Double Throw) &#8211; Has one common terminal and 2 contacts which are great for selecting between two options. <\/li><\/ul><\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-116.png\" alt=\"\" class=\"wp-image-29066\" width=\"333\" height=\"160\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-116.png 525w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-116-300x144.png 300w\" sizes=\"(max-width: 333px) 100vw, 333px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advantages and Disadvantages of Electromechanical Relay<\/strong><\/h3>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\"><strong>Advantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Able to withstand large inrush currents<\/li><li>High mechanical structure reliability, not susceptible to external electromagnetic environment<\/li><li>Cheap and cost-effective<\/li><li>Able to carry high voltage, high current load <\/li><\/ul>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\"><strong>Disadvantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Electromechanical relays are slower than other types of relays at 5 to 15ms<\/li><li>Larger package sizes, not suitable for small projects<\/li><li>Electromechanical relays tend to have a shorter life than other types of relays due to mechanical wear<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\">Solid State Relays<\/span><\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-118.png\" alt=\"\" class=\"wp-image-29068\" width=\"423\" height=\"316\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-118.png 643w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-118-300x225.png 300w\" sizes=\"(max-width: 423px) 100vw, 423px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/tag\/SOLID-STATE-RELAY.html\">Solid State Relay Examples<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>Also known as SSR, Solid-state relays are basically a circuit with various electronic components that has the same function as the previous Electromechanical relay. They use solid-state components to perform the switching operation without any moving parts. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-119.png\" alt=\"\" class=\"wp-image-29069\" width=\"397\" height=\"216\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-119.png 799w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-119-300x163.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-119-768x418.png 768w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/figure><\/div>\n\n\n\n<p>SSR switches on or off when a small external voltage is applied across its control terminals. They use semiconductor devices to switch the conduction and disconnection of high voltage loads. <\/p>\n\n\n\n<p>A typical SSR consists of a LED driver and a photosensitive MOSFET. When the current is flowing through, it lights up the LED where when the photosensitive MOSFET detects it, it triggers the gate of TRIAC (Triode for alternating current) or SCR (Silicon Controlled Rectifier) that switches the load and the high voltage circuit will be turned on. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advantages and Disadvantages of Solid State Relay<\/strong><\/h3>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\"><strong>Advantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Fast switching speed, the switching time is dependent on the time required to power the LED on and off\u2014approximately 1 ms and 0.5 ms. For instance, the G3MC202p serial SSR we use is \u00bd of load power source cycle +1 ms.<\/li><li>Totally silent operation, almost no noise<\/li><li>No physical contacts mean no sparking, allows it to be used in explosive environments.<\/li><li>Increased lifetime, even if it is activated many times, with no moving parts and contacts, carbon would not be build up.<\/li><li>Compact, thin-profile SSR of monoblock construction with an all-in-one lead frame incorporates a PCB, terminals and heat sink, which is much smaller than mechanical relays and can integrate more channels.<\/li><li>Not susceptible to physical shock<\/li><\/ul>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\"><strong>Disadvantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Contact resistance is relatively large, usually above 100 ohms, which will generate more heat, so it needs to be used with a fan.<\/li><li>High cost<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><span style=\"text-decoration: underline;\">Reed Relays<\/span><\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-121.png\" alt=\"\" class=\"wp-image-29071\" width=\"320\" height=\"205\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-121.png 440w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-121-300x192.png 300w\" sizes=\"(max-width: 320px) 100vw, 320px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Grove-Dry-Reed-Relay-p-1412.html\"> Grove &#8211; Dry-Reed Relay<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>Reed relays consist of a switch with magnetic strips (also known as reed) sealed within a glass tube filled with inert gas (to protect from corrosion) which moves under the influence of an external magnetic or the induced field from its solenoid. The magnetic field applied to the coil is wrapped around the tube that makes the Reed move so that the switch can happen without requiring an armature to move them. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"697\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-122.png\" alt=\"\" class=\"wp-image-29072\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-122.png 769w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-122-300x272.png 300w\" sizes=\"(max-width: 769px) 100vw, 769px\" \/><\/figure><\/div>\n\n\n\n<p>As you can see above, there is no axial magnetic field generated when no voltage is applied to the coil where the reed blade will be disconnected because of the rigidity. When a voltage to the coil is applied, a transverse magnetic field will be generated and the reed will be magnetized. One contact turns N pole and the other turns S pole where they will be connected. <\/p>\n\n\n\n<p>Do note that when using a Reed Relay with an inductive load (such as load that comes from a motor), you need to add a protection circuit between the relay and the load. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advantages and Disadvantages of Reed Relay<\/strong><\/h3>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\"><strong>Advantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Low power consumption, small size<\/li><li>Because it is sealed in an inert gas, very little affected by environmental factors such as temperature and humidity allowing it to have high environmental adaptability<\/li><li>Switching speed is fast, about 10 times higher than an electromechanical relay<\/li><\/ul>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\"><strong>Disadvantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Low load voltage and low current<\/li><li>Susceptible to inductive loads<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"text-decoration: underline;\"><strong>Special Functions Relay<\/strong><\/span><\/h2>\n\n\n\n<p>Other than the mentioned types of relay, here at Seeed, we also offer a few other types of relays that have special functions that I feel you will like: <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong><a href=\"https:\/\/www.seeedstudio.com\/Heelight-Relay-p-2935.html\">Heelight Relay<\/a><\/strong><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-123.png\" alt=\"\" class=\"wp-image-29073\" width=\"339\" height=\"282\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-123.png 418w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-123-300x250.png 300w\" sizes=\"(max-width: 339px) 100vw, 339px\" \/><\/figure><\/div>\n\n\n\n<p>Want to control a relay with sound commands? This Heelight Relay does exactly that! <\/p>\n\n\n\n<p>Heelight Relay is uniquely designed to control a relay using digital sound commands over a distance of about 10 meters. It is built with the Heelight Core (https:\/\/longan-labs.cc\/heelight-core\/), a smart sound sensor that can recognize up to 500+ digital sound commands.&nbsp;<\/p>\n\n\n\n<p>Simply, you can now turn on and off lamps, fans, solenoids, and other small appliances that run on up to 220VAC or DC power by playing a sound with your smartphone, computer, or any audio player.&nbsp;&nbsp;The Heelight Relay is integrated with an STM32 Arm Cortex microcontroller, pre-programmed for digital sound recognition during the manufacturing of this module hence doesn&#8217;t require any further programming to process the digital sound commands. <\/p>\n\n\n\n<p>The module can be configured to respond to a digital sound command using the two built-in momentary push buttons. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.seeedstudio.com\/315MHz-Codec-Adaptive-Wireless-Relay-p-550.html\"><strong>Codec-Adaptive Wireless Relay<\/strong> <\/a><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-124.png\" alt=\"\" class=\"wp-image-29074\" width=\"362\" height=\"246\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-124.png 536w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-124-300x204.png 300w\" sizes=\"(max-width: 362px) 100vw, 362px\" \/><\/figure><\/div>\n\n\n\n<p>Want to control high voltage devices wirelessly? Check out this wireless relay! &#8216;<\/p>\n\n\n\n<p>This wireless relay is a codec-adaptive RF receiver with a single channel relay. It helps easily deployment of wireless AC control for electrical appliances. It features:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Max 30 difference codec, unlimited controller or transmitter of each codec&nbsp; <\/li><li>Adaption of most popular RF remote controller, except rolling code<\/li><\/ul>\n\n\n\n<p>With a wireless function, they are perfect for your projects like home automation, security, industrial control and many more!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>Now that you&#8217;ve known how each type of relay works and its advantages and disadvantages, you now know which relay to use in your projects? Get a <a href=\"https:\/\/www.seeedstudio.com\/tag\/index\/index\/tag\/relay\/?p=1&amp;product_list_limit=all\">relay<\/a> here now today! <\/p>\n\n\n\n<p><strong>Still do not know which relay fits your project?  <\/strong><\/p>\n\n\n\n<p>No worries as we have summarized Seeed&#8217;s existing relay modules, all are compatible with Arduino and Raspberry Pi, to offer an overall guide to our users.<\/p>\n\n\n\n<p>Currently, We have 11 relay modules available in <a href=\"https:\/\/www.seeedstudio.com\/catalogsearch\/result\/?cat=&amp;q=RELAY\">Seeed Bazaar,<\/a> 5 being Electromechanical relays, 5 Solid-state relay, 1 is reed relay. <\/p>\n\n\n\n<p>This guide features a comparison between all of our relays to help you pick a relay that fits your project needs. It is a very useful guide for those who want to use a relay with Arduino and Raspberry Pi.  <a href=\"http:\/\/wiki.seeedstudio.com\/Seeed_Relay_Page\/\">Check out the new guide here.<\/a><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"http:\/\/wiki.seeedstudio.com\/Seeed_Relay_Page\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"498\" height=\"262\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-125.png\" alt=\"\" class=\"wp-image-29075\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-125.png 498w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-125-300x158.png 300w\" sizes=\"(max-width: 498px) 100vw, 498px\" \/><\/a><\/figure><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A relay is an electrically operated switch, the relay opens when the two contacts are<\/p>\n","protected":false},"author":639,"featured_media":29077,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[6,508,247,725],"class_list":["post-20442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-arduino","tag-guide","tag-raspberry-pi","tag-relay"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Types of Relay - Which One Should You Use? - Latest News from Seeed Studio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Types of Relay - Which One Should You Use? - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"A relay is an electrically operated switch, the relay opens when the two contacts are\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-14T03:58:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-11T08:25:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png\" \/>\n\t<meta property=\"og:image:width\" content=\"355\" \/>\n\t<meta property=\"og:image:height\" content=\"193\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ivy Li\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ivy Li\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/\",\"name\":\"Types of Relay - Which One Should You Use? - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png\",\"datePublished\":\"2019-02-14T03:58:25+00:00\",\"dateModified\":\"2020-01-11T08:25:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/fe888e923104aed7e8dc274c8356809e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png\",\"width\":355,\"height\":193,\"caption\":\"Types of Relay - Which One Should Use?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Types of Relay &#8211; Which One Should You Use?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/fe888e923104aed7e8dc274c8356809e\",\"name\":\"Ivy Li\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5dadc590cd0d3358e7dee9523ea19088?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5dadc590cd0d3358e7dee9523ea19088?s=96&r=g\",\"caption\":\"Ivy Li\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/ivy-li\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Types of Relay - Which One Should You Use? - Latest News from Seeed Studio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/","og_locale":"en_US","og_type":"article","og_title":"Types of Relay - Which One Should You Use? - Latest News from Seeed Studio","og_description":"A relay is an electrically operated switch, the relay opens when the two contacts are","og_url":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2019-02-14T03:58:25+00:00","article_modified_time":"2020-01-11T08:25:36+00:00","og_image":[{"width":355,"height":193,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png","type":"image\/png"}],"author":"Ivy Li","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ivy Li","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/","url":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/","name":"Types of Relay - Which One Should You Use? - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png","datePublished":"2019-02-14T03:58:25+00:00","dateModified":"2020-01-11T08:25:36+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/fe888e923104aed7e8dc274c8356809e"},"breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png","width":355,"height":193,"caption":"Types of Relay - Which One Should Use?"},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/02\/14\/new-guide-how-to-choose-the-suitable-relay-compatible-with-arduino-rasberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Types of Relay &#8211; Which One Should You Use?"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/fe888e923104aed7e8dc274c8356809e","name":"Ivy Li","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5dadc590cd0d3358e7dee9523ea19088?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5dadc590cd0d3358e7dee9523ea19088?s=96&r=g","caption":"Ivy Li"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/ivy-li\/"}]}},"modified_by":"yida","views":34736,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127-300x163.png",300,163,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",32,17,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-127.png",355,193,false]},"author_info":{"display_name":"Ivy Li","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/ivy-li\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/20442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/639"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=20442"}],"version-history":[{"count":10,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/20442\/revisions"}],"predecessor-version":[{"id":29116,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/20442\/revisions\/29116"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/29077"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=20442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=20442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=20442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}