Přeskočit na obsah
english
czech
air qualitydouble switchmini switchwall switchled dimmerled displaysensorsmotors

pyramidak air quality

Indoor or outdoor air quality sensors couldn’t be easier to build. And the best part is that you can choose from multiple sensors from different manufacturers and connect only the ones you need. The sensors just snap into the ports and all digital sensors are automatically detected at startup. In the firmware settings you can see detailed information about all sensors – left printscreen.

Measured values are automatically sent via MQTT communication. The integration of all MQTT sensors into Home Assistant can be found here in the System menu, Air tab. The values of all sensors are evaluated into a summary virtual air quality sensor, thanks to which you can easily do automations. The values 1-Good, 2-Fair, 3-Bad are externally displayed by a traffic light whose brightness is controlled by an ambient light sensor. Although the sensors can be combined in various ways, thanks to the universal PCB, everything can fit into one box of 114x56x19mm and even 72x56x19mm without the particulate matter sensor, both with mounting holes.

Expand your knowledge around sensors by reading about this project in the menu Air Quality.

Quantities and sensors

ambient light

Vishay VEML7700
Vishay TEMT6000 analog

air temperature

Sensirion SCD30(SHT31)
Sensirion SHT40
Bosch BMP280
Bosch BME280
Bosch BME680
DS18B20, DHT22 externally (plug in DIGITAL)

relative humidity

Sensirion SCD30(SHT31)
Sensirion SHT40
Bosch BME280
Bosch BME680
DHT22, DHT11 externally (plug in DIGITAL)

atmospheric pressure

Bosch BMP280
Bosch BME280
Bosch BME680

carbon dioxide

Sensirion SCD30

dust particles

Sensirion SPS30
Plantower PMSA003
Plantower PMS5003
Plantower PMS7003

volatile substances

Sensirion SGP30 unit ppb, sensitive
Sensirion SGP41 not implemented yet
Bosch BME680 unit index
Sensortech MICS5524 unit ppm, analog

wind speed

Anemometer 0-5V (plug in A1+GND)
(AliExpress)

raindrops

MH-RD 3V3 externally (plug in DIGITAL or A0)
(AliExpress)

Sensors and quantities

Bosch BMP280

air temperature
atmospheric pressure
(AliExpress)

Bosch BME280

air temperature
atmospheric pressure
relative humidity
(AliExpress)

Bosch BME680

air temperature
atmospheric pressure
relative humidity
volatile substances (ethane, isoprene, methyl, butadiene, ethanol, acetone and carbon monoxide)
(AliExpress)

Plantower PMSx003

dust particles (PM1, 2.5, 10 both mass and number)
(AliExpress)

Sensirion SHT40

air temperature
relative humidity
(AliExpress)

Sensirion SGP30

volatile substances (compound of ethane and hydrogen)
(AliExpress)

Sensirion SCD30

carbon dioxide
air temperature
relative humidity
(AliExpress)

Sensirion SPS30

dust particles (PM1, 2.5, 4.0, 10 both mass and number)
(AliExpress)

Sensortech MICS5524

volatile substances (carbon monoxide, ethanol, hydrogen, ammonia and methane)
(AliExpress)

Vishay TEMT6000

ambient light max. 1000 lux
(AliExpress)

Vishay VEML7700

ambient light max. 3775 lux
(AliExpress)

Don’t forget to place the sensor appropriately where you need to assess the air quality, for example where you are sitting and where there is no constant draft. TVOC sensors of volatile substances usually need time to warm up before they start to show correct values, but some also need time to determine the lowest level, such as the SGP30, where you can count on valid values only after a few hours. Of course, high values are captured immediately. Since each TVOC sensor evaluates pollution differently, you have an air quality sensor that does it for you. The sensor is mainly used for automation, so understand the use of its three states in the room and outside as follows.

  • 1-Good: the room is ventilated / good air outside for ventilation

  • 2-Fair: do not ventilate in winter, otherwise you can ventilate

  • 3-Bad: the room needs to be ventilated / bad air outside for ventilation

possible variations below

sensirion

  • POWER USB-C

  • CO2 SCD30

  • PM SPS30

  • TVOC SGP30 / BME680

  • TEMT6000

  • LED traffic lights

  • SIZE 114x56x19mm

outdoor

  • POWER DC 9-24V

  • T BME280 / SHT40

  • PM SPS30

  • without TVOC

  • VEML7700

  • LED traffic lights

  • SIZE 114x56x19mm

half

  • POWER USB-C

  • CO2 SCD30

  • without PM

  • TVOC BME680 / SGP30

  • TEMT6000

  • LED traffic lights

  • SIZE 72x56x19mm

If you prefer to make the hardware yourself, use link to the schematic and PCB. Please support the project by donating.

pyramidak double switch

This smart switch with logic unit Wemos D1 Mini have two relays and two sensor ports. Switch appliances using smart home via MQTT communication, door sensor, motion sensor, or physical button. In the Device setup menu, select 1-switch or 2-switches as Device Purpose.

silent

  • POWER AC 100-250V

  • LOAD max 2x 2A AC

  • silent solid-state relay

  • digital sensor port

  • analog sensor port

  • solder pads pull-down/up resistor

  • LEDs relays port

  • force WiFi AP or turn WiFi off

inrush

  • POWER AC 100-250V

  • LOAD max 2x 5A AC

  • 7A relays TV-3

  • inrush current
    relays protection

  • digital and analog sensor ports

  • solder pads pull-down/up resistor

  • LEDs relays port

  • force WiFi AP or turn WiFi off

power

  • POWER AC 100-250V

  • LOAD max AC 2x 5A / 1x 8A

  • 10A power relays

  • digital sensor port

  • analog sensor port

  • solder pads pull-down/up resistor

  • LEDs relays port

  • force WiFi AP or turn WiFi off

If you prefer to make the hardware yourself, use link to the schematic and PCB. Please support the project by donating.

pyramidak mini switch

This mini smart switch with logic unit Wemos D1 Mini have two relays and sensor ports. You can control switches via smart home, MQTT communication, motion sensor or external switch. In the Device setup menu for Device Purpose select 1-switch or 2-switches.

  • POWER DC 5V / USB

  • LOAD max 1x 7A / 2x 5A AC/DC

  • relay TV-3 250VAC 30VDC

  • port digital sensor

  • port analog sensor

  • solder pads pull-down/up resistor

  • force WiFi AP or turn WiFi off

If you prefer to make the hardware yourself, use link to the schematic and PCB. Please support the project by donating.

pyramidak wall switch

This smart wall switch with logic unit Wemos D1 Mini have two silent relays, two switches, and analog sensor port. You can control it with door sensor or motion sensor and by smart home via MQTT communication. In the Device Setup menu, select the 2-switch as Device Purpose and in the Sensor menu for the Digital Sensor select the 3-toggle and the same for the Digital2 Sensor, and you can also select door or motion sensor in Analog sensor. In the LED menu you can set the behavior of the LEDs for the switches.

  • POWER AC 100-240V

  • 2x LOAD max. 2x 2A AC

  • silent solid-state relays

  • port analog sensor

  • LEDs are adjustable

  • microswitches 2x / 1x

  • force WiFi AP

If you prefer to make the hardware yourself, use link to the schematic and PCB. Please support the project by donating.

pyramidak led dimmer

The device with logic unit Wemos D1 mini controls the led light by smart home via MQTT communication, adjust by potentiometer, turn on via motion sensor. In the Device setup menu, select 3-light or 4-lights as Device Purpose.

  • POWER DC 9V-24V

  • 2x LOAD max. 2x 33W DC

  • silent dimmer mosfets

  • digital sensor port

  • analog sensor port

  • solder pads pull-down/up resistor

  • force WiFi AP or turn WiFi off

If you prefer to make the hardware yourself, use link to the schematic and PCB. Please support the project by donating.

pyramidak led display

This module of Wemos D1 mini logic unit will make it easier for you to build display from LED units MAX7219. The 3V3 power supply of the display will reduce the high brightness, and the ambient light sensor will automatically adjust the brightness strength. Use parola firmware and in display setting choose number of rows and columns (number of individual pieces of MAX7219). Use MQTT communication to display any text you need.

parola

  • POWER DC 5V-12V

  • highly luminous display

  • auto brightness

  • max7219 connector

  • force WiFi AP

  • SIZE 205x85x18 mm

Cube displays two digits, temperature from -9 to 99 from thermistor, or any number by using MQTT communication. Use parola firmware and in Device setting select 2-mini as Device Purpose. Reduce brightness in Display setting or via MQTT communication.

mini

  • POWER USB

  • 2 highly luminous digits

  • adjustable brightness

  • magnetic connector

  • magnetic backside

  • thermistor optional

  • SIZE 40x36x24 mm

If you prefer to make the hardware yourself, use link to the schematic and PCB. Please support the project by donating.

pyramidak sensors

Module of Wemos D1 mini logic unit for sensors, two digital and analog for 3V3 or 5V sensor. In the Device settings menu, select 7-only sensors as Device Purpose. The sensor module supports sleeping – it can be woken up by a door or motion sensor, for example, and it can be powered by 4 lead batteries.

  • POWER DC 9V-24V,
    DC/USB 5V

  • sleep/wake support

  • two digital sensor ports

  • analog sensor port 3V3 or 5V

  • solder pads pull-down/up resistor

  • force WiFi AP or turn WiFi off

If you prefer to make the hardware yourself, use link to the schematic and PCB. Please support the project by donating.

pyramidak motors

Module of Wemos D1 mini logic unit for two stepper motors. Logic sensors can control the behavior of the motor (speed and direction), which you can also control via MQTT communication. In the Device settings menu, select the 9-motor device as Device Purpose. Compatible A4988 motor controller, i.e. 2-wire control and 4-wire motors.

  • POWER jack DC 9V-24V

  • power button port

  • two motor controller ports

  • two stepper motor ports

  • two digital sensor ports

  • analog sensor port

  • force WiFi AP or turn WiFi off

If you prefer to make the hardware yourself, use link to the schematic and PCB. Please support the project by donating.

Table of tested sensors for switches

sensoroff switchtoggle switchdoormotionpotentiometerlight
deviceStainlessSteelStainlessSteelSgoowayMH-SR6021K OhmTEMT6000
portdigital,analogdigital,analogdigital,analogdigital,analoganaloganalog
setting234,5,6178
picture
sensorsoil moisturesoundcurrentraindropstemperaturetemperature
deviceV1.2KY-037ACS712-5AMH-RDDHT22DS18B20
portanaloganaloganalogdigital, analogdigitaldigital
setting910115, 989
picture
3D print