Skip to the content
2 layersCircuit smart soja, the printed circuit board in 3D

An autonomous IoT-based mobile system for soybean pre-processing, integrating embedded systems, industrial automation, solar energy and cloud connectivity.

Copper layers
2
Thickness
1.6 mm
Parts
81
Nets
58
Pads
222
Tracks, vias
561, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Jul 2026
Updated
30 Sep 2026

Overview

Circuit smart soja is an open-source printed circuit board by virgile-tchidehou, from the virgile-tchidehou/smart-soja repository on GitHub, published under the MIT licence. It is a 2-layer board with 81 parts on 58 nets, routed with 561 tracks and 0 vias.

It is built around the ESP32-DEVKITC-32E, DHT22 and LM2596S-5.0, with the IRLZ44N and BC547 among its other parts. Its parts include 22 capacitors, 17 resistors, 14 connectors, 8 diodes and 5 transistors. It belongs with the ESP32 boards of this library.

Main components

5

README

README.md
SMART-SOJA logo

🌱 SMART-SOJA

An Autonomous IoT-Based Mobile Soybean Pre-processing System

License: MIT Status Platform RTOS Repo size Last commit

SolidWorks KiCad Firebase Node.js MQTT

Documentation · Architecture · Hardware · Roadmap


SMART-SOJA is an academic engineering project co-developed by Elisa Christelle LOKO and Dodji Virgile TCHIDEHOU. It explores a mobile and connected soybean pre-processing unit designed to improve post-harvest handling in rural environments.

The prototype combines embedded systems, industrial automation, IoT technologies and an off-grid solar/battery architecture. At its current stage, the project is a functional proof of concept: the main sensing, actuation, drying and IoT subsystems have been validated individually or in partial integration, while full-cycle validation under a real 2–5 kg load and final HX711 weighing integration remain future work.

SMART-SOJA prototype — assembled 3D view

📖 Table of Contents

  • Overview
  • The Problem
  • Objectives
  • Key Features
  • System Architecture
  • Hardware Overview
  • Software Architecture
  • Technology Stack
  • Repository Structure
  • Documentation
  • Roadmap
  • Future Improvements
  • Project Team
  • License

📌 Overview

Soybean production is rapidly increasing across Africa, particularly in Benin. However, post-harvest losses caused by inadequate cleaning, excessive moisture and poor traceability continue to reduce product quality and market value.

SMART-SOJA addresses these challenges by providing a mobile cyber-physical system capable of:

  • Cleaning soybean grains through a vibrating sieve mechanism
  • Measuring grain moisture at two points
  • Controlling an active drying subsystem
  • Supporting final batch weighing through an HX711-based subsystem (final integration pending)
  • Recording production data locally
  • Synchronizing traceability data through MQTT

The project integrates mechanical engineering, embedded electronics, industrial automation and cloud connectivity into a single modular platform.


❗ The Problem

Smallholder farmers often face several challenges:

  • High post-harvest losses
  • Non-uniform drying
  • Manual quality control
  • Lack of digital traceability
  • Limited access to electricity

SMART-SOJA was designed to provide an affordable and intelligent solution adapted to rural environments.


🎯 Objectives

The project aims to:

  • automate soybean pre-processing;
  • improve grain quality before storage;
  • reduce moisture-related losses;
  • provide digital traceability;
  • support off-grid operation through a solar/battery power architecture;
  • support smart agriculture initiatives.

✨ Key Features

  • 🌱 Mobile modular platform
  • 📡 IoT connectivity using MQTT
  • ⚙️ Embedded control with ESP32
  • ☀️ Solar/battery off-grid power architecture
  • 💧 Dual moisture sensing
  • 🔥 Active drying control
  • ⚖️ HX711-based weighing subsystem (final integration pending)
  • 💾 Offline data logging (MicroSD)
  • ☁️ Cloud synchronization
  • 📊 Real-time monitoring
  • 🧠 FreeRTOS multitasking architecture
  • 🔄 GRAFCET-based sequential control

🏗️ System Architecture

SMART-SOJA is composed of six major subsystems:

Mechanical System

  • Modular chassis
  • Cleaning mechanism
  • Drying chamber
  • Weighing module
  • Mobile structure

Embedded Electronics

  • ESP32 microcontroller
  • Sensors
  • Power electronics
  • Human-Machine Interface

Energy System

  • Solar panel
  • Battery
  • Charging controller
  • DC converters

Control System

  • FreeRTOS scheduler
  • GRAFCET automation
  • Safety management

IoT Layer

  • MQTT communication
  • JSON data exchange
  • Cloud synchronization
  • Store-and-Forward mechanism

Traceability Layer

  • Batch identification
  • Local storage
  • Cloud database
  • Digital production records

⚙️ Hardware Overview

Main components include:

  • ESP32 DevKit
  • Capacitive moisture sensors
  • HX711 load cell module
  • Servo motors
  • DC geared motors
  • MOSFET power drivers
  • LCD I2C display
  • MicroSD module
  • Solar panel
  • Battery system

💻 Software Architecture

The embedded firmware is based on FreeRTOS.

Main software modules:

  • Safety Task
  • Control Task
  • Sensor Task
  • Actuator Task
  • LCD Task
  • MQTT Task

The control logic is modeled using a two-level GRAFCET to ensure deterministic and reliable operation.


🛠️ Technology Stack

Embedded

  • ESP32
  • FreeRTOS
  • Arduino IDE / Arduino Framework

IoT

  • MQTT (HiveMQ broker)
  • JSON
  • Wi-Fi

Cloud & Web

  • Node.js / Express (MQTT-to-cloud bridge API)
  • Firebase (Firestore, Realtime Database, Hosting)
  • Vite.js / Vanilla JavaScript (dashboard SPA)

Mechanical

  • SolidWorks

Electronics

  • KiCad

📁 Repository Structure

text
smart-soja/
│
├── README.md                  # Présentation du projet
├── LICENSE
├── .gitignore
│
├── docs/                       # Documentation technique (9 chapitres + images)
│   ├── 01-project-overview.md
│   ├── 02-system-architecture.md
│   ├── 03-hardware-design.md
│   ├── 04-mechanical-design.md
│   ├── 05-software-architecture.md
│   ├── 06-energy-system.md
│   ├── 07-testing-validation.md
│   ├── 08-results.md
│   ├── 09-future-improvements.md
│   └── images/
│
├── firmware/
│   └── esp32/
│       └── src/                # Firmware ESP32 (FreeRTOS, GRAFCET)
│
├── hardware/                   # Conception électronique (KiCad)
│   ├── conception.md

📚 Documentation

Full technical documentation lives in docs/:

ChapterContent
01 – Project OverviewContext, problem statement, objectives
02 – System ArchitectureEdge / Cloud / Application layers
03 – Hardware DesignESP32, sensors, actuators, PCB
04 – Mechanical DesignModular chassis and 4 functional blocks
05 – Software ArchitectureFreeRTOS, GRAFCET, MQTT/JSON, web dashboard
06 – Energy SystemSolar/battery sizing
07 – Testing & ValidationUnit test protocol and results
08 – ResultsPrototype outcomes, financial evaluation
09 – Future ImprovementsValidation roadmap and product evolution

The technical documentation in this repository is derived from the academic thesis. The full thesis PDF is intentionally not distributed in the public repository; supporting figures and project material remain under research/thesis/.


🚀 Project Roadmap

  • Problem identification
  • Requirements analysis
  • Mechanical design
  • Electronic architecture
  • Embedded software
  • Prototype assembly and integration
  • Unit-level functional validation (sensors, actuators, MQTT traceability)

Next Milestones

  • Full clean + dry cycle validation under real load (2–5 kg)
  • Load-cell (HX711) weighing module integration
  • Field testing under real environmental conditions
  • PCB redesign (multilayer)
  • Mobile application
  • OTA firmware updates
  • AI-assisted moisture prediction
  • Version 2 prototype

🌍 Future Vision

SMART-SOJA is envisioned as a scalable smart agriculture platform capable of supporting digital transformation in African agricultural value chains.

Future versions will integrate:

  • Edge AI
  • Predictive maintenance
  • Computer vision
  • Fleet management
  • Remote diagnostics
  • Industrial IoT deployment

👥 Project Team

Elisa Christelle LOKO — Co-developer
Dodji Virgile TCHIDEHOU — Co-developer · repository maintainer

Final-year project — Professional License in Industrial Computing & Maintenance, EGEI / UCAO-UUC, 2026.
Academic supervisor: Dr DIDAVI Audace

This public repository is maintained by Dodji Virgile TCHIDEHOU and documents the team project together with the technical work contributed during its development.

GitHub


📄 License

This project is licensed under the MIT License.

🌱 SMART-SOJA — from the field to the factory, one certified batch at a time.

Parts

81
QtyValueFootprintReferences
6100nFCapacitor_THT:C_Rect_L10.3mm_W4.5mm_P7.50mm_MKS4C1, C3, C4, C6, C7, C9
610kResistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_HorizontalR2, R6, R7, R10, R14, R15
5100nCapacitor_THT:C_Rect_L10.3mm_W4.5mm_P7.50mm_MKS4C10, C13, C16, C17, C18
5220Resistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_HorizontalR4, R5, R12, R13, R18
410uCapacitor_THT:C_Radial_D8.0mm_H11.5mm_P3.50mmC11, C12, C19, C20
41N5408Diode_THT:D_DO-201AD_P15.24mm_HorizontalD1, D4, D9, D10
44.7kResistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_HorizontalR8, R9, R16, R17
4470uCapacitor_THT:C_Radial_D10.0mm_H12.5mm_P5.00mmC14, C15, C21, C22
4IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQ1, Q2, Q3, Q4
4LEDLED_THT:LED_D3.0mmD2, D3, D7, D8
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
21kResistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_HorizontalR1, R3
2470uFCapacitor_THT:C_Radial_D10.0mm_H12.5mm_P5.00mmC5, C8
2Motor_ServoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalM1, M2
11000uFCapacitor_THT:C_Radial_D8.0mm_H11.5mm_P3.50mmC2
15AFuse:Fuse_SunFuse-6HPF1
1BC547Package_TO_SOT_THT:TO-92L_HandSolderQ5
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1Ctrl_M1Potentiometer_THT:Potentiometer_Alps_RK163_Single_HorizontalRV2
1Ctrl_M2Potentiometer_THT:Potentiometer_Alps_RK163_Single_HorizontalRV1
1DHT22Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalU1
1ESP32-DEVKITC-32EESP32-DEVKITC-32E:MODULE_ESP32-DEVKITC-32EU2
1FAN_12VTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ13
1HEATER_12VTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ11
1IR1Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ6
1IR2Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ7
1J_IN_12VConnector_BarrelJack:BarrelJack_HorizontalJ1
1J_OUT_12VTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ3
1J_OUT_5VTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ9
1LCD16X2_I2CConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalDS1
1LM2596TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ5
1Module HX711Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ8
1Motor1 12VTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ10
1Motor2 12VTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ14
1ON/OFFButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW2
1SD CardConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ12
1Soil1Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1Soil2Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4
1URGENCEButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW1

Similar boards

  • 4 layers210 × 107 mmVertiFarm PCB, the printed circuit board in 3D

    VertiFarm PCB

    Destro2204/ITVT-PCB-

    Printed Circuit bard built via KiCad

    80 parts
  • 2 layers124 × 112 mmVentSense Stage2, the printed circuit board in 3D

    VentSense Stage2

    Aryan-swag/VentSense

    VentSense: 2-of-3 gas/temperature/voltage early warning and per-cell isolation for small Li-ion packs. Vishwakarma Awards 2026-27 Stage 2 (VK26-IITH-SE-0279)

    93 parts
  • 2 layers80 × 100 mmWifi clock, the printed circuit board in 3D

    Wifi clock

    VJPatz/wifi_clock

    WiFi-synced clock using ESP32 + custom PCB. Drives 7-segment display via shift registers. No RTC needed.

    19 partsMIT
  • 2 layers113.7 × 70.2 mmControl, the printed circuit board in 3D

    Control

    zeyad-hisham-cyper/Solar-IoT-Smart-Irrigation-System

    A distributed, low-power irrigation platform that closes the loop between soil sensors in the field and a phone in your hand. It is built from three cooperating subsystems:

    30 partsMIT
  • 2 layers36 × 49.8 mmWeatherStation v1.2, the printed circuit board in 3D

    WeatherStation v1.2

    ismangoman/Weather-station

    Full fleged weather station powered by solar

    17 parts1MIT
  • 2 layers149.9 × 89.9 mmTDSE TF, the printed circuit board in 3D

    TDSE TF

    igonzalezb/tdse-tf_3-03

    FIUBA - Electrónica - Taller de Sistemas Embebidos - Trabajo Final

    50 parts
  • 2 layers145 × 60.3 mmMkulima hardware, the printed circuit board in 3D

    Mkulima hardware

    Kazenzi/The-robotic-farmer

    Click the Youtube Thumbnail below for a youtube demo video:

    147 parts1MIT

Questions

What parts does the Circuit smart soja use?

81 parts, built around the ESP32-DEVKITC-32E, DHT22, LM2596S-5.0 and IRLZ44N. 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 Circuit smart soja KiCad files?

From the virgile-tchidehou/smart-soja repository on GitHub, at the commit this page was made from: the board is hardware/pcb/circuit_smart-soja/circuit_smart-soja.kicad_pcb and its schematic hardware/pcb/circuit_smart-soja/circuit_smart-soja.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Circuit smart soja 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).