Difference between revisions of "Pico-3v-Relay-Hat"

From SB-Components Wiki

 
(13 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>
<table border="3" aligh="right" width="300">
 
<tr> <td> vfgdhjskasjdhfghdjskl</td> </tr> </table>
 
  
 
=== Specifications ===
 
=== Specifications ===
Line 18: 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 26: 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 any micropython supported ide (preferred thonny ide).<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 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 and choose interpreter as MicroPython (Raspberry Pi pico). </li>
+
 
[[File:Thonny-interpreter.PNG|600px]]
+
<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

  • Two High-Quality Relays with switching voltage 2A/ 120V(Max), Switching Voltage(VDC) up to 2A/ 24V(Max).
  • 40 Pins Standard Raspberry Pi Pico header.
  • Stackable design for easy interfacing with Raspberry Pi Pico.
  • Compatible with Raspberry Pi Pico.
  • Indication LED for relay on/off status.

  • Specifications

  • Channel - 2 CH
  • Operating Voltage - 3.3V
  • Switching Voltage (VAC) - 2A/ 120V
  • Switching Voltage(VDC) - 2A/ 24V
  • Dimensions - 21mm x 51 mm
  • Pico 3v Relay HAT
    Buy it From : Click Here

    Pinout

    Pico 3v Relay Pinout.png
    3V Relay HAT PICO Pins
    VCC 3V3
    GND GND
    RELAY 1 GP6
    RELAY 2 GP7

    Installation

    MicroPython

  • Stack Raspberry Pi Pico on female header of Pico 3V Relay HAT.
  • Connect USB cable on Raspberry Pi Pico USB port.
  • Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico).
  • Thonny-interpreter.PNG

  • Now use example code "test.py" from Pico 3V Relay HAT's github repository in thonny ide.
  • Source code : https://github.com/sbcshop/Pico-3V-Relay-HAT

  • Copy and paste code in thonny ide.
  • Pico 3v relay thonny.PNG

  • Click on green play button to run example of Pico 3V Relay HAT.
  • Thonny play.PNG

    Resources