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

From SB-Components Wiki

 
(9 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
</div>
 
</div>
 
   <div class="large-4 column">
 
   <div class="large-4 column">
[[File:Hardware.png]]
+
[[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>
 
</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 32: 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>
      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]]
 
[[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
 +
 +
<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