Difference between revisions of "Pico-Dual-Channel-Relay-Hat"

From SB-Components Wiki

 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
 
</div>
 
</div>
 
   <div class="large-4 column">
 
   <div class="large-4 column">
[[File:Pico_Dual_relay.png]]
+
[[File:Pico_Dual_relay.png|thumb|left|alt=Pico dual channel relay hat| Buy it From : ''[https://shop.sb-components.co.uk/products/pico-dual-channel-relay-hat Click Here]'']]
 
   </div>
 
   </div>
 
</div>
 
</div>
Line 34: Line 34:
 
[[File:Pico_single_relay_stackable.png]]
 
[[File:Pico_single_relay_stackable.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 Dual channel Relay HAT's github repository in any micropython supported ide (preferred thonny ide).
 
<li> Now use example code "test.py" from Pico Dual channel Relay HAT's github repository in any micropython supported ide (preferred thonny ide).
 
Source code : https://github.com/sbcshop/Pico-dual-channel-Relay-HAT
 
Source code : https://github.com/sbcshop/Pico-dual-channel-Relay-HAT
Line 40: Line 43:
 
[[File:Pico_3v_relay_thonny.PNG|600px]]
 
[[File:Pico_3v_relay_thonny.PNG|600px]]
  
<li> Choose interpreter as MicroPython (Raspberry Pi pico). </li>
 
  
[[File:Thonny-interpreter.PNG|600px]]
 
  
 
<li> Click on green play button to run example of Pico Dual channel Relay HAT. </li>
 
<li> Click on green play button to run example of Pico Dual channel Relay HAT. </li>

Latest revision as of 05:32, 18 May 2021

Pico Dual Channel Relay HAT

Pico Dual Channel Relay HAT is a Two-Channel high-quality relay with loads up to 250V AC/ 7A, 30V DC/ 10A to provide a way to control the high voltage/current devices. It comes with a Female Pin Header, to easily connect with Raspberry Pi Pico via effortless stacking.

Features

  • Two High-Quality Relays with loads of 7A/ 250 VAC and 10A/ 30 VDC.
  • 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.
  • Opto-Isolated

  • Specifications

  • Channel - 2 CH
  • Operating Voltage - 5V
  • Switching Voltage (VAC) - 7A/ 250V
  • Switching Voltage(VDC) - 10A/ 30V
  • Dimensions - 21mm x 58mm
  • Pico dual channel relay hat
    Buy it From : Click Here

    Pinout

    Pico 3v Relay Pinout.png

    Installation

    MicroPython

  • Stack Raspberry Pi Pico on female header of Pico Dual channel Relay HAT.
  • Pico single relay stackable.png

  • 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 Dual channel Relay HAT's github repository in any micropython supported ide (preferred thonny ide). Source code : https://github.com/sbcshop/Pico-dual-channel-Relay-HAT
  • Copy and paste code in thonny ide.
  • Pico 3v relay thonny.PNG

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

    Resources