Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soldered Relay MicroPython Library

1-Channel Relay Board With Qwiic 2-Channel Relay Board 4-Channel Relay Board
1-Channel Relay Board With Qwiic (SKU 333021) 2-Channel Relay Board (SKU 333023) 4-Channel Relay Board (SKU 333022)

There's also a plain 1-Channel Relay Board (SKU 333024, no Qwiic in the name) - Soldered's product copy for the 2ch/4ch/plain-1ch boards describes GPIO wiring, but this driver talks to all of them over I2C/Qwiic only; if a board doesn't expose an I2C connector, wire it via a bridge board instead.

This library drives Soldered's Relay board family over I2C/Qwiic (default address 0x30, range 0x30-0x37 for daisy-chaining), with 1, 2, and 4-channel variants supported by the same driver class. Each relay includes an LED indicator that lights up when energized. Max switching: 30V/10A DC, 250V/10A AC.

How to install


After installing the mpremote package, install the library on your board using the following command:

  mpremote mip install github:SolderedElectronics/Soldered-Relay-MicroPython-Library

Or, if you're running a Windows OS:

  python -m mpremote mip install github:SolderedElectronics/Soldered-Relay-MicroPython-Library

Repository Contents

  • Relay.py - MicroPython driver class (1/2/4-channel, I2C/Qwiic)
  • package.json - mip install manifest
  • /Examples - 1-channel, 2-channel, and 4-channel examples

Hardware design

You can find hardware design for these boards in each channel-count variant's own hardware repository.

Documentation

Access library documentation here.

About Soldered

Soldered Logo

At Soldered, we design and manufacture a wide selection of electronic products to help you turn your ideas into acts and bring you one step closer to your final project. Our products are intented for makers and crafted in-house by our experienced team in Osijek, Croatia. We believe that sharing is a crucial element for improvement and innovation, and we work hard to stay connected with all our makers regardless of their skill or experience level. Therefore, all our products are open-source. Finally, we always have your back. If you face any problem concerning either your shopping experience or your electronics project, our team will help you deal with it, offering efficient customer service and cost-free technical support anytime. Some of those might be useful for you:

Open-source license

Soldered invests vast amounts of time into hardware & software for these products, which are all open-source. Please support future development by buying one of our products.

Check license details in the LICENSE file. Long story short, use these open-source files for any purpose you want to, as long as you apply the same open-source licence to it and disclose the original source. No warranty - all designs in this repository are distributed in the hope that they will be useful, but without any warranty. They are provided "AS IS", therefore without warranty of any kind, either expressed or implied. The entire quality and performance of what you do with the contents of this repository are your responsibility. In no event, Soldered (TAVU) will be liable for your damages, losses, including any general, special, incidental or consequential damage arising out of the use or inability to use the contents of this repository.

Have fun!

And thank you from your fellow makers at Soldered Electronics.

About

MicroPython library for Soldered's 1/2/4-channel Relay boards.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages