Pico-Single-Channel-Relay-Hat

From SB-Components Wiki

Pico Single Channel Relay HAT

Pico Single Channel Relay HAT is a single channel High-quality relay with loads upto 7A/ 250 VAC and 10A/ 30VDC. It comes with a Female Pin Header, to easily connect with Raspberry Pi Pico via effortless stacking.

Features

  • One High-Quality Relay 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 - 1 CH
  • Operating Voltage - 5V
  • Switching Voltage (VAC) - 7A/ 250V
  • Switching Voltage(VDC) - 10A/ 30V
  • Dimensions - 21mm x 51 mm
  • Pico Single relay.png

    Pinout

    Pico Single Relay Pinout.png

    Installation

    MicroPython

  • Stack Raspberry Pi Pico on female header of Pico Single channel Relay HAT.
  • Connect USB cable on Raspberry Pi Pico USB port.
  • Now use example code "test.py" from Pico Single channel Relay HAT's github repository in any micropython supported ide (preferred thonny ide). Source code : https://github.com/sbcshop/Pico-Single-channel-Relay-HAT
  • Copy and paste code in thonny ide.
  • Pico single relay thonny.PNG

  • Choose interpreter as MicroPython (Raspberry Pi pico).
  • Thonny-interpreter.PNG

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

    Resources