

Circuit smart soja
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
5ESP32-DEVKITC-32E
-- ModulesEspressif SystemsModulesDHT22
插件-40℃~+80℃ 3.3V 5%RH~99%RH 500uA ±3%RH 插件 Temperature and Humidity Sensor ROHSHAIGUTemperature And Humidity SensorLM2596S-5.0
TO-263-5-40℃~+125℃@(TJ) 1 150kHz 3A 4.5V~40V 5V 5mA Buck Buck Built-in Fixed No TO-263-5 DC-DC Converters ROHSTexas InstrumentsDC-DC ConvertersIRLZ44N
TO-22055V 47A N-Channel HEXFET® Power MOSFETInfineon TechnologiesUncategorisedBC547
TO-92Bipolar (BJT)Jiangsu Changjing Electronics Technology (CJ)
README
README.md
🌱 SMART-SOJA
An Autonomous IoT-Based Mobile Soybean Pre-processing System
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.
📖 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
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/:
| Chapter | Content |
|---|---|
| 01 – Project Overview | Context, problem statement, objectives |
| 02 – System Architecture | Edge / Cloud / Application layers |
| 03 – Hardware Design | ESP32, sensors, actuators, PCB |
| 04 – Mechanical Design | Modular chassis and 4 functional blocks |
| 05 – Software Architecture | FreeRTOS, GRAFCET, MQTT/JSON, web dashboard |
| 06 – Energy System | Solar/battery sizing |
| 07 – Testing & Validation | Unit test protocol and results |
| 08 – Results | Prototype outcomes, financial evaluation |
| 09 – Future Improvements | Validation 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.
📄 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 100nF | Capacitor_THT:C_Rect_L10.3mm_W4.5mm_P7.50mm_MKS4 | C1, C3, C4, C6, C7, C9 |
| 6 | 10k | Resistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_Horizontal | R2, R6, R7, R10, R14, R15 |
| 5 | 100n | Capacitor_THT:C_Rect_L10.3mm_W4.5mm_P7.50mm_MKS4 | C10, C13, C16, C17, C18 |
| 5 | 220 | Resistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_Horizontal | R4, R5, R12, R13, R18 |
| 4 | 10u | Capacitor_THT:C_Radial_D8.0mm_H11.5mm_P3.50mm | C11, C12, C19, C20 |
| 4 | 1N5408 | Diode_THT:D_DO-201AD_P15.24mm_Horizontal | D1, D4, D9, D10 |
| 4 | 4.7k | Resistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_Horizontal | R8, R9, R16, R17 |
| 4 | 470u | Capacitor_THT:C_Radial_D10.0mm_H12.5mm_P5.00mm | C14, C15, C21, C22 |
| 4 | IRLZ44N | Package_TO_SOT_THT:TO-220-3_Vertical | Q1, Q2, Q3, Q4 |
| 4 | LED | LED_THT:LED_D3.0mm | D2, D3, D7, D8 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 2 | 1k | Resistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P20.32mm_Horizontal | R1, R3 |
| 2 | 470uF | Capacitor_THT:C_Radial_D10.0mm_H12.5mm_P5.00mm | C5, C8 |
| 2 | Motor_Servo | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | M1, M2 |
| 1 | 1000uF | Capacitor_THT:C_Radial_D8.0mm_H11.5mm_P3.50mm | C2 |
| 1 | 5A | Fuse:Fuse_SunFuse-6HP | F1 |
| 1 | BC547 | Package_TO_SOT_THT:TO-92L_HandSolder | Q5 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | Ctrl_M1 | Potentiometer_THT:Potentiometer_Alps_RK163_Single_Horizontal | RV2 |
| 1 | Ctrl_M2 | Potentiometer_THT:Potentiometer_Alps_RK163_Single_Horizontal | RV1 |
| 1 | DHT22 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | U1 |
| 1 | ESP32-DEVKITC-32E | ESP32-DEVKITC-32E:MODULE_ESP32-DEVKITC-32E | U2 |
| 1 | FAN_12V | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J13 |
| 1 | HEATER_12V | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J11 |
| 1 | IR1 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J6 |
| 1 | IR2 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J7 |
| 1 | J_IN_12V | Connector_BarrelJack:BarrelJack_Horizontal | J1 |
| 1 | J_OUT_12V | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J3 |
| 1 | J_OUT_5V | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J9 |
| 1 | LCD16X2_I2C | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | DS1 |
| 1 | LM2596 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J5 |
| 1 | Module HX711 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J8 |
| 1 | Motor1 12V | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J10 |
| 1 | Motor2 12V | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J14 |
| 1 | ON/OFF | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW2 |
| 1 | SD Card | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J12 |
| 1 | Soil1 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J2 |
| 1 | Soil2 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J4 |
| 1 | URGENCE | Button_Switch_THT:SW_PUSH_6mm_H4.3mm | SW1 |
Similar boards
- 4 layers210 × 107 mm

- 2 layers105.5 × 85.5 mm

- 2 layers124 × 112 mm

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 mm

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 mm

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 mm

WeatherStation v1.2
ismangoman/Weather-station
Full fleged weather station powered by solar
17 parts1MIT - 2 layers149.9 × 89.9 mm

TDSE TF
igonzalezb/tdse-tf_3-03
FIUBA - Electrónica - Taller de Sistemas Embebidos - Trabajo Final
50 parts - 2 layers145 × 60.3 mm

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).