Difference between revisions of "Pico-3v-Relay-Hat"
From SB-Components Wiki
Line 20: | Line 20: | ||
== Installation == | == Installation == | ||
+ | === MicroPython === | ||
<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> Now use example code "test.py" from Pico 3V Relay HAT's github repository in any micropython supported ide (preferred thonny ide).<li> |
Source code : https://github.com/sbcshop/Pico-3V-Relay-HAT | Source code : https://github.com/sbcshop/Pico-3V-Relay-HAT | ||
− | <li> Copy paste code in ide and choose interpreter as MicroPython (Raspberry Pi pico). </li> | + | <li> Copy paste code in thonny ide and 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> | ||
+ | [[File:Thonny_play.PNG]] |
Revision as of 06:56, 14 April 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.