/twomes-p1-gateway-hardware

Open hardware design files for the Twomes P1 Gateway measurement device

OtherNOASSERTION

Twomes P1 Gateway Hardware

This repository contains the open hardware design files for the Twomes P1 Gateway device, which can read measurement data from a smart meter adhering to the Dutch Smart Meter Requirements (DSMR). It can also receive data from various other Twomes 'satellite' measurement devices via the ESP-NOW protocol. The Twomes P1 Gateway can upload this measurement data to a Twomes server via Wi-Fi using secure HTTPS.

Table of contents

General info

This repository contains the source files and fabrication files of the hardware designs of the Twomes P1 Gateway device and its enclosure. It also includes a docs folder with recent printouts of the schematics and PCB layout.

You can run different kinds of firmware on this device:

Producing

Printed Circuit Board

To fabricate the printed circuit board you can use various PCB services.

The folder pcb/jlcpcb includes all exported files needed to have the PCBs manufactured by JLCPCB. Upload the zipped gerber files to the JLCPCB quote page, select the amount of PCBs and a colour for the silkscreen. All other options can be left on default. If SMT assembly is desired, also select this option before ordering. This will take you to a page where the BOM and POS file can be uploaded. Use the files BOM-TwomesGateway.csv and CPL-TwomesGateway.csv.

N.B. All components marked "DO NOT PLACE" in the BOM-*.csv file can not be ordered from JLCPCB and need to be ordered from other services and placed manually.

Enclosure

To fabricate the enclosure you can use your own 3D printer or use a 3D printing service.

The folder enclosure/fabrication contains exported STL files for the case, the lid and the button of the Twomes P1-gateway enclosure. The STL files can be imported into any slicer and turned into G-Code for a 3D printer.

Developing

Printed Circuit Board

To change the hardware design of the PCB, you need:

  • KiCad installed to change te PCB design.

The KiCad source files of the PCB can be found in the folder pcb.

To convert the PCBs into a format suitable for fabrication, consult the webpage of your PCB manufacturer of choice. For example, see the JLCPCB guide on how to export Gerbers and the JLCPCB guide how to export the BOM and POS files. You may also use a KiCad plug-in for this purpose such as kicad-jlcpcb-tools.

Enclosure

To change the hardware design of the enclosure, you need either:

The source files of the enclosure can be found in the folder enclosure. We include both .f3d source files and .step source files we obtained after conversion.

Features

The Twomes P1 Gateway features the following main hardware components:

  • ESP32-WROOM-32E module;
  • female RJ12 connector for connection to the P1 port of a smart meter adhering to the Dutch Smart Meter Requirements (smart meters compatible with DSMR v5 provide enough power for the Twomes P1 gateway);
  • micro USB input for a 5 V power supply (only needed for smart meters adhering to DSMR v4 and lower);
  • FTDI compatible serial programming header (3.3 V).

Status

Project is: in progress

License

The hardware designs in this repository are available under the CERN-OHL-P v2 license, Copyright 2022 Research group Energy Transition, Windesheim University of Applied Sciences

Credits

This open hardware design made by:

Thanks also go to:

Product owner:

We use and gratefully acknowlegde the efforts of the makers of: