Soldered SimpleSensor MicroPython Library

This library drives Soldered's "Simple Sensor" family: each sensor is a two-piece system pairing a probe/sensing element with a Qwiic interface board (onboard comparator/ADC) for both digital (threshold) and analog output over I2C.

Rain

Simple Rain SensorSimple Rain Sensor Board With Qwiic
Simple Rain Sensor (opens in a new tab)Simple Rain Sensor Board With Qwiic (opens in a new tab)

Soil humidity

Simple Soil Humidity SensorSimple Soil Humidity Sensor Board With Qwiic
Simple Soil Humidity Sensor (opens in a new tab)Simple Soil Humidity Sensor Board With Qwiic (opens in a new tab)

Light

Simple Light SensorSimple Light Sensor Board With Qwiic
Simple Light Sensor (opens in a new tab)Simple Light Sensor Board With Qwiic (opens in a new tab)

Fire

Simple Fire SensorSimple Fire Sensor Board With Qwiic
Simple Fire Sensor (opens in a new tab)Simple Fire Sensor Board With Qwiic (opens in a new tab)

How to install


After installing the mpremote package (opens in a new tab), install the library on your board using the following command:

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

Or, if you're running a Windows OS:

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

Repository Contents

  • SimpleSensor.py - base sensor class (shared read/threshold logic)
  • SimpleRainSensor.py, SimpleSoilSensor.py, SimpleLightSensor.py, SimpleFireSensor.py - per-board subclasses
  • package.json - mip install manifest
  • /Examples - Native (GPIO/ADC) and I2C examples for each sensor variant

Hardware design

You can find hardware design for each board in its respective hardware repository (see product links above).

Documentation

Access library documentation here (opens in a new tab).

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.