Difference between revisions of "Pico-3v-Relay-Hat"
From SB-Components Wiki
(→Pinout) |
|||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <div class="row"> | ||
+ | <div class="large-8 column"> | ||
== Pico 3V Relay HAT == | == Pico 3V Relay HAT == | ||
Pico 3V Relay HAT is a Two-Channel high-quality relay with the Switching Voltage(VAC) up to 2A/ 120V(Max), Switching Voltage(VDC) up to 2A/ 24V(Max), and an operating voltage of 3.3V. It comes with a Female Pin Header, to easily connect with Raspberry Pi Pico via effortless stacking. | Pico 3V Relay HAT is a Two-Channel high-quality relay with the Switching Voltage(VAC) up to 2A/ 120V(Max), Switching Voltage(VDC) up to 2A/ 24V(Max), and an operating voltage of 3.3V. It comes with a Female Pin Header, to easily connect with Raspberry Pi Pico via effortless stacking. | ||
Line 8: | Line 10: | ||
<li> Compatible with Raspberry Pi Pico. </li> | <li> Compatible with Raspberry Pi Pico. </li> | ||
<li> Indication LED for relay on/off status. </li> | <li> Indication LED for relay on/off status. </li> | ||
+ | </br> | ||
=== Specifications === | === Specifications === | ||
Line 15: | Line 18: | ||
<li> Switching Voltage(VDC) - 2A/ 24V </li> | <li> Switching Voltage(VDC) - 2A/ 24V </li> | ||
<li> Dimensions - 21mm x 51 mm </li> | <li> Dimensions - 21mm x 51 mm </li> | ||
+ | |||
+ | </div> | ||
+ | <div class="large-4 column"> | ||
+ | [[File:Pico_relay_3v_hat.png|thumb|left|alt=Pico 3v Relay HAT| Buy it From : ''[https://shop.sb-components.co.uk/products/pico-3v-relay-hat Click Here]'']] | ||
+ | </div> | ||
+ | </div> | ||
== Pinout == | == Pinout == | ||
− | [[File:Pico_3v_Relay_Pinout.png]] | + | <table class="wikitable"> |
+ | <tr><td>[[File:Pico_3v_Relay_Pinout.png]]</td> | ||
+ | <td> | ||
+ | <table class="wikitable"> | ||
+ | <tr> <th>3V Relay HAT </th> <th> PICO Pins </th></tr> | ||
+ | <tr> <td> VCC </td> <td> 3V3 </td></tr> | ||
+ | <tr> <td> GND </td> <td> GND </td></tr> | ||
+ | <tr> <td> RELAY 1 </td> <td> GP6 </td></tr> | ||
+ | <tr> <td> RELAY 2 </td> <td> GP7 </td></tr> | ||
+ | </table> | ||
+ | </td> | ||
+ | </table> | ||
== Installation == | == Installation == | ||
Line 23: | Line 43: | ||
<li> Stack Raspberry Pi Pico on female header of Pico 3V Relay HAT. </li> | <li> Stack Raspberry Pi Pico on female header of Pico 3V Relay HAT. </li> | ||
<li> Connect USB cable on Raspberry Pi Pico USB port. </li> | <li> Connect USB cable on Raspberry Pi Pico USB port. </li> | ||
− | <li> Now use example code "test.py" from Pico 3V Relay HAT's github repository in | + | <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 3V Relay HAT's github repository in thonny ide. </li> | ||
+ | |||
Source code : https://github.com/sbcshop/Pico-3V-Relay-HAT | Source code : https://github.com/sbcshop/Pico-3V-Relay-HAT | ||
− | <li> Copy paste code in thonny ide | + | |
− | [[File: | + | <li> Copy and paste code in thonny ide. </li> |
+ | [[File:Pico_3v_relay_thonny.PNG|600px]] | ||
<li> Click on green play button to run example of Pico 3V Relay HAT. </li> | <li> Click on green play button to run example of Pico 3V Relay HAT. </li> | ||
[[File:Thonny_play.PNG]] | [[File:Thonny_play.PNG]] | ||
== Resources == | == Resources == |
Latest revision as of 06:50, 11 June 2021
Pico 3V Relay HAT
Pico 3V Relay HAT is a Two-Channel high-quality relay with the Switching Voltage(VAC) up to 2A/ 120V(Max), Switching Voltage(VDC) up to 2A/ 24V(Max), and an operating voltage of 3.3V. It comes with a Female Pin Header, to easily connect with Raspberry Pi Pico via effortless stacking.
Features
Specifications
Pinout
|
Installation
MicroPython
Source code : https://github.com/sbcshop/Pico-3V-Relay-HAT