Montage

For the creators of a Zephyr network.

Printing case parts

Case assembly

After printing the 7 parts that make up the case, use an M5 tap to tap the 3 threads on the case cap. The threads have been pre-formed during printing, but it's necessary to finish tapping them. You can also use a moderately heated threaded rod to tap each hole.

tap the 3 M5 threads
circle-exclamation

Screw in each threaded rod, adding a little cyanoacrylate glue to lock them in place.

Screw on the 3 threaded rods

Thread the 4 intermediate parts of the case into the rods screwed to the case cap.

Assemble the 5 parts of the case

Place the central hexagonal screw on the sensor base, then glue the SEN55 sensor support in the slot provided.

Position the central screw
triangle-exclamation
Glue the SEN55 sensor holder in place
Upper part of case assembled.

Mounting the sensors on the PCB

The wiring

Have a PCB printed by a specialist company using the gerber file supplied (for example), or make your own.

PCB preparation

Solder the wires of the JST GHR 06V-S connector according to the wiring diagram provided by Sensirion. Solder the FH1XT connectors to the PCB. 2 x 7-pin connectors for the Xiao ESP32 C3 and possibly 1 x 4-pin connector for the SCD30 option.

PIN JST GHR SEN55
XIAO ESP32 C3
SEN55
SCD30
PCB

1

5V

VCC

-

a

2

GND

GND

-

b

3

SDA (pin 4)

SDA

SDA

c

4

SCL (pin 5)

SCL

SCL

d

5

GND

GND

GND

b

-

3.3V

-

VCC

e

Wiring the SEN55 with the JST GHR 06V-S connector (Sensirion datasheet)
SCD30 wiring (Sensirion datasheet)
PCB with JST connectors GHR 06V-S and FH1XT

Sensor connection

SEN55 version with USB C cable connected to a computer.

Connect the SEN55 sensor to the Xiao ESP32 C3 board and, if necessary, the SCD30 sensor. Before placing the assembly in the box, we recommend connecting it to a computer to check that it works properly, and then downloading the final code.

Hardware control and code upload

triangle-exclamation
circle-exclamation

Download

Under Visual Studio Code, install the project code files customized to the characteristics of your network, as well as the Include folder with the SEN55-<SENSOR_ID> or SCD30-<SENSOR_ID> files for each sensor, containing the parameters specific to each one.

triangle-exclamation
Location of bootloader button
Ecran PlatformIO using Visual Studio Code

Set the code according to (see image above):

  • A: specify the include .h file of the sensor to be installed. Here SEN55-084.h

  • B: "SCD30 0" if the Zephyr is not equipped with an SCD30 sensor,"SCD30 1" otherwise

  • C: "WIFI_RESET 0" to retain saved wifi settings, or select "1" to reset wifi settings.

  • D: "SEND_DATA 0" to record data every half-hour, "SEND_DATA 1" to record data every 5 minutes.

  • E: "DEBUG 1": to display serial.print information on the monitor for checking,"DEBUG 0"in normal mode

Upload the code ( arrow command -> ), after a few seconds (13.15 sec. here) Visual Studio Code indicates whether the upload was successful.

Disconnect and reconnect the Xiao card (or press the Reset button on the card) and check the available wifi networks on a computer or smartphone. Look for the new network generated by the Zephyr, calledLook for the new network generated by the Zephyr called "AutoConnectApp" usually appears on your device, if not open a web browser and go to http://192.168.4.1arrow-up-right . This temporary network will enable you to connect the Zephyr to the home box's wifi. Connect to this network, then press Configure WIFI.

Home screen for the Zephyr's temporary wifi link.

A new screen will appear. It will list the SSIDs of all available wifi networks. Choose the network to which you want to connect the Zephyr (here "My SSID") and enter the network password.

AutoConnectApp screen for entering Wifi connection parameters

Check your password carefully (check Show Password).

triangle-exclamation

Then press "Save" to confirm your choice. Disconnect and reconnect the Xiao card. Go to your project dashboard (Grafana, for example) to check whether data is being sent by this Zephyr. If the Zephyr is sending data (wait between 2 and 5 minutes), all is well. All you need to do now is reset the code if you're not at the sensor's final installation location. To reset the code, first upload the code by selecting parameter C "WIFI_RESET 1" to erase the login credentials. Then upload the same code again with the following parameters:

  • B: "SCD30 0" if the Zephyr is not equipped with an SCD30 sensor,"SCD30 1" otherwise

  • C: "WIFI_RESET 0"

  • D: "SEND_DATA 0" to record data every half-hour, or "SEND_DATA 1" to record data every 5 minutes.

  • E: "DEBUG 0"

This sensor is then ready to be configured to the Wifi network of the location where it will be installed, by repeating the procedure with the AutoConnectApp application as before. (cf. le Mode d'emploi) .

triangle-exclamation

In case of malfunction

circle-exclamation

Final assemblage

PCB, Xiao ESP 32 C and SEN55 on the case base.

Place the SEN55 in its bracket and the PCB in its housing on the base. To hold the PCB in place while allowing it to be easily dismantled, you can block it with 2 pieces of toothpick (red arrows in the previous photo).

If necessary, you can add a dab of hot-melt glue (avoid cyanoacrylate gel, which will make disassembly more difficult). Connect the JST GHR connector to the SEN55. Fit the SCD30 sensor if required. Secure the bracket with the hex head screws and nuts. Insert the base into the upper housing, fit the washers and screw the wing nuts onto the 3 threaded rods. The Zephyr sensor is now ready. All that remains is to configure it on the home wifi network where it will be installed.(cf. la procédure dans le § Mode d'emploi) and fasten it to the front panel.

Lower part of sensor with mounting bracket.
circle-exclamation

Last updated