{"id":268,"date":"2022-11-04T19:36:33","date_gmt":"2022-11-04T11:36:33","guid":{"rendered":"https:\/\/raspberrypi.me\/shop\/?post_type=product&#038;p=268"},"modified":"2025-06-19T21:24:42","modified_gmt":"2025-06-19T13:24:42","slug":"rpi-relay-board","status":"publish","type":"product","link":"https:\/\/raspberrypi.me\/shop\/product\/rpi-relay-board\/","title":{"rendered":"RPi Relay Board"},"content":{"rendered":"<p>Ever wanted to automate your home by controlling AC appliances like light or fan? Well, this HAT might be perfect for you if you are using Raspberry Pi as the controller. This HAT Relay Board gives your RPi the ability to control high voltage\/high current devices, easily makes normal home appliances become intelligent.<\/p>\n<p>Board Overview:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-272 aligncenter\" src=\"https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Overview.jpg\" alt=\"\" width=\"730\" height=\"548\" srcset=\"https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Overview.jpg 730w, https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Overview-600x450.jpg 600w, https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Overview-300x225.jpg 300w, https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Overview-48x36.jpg 48w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<ol>\n<li>Raspberry Pi GPIO interface: Stack on Raspberry Pi<\/li>\n<li>Relay screw terminal:\u00a0for connecting target devices, AC or DC load.<\/li>\n<li>Relays<\/li>\n<li>Photocoupler:\u00a0PC817<\/li>\n<li>Relay indicator LEDs\n<ul>\n<li>LED on: relay NC is opened, NO is closed<\/li>\n<li>LED off: relay NC is closed, NO is opened<\/li>\n<\/ul>\n<\/li>\n<li>Power indicator<\/li>\n<li>Relay control jumper\n<ul>\n<li>short the jumper: control the relays by default I\/Os used in the example code<\/li>\n<li>open the jumper: control the relays by custom I\/Os through jumper wires<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>Dimensions:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-271 aligncenter\" src=\"https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Dimension.jpg\" alt=\"\" width=\"750\" height=\"622\" srcset=\"https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Dimension.jpg 750w, https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Dimension-600x498.jpg 600w, https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Dimension-300x249.jpg 300w, https:\/\/raspberrypi.me\/shop\/wp-content\/uploads\/2022\/11\/RPi-HAT-Relay-Dimension-48x40.jpg 48w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<h2>Features<\/h2>\n<ul>\n<li>Supports\u00a0Raspberry Pi Zero\/Zero W\/Zero WH\/A+\/3B\/3B+\/3A+\/4B<\/li>\n<li>High quality relays, loads up to 5A 250V AC or 5A 30V DC<\/li>\n<li>Photo coupling isolation, prevent interference from high voltage circuit<\/li>\n<li>Onboard LEDs for indicating relays status<\/li>\n<li>Relay control jumper, allows to control the relays by custom pins other than the default pins<\/li>\n<li>Comes with development resources, including examples in wiringPi, WebioPi, shell, python, and BCM2835<\/li>\n<\/ul>\n<h2>Packing List<\/h2>\n<ul>\n<li>1 x HAT Relay board<\/li>\n<li>2 x 15mm spacer (2.00 mm diameter) with screws and nuts<\/li>\n<\/ul>\n<h2>Resources<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.waveshare.com\/wiki\/RPi_Relay_Board\" target=\"_blank\" rel=\"noopener\">Wiki page<\/a><\/li>\n<li><a href=\"https:\/\/www.waveshare.com\/wiki\/File:RPi-Relay-Board-Schematic.pdf\" target=\"_blank\" rel=\"noopener\">Schematic<\/a><\/li>\n<li><a href=\"https:\/\/www.waveshare.com\/wiki\/Libraries_Installation_for_RPi\" target=\"_blank\" rel=\"noopener\">Libraries Installation for Raspberry Pi<\/a><\/li>\n<li><a href=\"https:\/\/www.waveshare.com\/wiki\/File:WebIOPi-0.7.1.tar.gz\" target=\"_blank\" rel=\"noopener\">WebIOPi-0.7.1<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Ever wanted to automate your home by controlling AC appliances like light or fan? Well, this HAT might be perfect for you if you are using Raspberry Pi as the controller. This HAT Relay Board gives your RPi the ability to control high voltage\/high current devices, easily makes normal home appliances become intelligent. Board Overview: [&hellip;]<\/p>\n","protected":false},"featured_media":270,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[59],"product_tag":[65,60,27,64],"class_list":{"0":"post-268","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-hats","7":"product_tag-gpio","8":"product_tag-hats","9":"product_tag-raspberry-pi","10":"product_tag-waveshare","12":"first","13":"instock","14":"taxable","15":"shipping-taxable","16":"purchasable","17":"product-type-simple"},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/product\/268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/comments?post=268"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/media\/270"}],"wp:attachment":[{"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/media?parent=268"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/product_brand?post=268"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/product_cat?post=268"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/raspberrypi.me\/shop\/wp-json\/wp\/v2\/product_tag?post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}