Difference between revisions of "Pico-Single-Channel-Relay-Hat"
From SB-Components Wiki
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <div class="row"> | ||
+ | <div class="large-8 column"> | ||
== Pico Single Channel Relay HAT == | == Pico Single Channel Relay HAT == | ||
Pico Single Channel Relay HAT is a single channel High-quality relay with loads upto 7A/ 250 VAC and 10A/ 30VDC. It comes with a Female Pin Header, to easily connect with Raspberry Pi Pico via effortless stacking. | Pico Single Channel Relay HAT is a single channel High-quality relay with loads upto 7A/ 250 VAC and 10A/ 30VDC. It comes with a Female Pin Header, to easily connect with Raspberry Pi Pico via effortless stacking. | ||
Line 16: | Line 18: | ||
<li> Switching Voltage(VDC) - 10A/ 30V </li> | <li> Switching Voltage(VDC) - 10A/ 30V </li> | ||
<li> Dimensions - 21mm x 51 mm </li> | <li> Dimensions - 21mm x 51 mm </li> | ||
+ | |||
+ | </div> | ||
+ | <div class="large-4 column"> | ||
+ | [[File:Pico_Single_relay.png|thumb|left|alt=Pico Single Channel relay HAT| Buy it From : ''[https://shop.sb-components.co.uk/products/pico-single-channel-relay-hat Click Here]'']] | ||
+ | </div> | ||
+ | </div> | ||
== Pinout == | == Pinout == | ||
Line 23: | Line 31: | ||
==== MicroPython ==== | ==== MicroPython ==== | ||
<li> Stack Raspberry Pi Pico on female header of Pico Single channel Relay HAT. </li> | <li> Stack Raspberry Pi Pico on female header of Pico Single channel Relay HAT. </li> | ||
+ | [[File:Pico_single_relay_stackable2.png]] | ||
<li> Connect USB cable on Raspberry Pi Pico USB port. </li> | <li> Connect USB cable on Raspberry Pi Pico USB port. </li> | ||
+ | <li> Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico). </li> | ||
+ | [[File:Thonny-interpreter.PNG|600px]] | ||
<li> Now use example code "test.py" from Pico Single channel Relay HAT's github repository in any micropython supported ide (preferred thonny ide). | <li> Now use example code "test.py" from Pico Single channel Relay HAT's github repository in any micropython supported ide (preferred thonny ide). | ||
Source code : https://github.com/sbcshop/Pico-Single-channel-Relay-HAT | Source code : https://github.com/sbcshop/Pico-Single-channel-Relay-HAT | ||
− | <li> Copy paste code in thonny ide | + | <li> Copy and paste code in thonny ide.</li> |
− | [[File: | + | [[File:Pico_single_relay_thonny.PNG|600px]] |
<li> Click on green play button to run example of Pico Single channel Relay HAT. </li> | <li> Click on green play button to run example of Pico Single channel Relay HAT. </li> | ||
[[File:Thonny_play.PNG]] | [[File:Thonny_play.PNG]] | ||
== Resources == | == Resources == |
Latest revision as of 05:29, 18 May 2021
Pico Single Channel Relay HAT
Pico Single Channel Relay HAT is a single channel High-quality relay with loads upto 7A/ 250 VAC and 10A/ 30VDC. It comes with a Female Pin Header, to easily connect with Raspberry Pi Pico via effortless stacking.