Skip to content

siliconwitchery/s2-lua-examples

Repository files navigation

Lua examples

Name Description Sensors used
adafruit_bmp280.lua Code for reading temperature and air pressure using a barometric sensor. BMP280 📖 🛍️
adafruit_mcp9808.lua Periodically reports temperature values back to Superstack. MCP9808 📖 🛍️
adafruit_mlx90393.lua Code for measuring magnetic field strength in three axes (X, Y, Z). MLX90393 📖 🛍️
air-quality-monitor An indoor air monitoring system that measures temperature, humidity, AQI, CO₂, and TVOC, and automatically controls a fan based on air quality levels. The data collected is sent to Superstack SHT45 📖 🛍️
ENS160 📖 🛍️
Relay 📖 🛍️
embedded-world-badge.lua Code for a wearable conference badge featuring temperature and eCO₂ measurements, NFC functionality, and a transparent display. The data collected is sent to Superstack MCP9808 📖 🛍️ ST25DV16 📖 🛍️
ENS160 📖 🛍️
SSD1309 📖 🛍️
power-meter.lua A system that measures voltage, current, and power consumption and sends the data to Superstack. INA237 📖 🛍️
production-line-color-checker.lua A project that measures light intensity at different wavelengths using a color sensor and sends the data to Superstack. AS7343 📖 🛍️
sparkfun_cap1203.lua Code for the Sparkfun CAP1203 slider sensor. Detects touches on three different pads. CAP1203 📖 🛍️
sparkfun_vcnl4040.lua Code for the Sparkfun VCNL4040 sensor. Measures ALS (Ambient light source). VCNL4040 📖 🛍️
trash-level-sensor.lua A project that measures how full a trash can is using a distance sensor. The system calculates the distance from the sensor to the trash and sends the data to Superstack. VL53L0X 📖 🛍️

About

Lua example snippets to help you get started with the S2 Module and Superstack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages