Skip to the content
PCBKitNew board
2 layersPOE BaseStation, the printed circuit board in 3D

Base station for connecting remote sensors to Thingsboard.

Copper layers
2
Thickness
1.6 mm
Parts
5
Nets
21
Pads
32
Tracks, vias
31, 18
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
10 Aug 2023
Updated
27 Jan 2025

Overview

POE BaseStation is an open-source printed circuit board by jgOhYeah, from the jgOhYeah/FarmBaseStation repository on GitHub. It is a 2-layer board with 5 parts on 21 nets, routed with 31 tracks and 18 vias.

Its parts include 2 connectors, 1 resistor, 1 IC and 1 diode. It belongs with the sensors and measurement boards and the ESP32 and RISC-V boards of this library.

README

Readme.md

Base station for connecting remote sensors to Thingsboard.

Remote sensors use PJON over LoRa radio to communicate. The Thingsboard Gateway MQTT API is used to connect on the Thingsboard side.

See here for other sensors and more information on the system.

Written by Jotham Gates August 2023

Photos

Inside the enclosure. The completed unit.

Getting started

The Github repository containing all design files and code is here.

  1. Install Platform IO.
  2. Open the project in the BaseStationCode directory.
  3. Create a copy of BaseStationCode/credentials.example.ini and name this credentials.ini. Fill out the settings in this file for the WiFi network to connect to, MQTT broker, Thingsboard credentials and Over The Air (OTA) update settings.
  4. Upload the code to the ESP32.
  5. Assemble the electronics as shown in the schematics and optionally place inside a case.
  6. Test with other sensors and the Thingsboard server.

Updating using OTA updates

Over the air (OTA) updates can be used to update the software on the base station once it has been programmed for the first time. To do this:

  1. Edit the upload port and auth flags in credentials.ini to match those currently set on the device.
  2. Change the active Platform IO environment to Tardis-OTA from its default Tardis environment (likewise for the TVAnt environemnt for ethernet).
  3. Compile and upload code as normal.

Schematics

The base station uses an ESP32 development board as its base. An SX1278 LoRa radio module breakout board is connected via jumper leads. LEDs are soldered along with their respective current limiting resistors to wires that can be plugged into the ESP32 board. An audio amplifier and speaker can also be connected for alarm functionality. I salvaged this from the sound effects module of a broken children's ride on toy car.

The schematic for the base station

Fun part / experiments

I originally planned to use the build in DAC of the ESP32 to play sounds on alarm conditions. At this point I haven't succeded in this (currently using the TunePlayer library to play simple monotonic songs instead). I did come across the ESP32-A2DP library that allows the use of this unit as a terrible sounding bluetooth speaker.

This sketch is the bt_music_receiver_to_internal_dac example from the ESP32-A2DP library with the addition of flashing lights.

Parts

5
QtyValueFootprintReferences
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P15.24mm_HorizontalR1
1Conn_01x10_SocketConnector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ2
1LEDLED_THT:LED_D3.0mmD1
1Olimex ESP32-POEConnector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ1
1Ra01_Breakout_Module-Ra01_Breakout_ModulePackage_DIP:DIP-8_W7.62mm_Socket_LongPadsU1

Questions

What parts does the POE BaseStation use?

5 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the POE BaseStation KiCad files?

From the jgOhYeah/FarmBaseStation repository on GitHub, at the commit this page was made from: the board is BaseStationSchematics/POE_BaseStation/POE_BaseStation.kicad_pcb and its schematic BaseStationSchematics/POE_BaseStation/POE_BaseStation.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the POE BaseStation design in my own project?

Its repository states no licence, so its author keeps all rights: ask jgOhYeah before reusing the design.

Similar boards

  • 2 layers98 × 27 mmXy limit, the printed circuit board in 3D

    Xy limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    5 parts3.7k
  • 2 layers21 × 33 mm24g2usb pico2w, the printed circuit board in 3D

    24g2usb pico2w

    joypad-ai/joypad-os

    Universal controller firmware for building adapters, dongles, and custom controllers.

    5 parts1.7kApache-2.0
  • 2 layers53.2 × 59.6 mmA10 OLinuXino Lime Rev B SHIELD TEMPLATE, the printed circuit board in 3D

    A10 OLinuXino Lime Rev B SHIELD TEMPLATE

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    5 parts1.5k
  • 2 layers30 × 11 mmMain control board servo tester, the printed circuit board in 3D

    Main control board servo tester

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    5 parts1.1k
  • 2 layers78.8 × 35.3 mmKiCadTest, the printed circuit board in 3D

    KiCadTest

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    5 parts915
  • 2 layers50 × 23 mmMiniCircuits LTCC, the printed circuit board in 3D

    MiniCircuits LTCC

    VanceVagell/kv4p-ht

    Open source handheld ham radio project KV4P-HT

    5 parts828GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 light sensor, the printed circuit board in 3D

    L0 light sensor

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    5 parts546MIT