Skip to the content
PCBKitNew board
2 layers100 × 85 mmPhecda board, the printed circuit board in 3D

Phecda board

iowlabs/phecda1

phecda reposiroty

Size
100 × 85 mm
Copper layers
2
Thickness
1.6 mm
Parts
92
Nets
108
Pads
382
Tracks, vias
708, 244
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
7 Oct 2023
Updated
6 Nov 2026

Overview

Phecda board is an open-source printed circuit board by iowlabs, from the iowlabs/phecda repository on GitHub. It is a 2-layer board of 100 × 85 mm with 92 parts on 108 nets, routed with 708 tracks and 244 vias.

It is built around the CH340C, ESP32-WROOM-32D and AP2112K-3.3, with the RFM95W-915S2, RV-8803-C7 and BSS138 among its other parts. Its parts include 24 resistors, 17 connectors, 11 capacitors, 10 crystals and 5 ICs. It belongs with the ESP32 boards of this library.

Main components

7

README

README.md

Phecda

Foto real

Phecda is a device that allows measuring different electrochemical variables such as pH, ORP, temperature, dissolved oxygen and electroconductivity, based on sensors developed by Atlas Scientific. A on board ESP32 microcontroller manages data acquisition and sending tasks. It count with an rfm95 LoRa module, ideal for integration with LoRa or LoRaWan networks.

Phecda can adapt to a wide variety of BT, WiFi or LoRa based IoT applications. A micro SD adapter and an onboard RTC implement data logger functionality for offline information collection. An OLED screen allows you to view the data of interest in real time.

IoT,Ph, Environmental measurement, LoRa, AtlasScientific, datalogger.

OSHW LICENSES

LicensesOSHW certification
OSL

Hardware description

The PCB was designed in KiCad7 stable realease and additional components from the official iowLabs library.

The pcb can be powered via USB or through the screw terminal block J7 connector. Jumper J2 must be shorted to enable power on the board. Or it can connect to an external On/OFF button.

To have compatibility with different probes, the board has SMA connectors J13 to J17 or alternatively the terminal blocks J10, J11 and J12.

Dependencies

The board is based on an ESP32 microcontroller.

  • USB communication through IC CH340
  • Lora rfm95 module.
  • microSD socket.
  • RV8803 RTC module.
  • 4 generic EZO AtlasScientific Modules.
  • 4 AtlasScientific in line voltage isolators.
  • 1 EZO RTC Module.
  • OLED display

Schematic

Detalle del esquemático de la placa phecda

Layout

Top viewBottom view
front view of the pcb form kicadback view of the pcb form kicad

BOM

The bill of materials with respective references to LCSC part numbers can be found at the following link.

The following table presents a list of references for the probes and reading electronics along with their respective links. These components are left only as a reference since they depend on the application and the type of variables that you want to measure.

ComponentsQuantityDescriptionlink
industrial PH probe1industrial PH, ORP y RTC probeAtlasScientific oficial website
OD probe1Lab Grade Dissolved Oxygen ProbeAtlasScientific oficial website
EC probe1Conductivity Probe K 0.1AtlasScientific oficial website
Ezo ph1Readout para la sonda de ECAtlasScientific oficial website
Ezo orp1Readout para la sonda de ORPAtlasScientific oficial website
Ezo RTC1Readout para la sonda de RTCAtlasScientific oficial website
Ezo OD1Readout para la sonda de ODAtlasScientific oficial website
Ezo EC1Readout para la sonda de ECAtlasScientific oficial website
Ezo IVI4Basic EZO Inline Voltage IsolatorAtlasScientific oficial website

3D Model

Foto real

Render 3D de la placa phecda

For versions with laboratory applications or controlled climate conditions, a printable case was designed in PLA or ABS using Fusion360.

Enclousure diseñado para phecda

The design is a simple case composed of two parts that allows the OLED screen to be incorporated and exposes the SMA connectors for the probes, protecting the internal electronics.

CoverBase
componente superior del casecomponente inferior del case

To power the device, the design consider a powerbank located at the bottom. The assembly of the two pieces is carried out using 3 M3 screws that are screwed from the bottom of the base.

Editable files and display plans can be found in directorio.

The PCB design allows it to fit commercial project enclosures with IP65 standards or higher for outdoor or harsh weather applications.

Firmware

The developed firmware represents a collection of libraries and drivers for the board's dependencies.

This collection of useful functions is implemented in the iowPhecda library. However, due to the flexibility of the design, it is possible to load a wide variety of code based on other supported libraries.

The firmware was developed using PlatformIO; however, usage examples were generated for [Arduino IDE] (https://www.arduino.cc/en/software).

FolderDescription
firmware/phecda_projectThe complete project compiled in its last version.
firmware/examplesArduino compatible example codes .
firmware/srcThe source files of the library made for phecda.

Bibliotecas utilizadas

Except for the uSD_iow library which is available in the official iowlabs repository, all other libraries used are available from the official Arduino and PlatformIO library manager.

  • Arduino json : bblanchon/ArduinoJson @ ^6.18.5
  • Ezo i2c : mulmer89/EZO I2C Sensors @ 2.0.0+640de15
  • RTC : sparkfun/SparkFun Qwiic RTC RV8803 Arduino Library @ ^1.2.8
  • OLED : adafruit/Adafruit SH110X @ ^2.1.8
  • OLED graphic driver: adafruit/Adafruit GFX Library @ ^1.11.5
  • MQTT : knolleary/PubSubClient@^2.8
  • LoRa : sandeepmistry/LoRa @ ^0.8.0

Available examples

FileDescription
simple_version.inoCollect the data from the pH, ORP and temperature sensors, and displays it on the screen. Print the collected data in json format through the serial monitor.
low_energy_version.inoAdds a low-power mode to the simple_version code
lora_version.inoActivate the LoRa module and send a message in json format.
mqtt_version.inoThis is an example of reading the data and sending it via MQTT to a pre-established broker.

Available functions

  • void readAtlasSensors( bool ph_s,bool orp_s,bool temp_s,bool od_s,bool ec_s);
  • uint8_t begin(void);
  • void readSensors(void);
  • String pubData(void);
  • void activatePH(void);
  • void activateORP(void);
  • void activateTEMP(void);
  • void activateEC(void);
  • void activateOD(void);
  • void activateLoRa(void);
  • void activateAll(void);
  • void iowLogo(void);
  • void showLogo(void);
  • void showStatus(void);
  • void showData(long time_interval);
  • void saveData(void);
  • void phCal(uint8_t val);
  • void phCalClear(void);

Parts

92
QtyValueFootprintReferences
5100nCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C8
510KResistor_SMD:R_0603_1608MetricR1, R4, R5, R7, R8
510kResistor_SMD:R_0603_1608MetricR9, R21, R22, R23, R24
53.3kResistor_SMD:R_0603_1608MetricR10, R11, R12, R13, R14
5Conn_CoaxialConnector_Coaxial:SMA_Amphenol_132289_EdgeMountJ13, J14, J15, J16, J17
5Ezp-genericIoWLabsModules:Ezo_genericX6, X7, X8, X9, X10
4Ezo_ivi_isoIoWLabsModules:Ezo_isoX2, X3, X4, X5
4HDR-2x1IoWLabsConnectors:Tb-2x1-5p-TH-VJ7, J10, J11, J12
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
4SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1, JP2, JP3, JP4
2100kResistor_SMD:R_0603_1608MetricR15, R16
21uCapacitor_SMD:C_0603_1608MetricC10, C11
22.2kResistor_SMD:R_0603_1608MetricR17, R18
2200Resistor_SMD:R_0603_1608MetricR2, R3
24.7kResistor_SMD:R_0603_1608MetricR19, R20
2BSS138Package_TO_SOT_SMD:SOT-23Q3, Q4
2HDR-4x1Connector_JST:JST_XA_B04B-XASK-1_1x04_P2.50mm_VerticalJ8, J9
2LOGOIoWLabsLogos:IoWLabsLogoG***, G***
2SW_DIP_x02IoWLabs:SMD_SWITCHSW1, SW2
110nCapacitor_SMD:C_0603_1608MetricC6
110uCapacitor_SMD:C_1206_3216MetricC5
110uCapacitor_SMD:C_0805_2012MetricC7
1330Resistor_SMD:R_0603_1608MetricR6
14.7uCapacitor_SMD:C_0805_2012MetricC9
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U5
1BAS70-05Package_TO_SOT_SMD:SOT-23D2
1Battery_CellBattery:BatteryHolder_Keystone_3000_1x12mmBT1
1CH340CPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU2
1Conn_01x02Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJ4
1Conn_CoaxialConnector_Coaxial:U.FL_Molex_MCRF_73412-0110_VerticalJ5
1D_SchottkyDiode_SMD:D_SMAD3
1E32Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalX1
1ESP32-WROOM-32DRF_Module:ESP32-WROOM-32U1
1FUSEFuse:Fuse_1206_3216MetricF1
1HDR-2x1Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1LEDLED_SMD:LED_0603_1608MetricD1
1LOGOIoWLabsLogos:phecdaG***
1LOGOIoWLabsLogos:ursa_majorG***
1LOGOIoWLabsLogos:mimictestG***
1ON OFFConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1Q_Dual_NPN_NPN_BRT_E1B1C2E2B2C1Package_TO_SOT_SMD:SOT-363_SC-70-6_HandsolderingQ1
1Q_PMOS_GSDPackage_TO_SOT_SMD:SOT-23Q2
1RFM95W-915S2RF_Module:HOPERF_RFM9XW_SMDU4
1RV-8803IoWLabs:SON-8U3
1USB_B_MicroConnector_USB:USB_Micro-B_Amphenol_10118194_HorizontalJ1
1~IoWLabsConnectors:microSD_push_pushJ6

The 91 most common of 92 parts.

Questions

How big is the Phecda board PCB?

It measures 100 × 85 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Phecda board use?

92 parts, built around the CH340C, ESP32-WROOM-32D, AP2112K-3.3 and RFM95W-915S2. 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 Phecda board KiCad files?

From the iowlabs/phecda repository on GitHub, at the commit this page was made from: the board is hardware/PCB/Phecda_board.kicad_pcb and its schematic hardware/PCB/Phecda_board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Phecda board design in my own project?

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

Similar boards

  • 2 layers80 × 50 mmIguana V1, the printed circuit board in 3D

    Iguana V1

    iowlabs/Iguana

    Repositorio para proyecto Iguana IOWLabs (Cultivo)

    120 parts1
  • 2 layers46 × 84 mmVocore breakout, the printed circuit board in 3D

    Vocore breakout

    electroniceel/vocore2-breakout

    Breakout-board for the VoCore2

    88 parts11CC-BY-4.0
  • 2 layers65 × 100 mmSyringe pump, the printed circuit board in 3D

    Syringe pump

    wenzel-lab/syringe-pumps-and-controller

    Design of 3d printable syringe pumps and dual controller.

    141 parts11
  • 2 layers30 × 60 mmSmartishMiniLED, the printed circuit board in 3D

    SmartishMiniLED

    jeremypoulter/SmartishMiniLED

    USB C powered mini WLED controller

    41 parts2BSD-3-Clause
  • 2 layers90.4 × 88.6 mmTransiluminador, the printed circuit board in 3D

    Transiluminador

    iowlabs/TransIluminador

    Repo para desarrollar un transiluminador.

    104 partsGPL-3.0
  • 2 layers38.1 × 43.2 mmNightLight ESP32, the printed circuit board in 3D

    NightLight ESP32

    jeremypoulter/SmartishNight

    Electronics for a ESP32/NeoPixel based nightlight

    27 partsBSD-3-Clause
  • 2 layers118.4 × 61.2 mmESP32 Project, the printed circuit board in 3D

    ESP32 Project

    yogesh8441/ESP32-CUSTOM-DEVELOPMENT-BOARD

    A custom-designed ESP32-WROOM-32D Development Board developed using KiCad 10. This project demonstrates the complete PCB design workflow, including schematic design, PCB layout, routing, ground plane implementation…

    63 parts