Difference between revisions of "Pico-Relay-Board"

From SB-Components Wiki

Line 37: Line 37:
 
Source code : https://github.com/sbcshop/Raspberry-Pi-Pico-Relay-Board
 
Source code : https://github.com/sbcshop/Raspberry-Pi-Pico-Relay-Board
 
<li> Copy and paste or open code in thonny ide. </li>
 
<li> Copy and paste or open code in thonny ide. </li>
[[File:Thonny-interpreter.PNG|600px]]
+
[[File:Pico_relay_thonny.PNG|600px]]
 
<li> Choose interpreter as MicroPython (Raspberry Pi pico). </li>
 
<li> Choose interpreter as MicroPython (Raspberry Pi pico). </li>
 
[[File:Thonny-interpreter.PNG|600px]]
 
[[File:Thonny-interpreter.PNG|600px]]

Revision as of 13:14, 10 May 2021

Pico Relay Board

Raspberry Pi Pico Relay Board is developed by SB Components with the potential to control up to 4 appliances and loads up to 250V AC@ 7A, 30V DC@ 10A. It provides a way for the users to control the high voltage/current devices.

Features

  • 4 High-quality Relay and loads up to 250V AC@ 7A, 30V DC@ 10A.
  • Optocoupler (CTR: 50~600% at IF =5mA, VCE =5V)
  • Indication LED’s for Relay output status.
  • Relay control jumpers allow the user to control the relays by custom pins other than the default pins.
  • 40-Pin Stacking Header for Pico.
  • 40 Pin External Male Headers for GPIO

  • Specifications

  • Channel - 4
  • Operating Voltage - 5V
  • Switching Voltage (VAC) - 7A/ 250V
  • Switching Voltage(VDC) - 10A/ 30V
  • Indication LED’s for Relay output status.
  • Dimensions - 58 x 21 mm
  • Pico relay board.png

    Pinout

    Installation

    MicroPython

  • Connect Raspberry Pi Pico on female header of Pico Relay Board.
  • Connect USB cable on Raspberry Pi Pico USB port.
  • Make sure default jumpers are connected for each relay
  • Now use example code "Test.py" from pico relay board's github repository in any micropython supported ide (preferred thonny ide).
  • Source code : https://github.com/sbcshop/Raspberry-Pi-Pico-Relay-Board

  • Copy and paste or open code in thonny ide.
  • Pico relay thonny.PNG

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

  • You can connect external devices such as Bulb, fan, appliances etc as shown in below circuit:
  • Pico relay board application.png

  • Click on green play button to run example of Pico Single channel Relay HAT.
  • Thonny play.PNG Note: You can use any other GPIO of Raspberry Pi Pico by removing default jumper and connection it to GPIO using jumper cables.

    Resources