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

From SB-Components Wiki

Line 32: Line 32:
 
<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> Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico). </li>
 +
[[File:Thonny-interpreter.PNG|600px]]
 
<li> Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico). </li>
 
<li> Open Thonny IDE and Choose interpreter as MicroPython (Raspberry Pi pico). </li>
 
[[File:Thonny-interpreter.PNG|600px]]
 
[[File:Thonny-interpreter.PNG|600px]]
Line 40: Line 42:
 
<li> Copy and paste code in thonny ide. </li>
 
<li> Copy and paste code in thonny ide. </li>
 
[[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 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 ==

Revision as of 09:07, 14 May 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 relay 3v hat.png

    Pinout

    Pico 3v Relay Pinout.png

    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

  • 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 any micropython supported ide (preferred 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