Skip to the content
2 layersNode, the printed circuit board in 3D

A projet to add domotique in the garden

Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
14
Pads
66
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 8.0 (file 20240108)
Created
9 Sep 2024
Updated
22 Oct 2024

Overview

Node is an open-source printed circuit board by Plouf-0, from the Plouf-0/Domo-Garden repository on GitHub, published under the MIT licence. It is a 2-layer board with 18 parts on 14 nets.

It is built around the DHT22. Its parts include 8 resistors, 3 diodes, 2 capacitors, 2 ICs and 2 connectors.

Main components

1

README

README.md

Domo-Garden

A projet to add domotique in my garden

1. Project overview

Objective

Design and develop a Zigbee-based sensor network. The network will collect data from various environmental sensors (Thermal, Humidity, PH, ...), communicate wirelessly via Zigbee, and transmit data to a central hub that sends the information to a Home Assistant server via Wi-Fi. The system will also control an electrovalve based on predefined conditions.

Key Components:
  • ESP32 + Zigbee module for Hub with Wi-Fi connectivity
  • EFR32MG22-based sensor nodes
  • Temperature, humidity sensors, and other IoT peripherals
  • Electrovalve for irrigation control

2. Technical Specifications

Functional Requirements
text
Data Collection: Periodic collection of temperature, humidity, and other sensor data.

Communication: Use Zigbee for sensor node communication and Wi-Fi for sending data to the server.

Control: Triggering of an electrovalve based on time or sensor data.

Hub Features: The hub will aggregate data from up to 30 Zigbee devices and relay it via Wi-Fi to a server.

Data Transfer Rate: Sensor data will be transmitted periodically, adjustable from 1 minute to 1 hour.
Hardware Specifications
text
Microcontroller:
    ESP32
    EFR32MG22E224F512IM32

Power Supply: Battery-powered nodes, possible use of solar panels. Minimum 1-month battery life without recharging. A 1000mAh = 1 year of battery life.

Radio Frequency: Zigbee protocol.

Communication Range: Up to 100 meters from hub, with a mesh network to cover distances up to 20 meters between each module.

Sensors:
    Temperature sensors.
    Humidity sensors.
    Soil moisture sensors.
    Light sensors.
    PH sensors.
    More to come.
Software Specifications
text
Programming Languages: C/C++ (for embedded systems), Python (for server-side automation).

Development Environment: Simplicity Studio (for EFR32MG22).

Protocols:
    Zigbee (3.0)
    Wi-Fi for hub (ESP32 or similar)
    MQTT (for data transmission to Home Assistant server).

Operating System: FreeRTOS (for efficient power management).
Performance Metrics
text
Battery Life: Minimum 30 days.

Latency: Data transmission delay < 2 seconds between sensor reading and hub reception.

Network Coverage: 100-meter total coverage using mesh networking.

3. Project Plan

Phases of Development
text
Phase 1: Requirements Gathering & Research
    Gather requirements for sensors, control mechanisms, and networking.
    Research hardware options, compatibility with Zigbee and Home Assistant.

Phase 2: Software Development
    Develop firmware for the EFR32MG22E224F512IM40 to read sensors, communicate via Zigbee, and send commands to the electrovalve with the EFR32xG22E Explorer Kit.
    Develop software for the Zigbee hub to manage data collection and Wi-Fi transmission to Home Assistant with the ESP32 and the Zigbee CC2530 Development Board.

Phase 2^2: Hardware Design
    Design the PCB for sensor nodes (powered by EFR32MG22E224F512IM40).
    Create a schematic for power management (battery, solar charging).
    Select components for the electrovalve control system.
    Design and print the casing.

Phase 3: Integration with Home Assistant
    Set up the Home Assistant server with Zigbee2MQTT or ZHA.
    Implement data visualization for sensor data.
    Test commands sent from Home Assistant to control the electrovalve.

Phase 4: Prototyping
    Assemble and test initial sensor nodes and hub.
    Perform range and battery life tests.
    Ensure proper communication between the Zigbee nodes and the hub.

4. Risk Assessment

text
Power Supply Issues: If solar panels are used, energy harvesting efficiency must be tested under various weather conditions.
Connectivity Range: Trees and obstacles could interfere with Zigbee signals. Extensive field testing will be necessary to determine optimal node placement.
Data Security: Implement encryption for data transmitted via Zigbee to prevent unauthorized access.
Component Availability: Verify the supply chain for key components (e.g., EFR32MG22) to avoid potential delays due to shortages.

5. Additional Considerations

text
OTA (Over-The-Air) Firmware Updates: Consider adding functionality for future remote firmware updates.
Scalability: Keep flexibility in mind for expanding the network or adding more nodes later.

Parts

18
QtyValueFootprintReferences
410k_0402Resistor_SMD:R_0402_1005MetricR1, R2, R7, R8
42.7k_0603PCM_4ms_Resistor:R_0603R3, R4, R5, R6
210uF 6.3Vcapa10uf6.3v_CC0805KKX5R5BB106:CAPC2012X70C1, C2
1BATTPCM_SL_Connectors:PinHeader_1x02_P2.54mm_VerticalJ2
1DHT22Sensor:Aosong_DHT11_5.5x12.0_P2.54mmU1
1LED_0603_GreenPCM_LED_SMD_AKL:LED_0603_1608MetricLED1
1LED_0603_RedPCM_LED_SMD_AKL:LED_0603_1608MetricLED3
1LED_0603_YellowPCM_LED_SMD_AKL:LED_0603_1608MetricLED2
1MCP73833-xxx-UNPackage_SO:MSOP-10_3x3mm_P0.5mmU2
1USB_C_Plug_USB2.0Connector_USB:USB3_A_Molex_48406-0001_Horizontal_StackedP1
1~OptoDevice:R_LDR_5.1x4.3mm_P3.4mm_VerticalPR1

More from Plouf-0/Domo-Garden

1
  • 2 layers29.9 × 35.7 mmEFR32MG22 module, the printed circuit board in 3D

    EFR32MG22 module

    Plouf-0/Domo-Garden

    A projet to add domotique in the garden

    34 parts1MIT

Similar boards

  • 2 layers271.8 × 114.3 mmArdumower mega shield svn, the printed circuit board in 3D

    Ardumower mega shield svn

    Ardumower/ardumower

    Develop an open source robotic lawn mower (HW+SW reference platform)

    426 parts282
  • 2 layers104.8 × 72.1 mmSST V2 4, the printed circuit board in 3D

    SST V2 4

    mcbittech/souliss-smart-thermostat-WiFi

    ESP8266 WiFi Smart Thermostat based on Souliss IoT Framework

    53 parts110GPL-2.0
  • 2 layers40.6 × 50.8 mmIot sourdough starter monitor, the printed circuit board in 3D

    Iot sourdough starter monitor

    justinmklam/iot-sourdough-starter-monitor

    Tracking the fermentation of sourdough starter over the cloud.

    7 parts93GPL-3.0
  • 2 layers28 × 13 mmDHT22 pcb, the printed circuit board in 3D

    DHT22 pcb

    MakersAsylumIndia/M19O2

    M19O2 open source hardware Oxygen Concentrator based on the Pressure Swing Adsorption cycle aka Skarstorm cycle

    5 parts68MIT
  • 2 layers136 × 100 mmClimateSprinklerController, the printed circuit board in 3D

    ClimateSprinklerController

    kbx81/ClimateSprinklerController

    ESP32-based climate and sprinkler controller for use with ESPHome

    194 parts56
  • 2 layers162 × 60 mmEsp shield, the printed circuit board in 3D

    Esp shield

    felixwittwer/homeassistant_automaic_greenhouse

    A cool Project to make your greenhouse smart. What about automaic irrigation and collecting enviromental data right from your garden.

    20 parts27
  • 2 layers74.9 × 40.6 mmAnavi thermometer, the printed circuit board in 3D

    Anavi thermometer

    AnaviTechnology/anavi-thermometer

    WiFi Smart Thermometer with ESP8266, DHT22, DS18B20, OLED display and slots for up to 3 I2C sensor modules

    25 parts17
  • 2 layers81.3 × 36.8 mmAirQualitySensor, the printed circuit board in 3D

    AirQualitySensor

    Finomnis/AirQualitySensor

    Simple Air Quality sensor based on nRF52840, Zigbee, AM2302/DHT22 and Senseair S8

    44 parts16Apache-2.0

Questions

What parts does the Node use?

18 parts, built around the DHT22. 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 Node KiCad files?

From the Plouf-0/Domo-Garden repository on GitHub, at the commit this page was made from: the board is PCB/node/node.kicad_pcb and its schematic PCB/node/Components/EFR32MG22-miniboard-main/EFR32MG22_module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Node design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).