ESP-1ch-Node

As purchased from here.

Install PlatformIO (command line)

https://docs.platformio.org/en/latest/installation.html#installer-script

Start

  • This is the 'node' code (as compared to the gateway code), as put together from numerous projects.

Build

To build is pretty easy (and fast), just run:

% platformio run
Processing ttgo-lora32-v1 (platform: espressif32; board: ttgo-lora32-v1; framework: arduino)
...
Building .pioenvs/ttgo-lora32-v1/firmware.bin
Checking size .pioenvs/ttgo-lora32-v1/firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA:    [          ]   4.5% (used 14900 bytes from 327680 bytes)
PROGRAM: [==        ]  16.2% (used 212516 bytes from 1310720 bytes)
========================= [SUCCESS] Took 4.01 seconds =========================

Upload

Similar to build, just with an additional argument

% platformio run -t upload

Notes

You'll need at least two boards, one for the gateway and this code for each node. In a perfect world, the nodes would read some sensor (temperature/humidity) and send it.

Case

I designed a case based on the designs of similar cases on Thingiverse, which includes a spot for the antenna. It's a tight fit, but it should work fine.

3D printable case

References