Difference between revisions of "Pico-Dual-Channel-Relay-Hat"
From SB-Components Wiki
Line 35: | Line 35: | ||
<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 | ||
− | <li> Copy paste code in thonny ide | + | <li> Copy and paste code in thonny ide. </li> |
+ | |||
+ | [[File:Pico_3v_relay_thonny.PNG|600px]] | ||
+ | |||
+ | <li> Choose interpreter as MicroPython (Raspberry Pi pico). </li> | ||
+ | |||
[[File:Thonny-interpreter.PNG|600px]] | [[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> | ||
[[File:Thonny_play.PNG]] | [[File:Thonny_play.PNG]] | ||
== Resources == | == Resources == |
Revision as of 14:52, 11 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.