
Introduction
Globally, over 4.5 billion people, predominantly in developing nations like Kenya, are chronically exposed to aflatoxin-contaminated foods. In Kenya, maize is more than a crop, it contributes 36% of daily caloric intake and 3.8% of GDP . Yet every year, the nation pays a hidden cost: aflatoxin contamination. Produced by Aspergillus fungi under warm and humid conditions, aflatoxins frequently contaminate maize at levels exceeding Kenya’s 10 ppb regulatory limit .
KENYAS AFLATOXIN REALITY
- In Kenya, as in the broader East African Community (EAC), the legal limits are:10 parts per billion (ppb) total aflatoxin, and 5 ppb for aflatoxin B1.
- Studies show that over 40% of maize consumed in Kenya has aflatoxin levels above safe limits at some point in the chain.
- Episodes of mass contamination have led to widespread recalls, consumer alerts, and financial losses.
- The economic cost of aflatoxin in Kenya runs into billions of shillings annually, affecting farmers, millers, and public health systems.
The fact that aflatoxin contamination of crops costs Africa more than USD 750 million a year, while EU control of AFs is said to cost food exporters USD 670 million annually, is equally staggering.
WHY CURRENT SOLUTIONS ARE NOT ENOUGH
Kenya is not starting from scratch. Evidence-based technologies exist:
- Hermetic storage bags prevent fungal growth during storage https://erepository.uonbi.ac.ke/handle/11295/107214.
- Improved drying methods (solar or inflatable dryers) rapidly reduce moisture below 14%, lowering contamination risk https://www.mdpi.com/2076-3417/11/15/7074.
- Integrated packages combining drying, storage, and farmer training reduce aflatoxin more effectively than single interventions https://onlinelibrary.wiley.com/doi/full/10.1111/ajae.12349.
The challenge is not ignorance but accountability. Even with these tools, unsafe maize still enters markets and trickles down to consumers because contamination remains undetectable and lacks real-time surveillance. Farmers cannot prove safety, and consumers and traders operate on trust.
AFLA-DRY 3600: TRANSFORMING INVISIBILITY INTO TRUST
This is where Afla-Dry 3600 offers a breakthrough. Designed as an integrated monitoring and data management system, it tackles aflatoxin at its roots, drying and storage, while making safety provable.
How it works:
- Moisture intelligence: Using IoT sensors, Afla-Dry 3600 tracks environmental humidity and temperature. The system applies the Guggenheim–Anderson–de Boer sorption isotherm to estimate grain equilibrium moisture , a critical early-warning signal when maize exceeds the 14% danger threshold.
- On-site aflatoxin screening: Near-Infrared (NIR) spectroscopy enables non-destructive, rapid detection of contamination.
- Tamper-proof records: Every reading is timestamped and transmitted via lightweight MQTT protocols into a PostgreSQL database. Key records are immutably anchored on the Internet Computer Protocol blockchain, ensuring low-cost, auditable, and tamper-proof storage.
- Actionable dashboards: Regulators, millers, and cooperatives access real-time dashboards with live alerts and historical trends.
The result: For the first time, farmers and buyers can see contamination risks as they develop, intervene early, and verify grain safety with trust.
SYSTEM ARCHITECTURE

The Afla-Dry 3600 system consists of the following core components:
- IoT Sensor Layer – Hardware for environmental and grain quality monitoring
- Data Transmission Layer – Protocols and gateways to send sensor data securely
- Data Storage Layer – Databases and blockchain integration for secure and verifiable data management
- Application Layer – User-facing dashboards for visualization, control, and decision-making
DATA COLLECTION
1.Grain Moisture Content Monitoring
Importance: Maize develops aflatoxin when moisture content exceeds 14%.
Scientific Basis: Over time, maize moisture content equilibrates with surrounding air humidity, a relationship described by sorption isotherms.
Model Used: Afla-Dry 3600 applies the Guggenheim–Anderson–de Boer (GAB) sorption isotherm model, which estimates grain equilibrium moisture content (EMC) from environmental variables.
2. Hardware
- DHT22 sensor for temperature and relative humidity (RH) measurements
- Data is processed through the GAB model to estimate maize moisture content
3. Aflatoxin Detection
- Method: Near-Infrared (NIR) Spectroscopy
- Reason: NIR provides non-destructive, rapid detection of aflatoxin contamination in grains
5. Timestamping
RTC Module (Real-Time Clock) is integrated to assign precise timestamps to every data record, ensuring chronological accuracy for traceability and compliance.
6. Data Transmission
Communication Protocol
MQTT (Message Queuing Telemetry Transport) is used for sensor-to-server communication.
Advantages: Lightweight, reliable, and suitable for real-time IoT applications in environments with limited bandwidth.
7. Data Storage
Relational Database
PostgreSQL is used for structured storage of sensor data.
Features:
- Handles real-time ingestion
- Supports queries for both real-time and historical analysis
- Ensures data integrity

8. Blockchain Integration
For immutable, auditable storage, selected data can be uploaded from PostgreSQL to an on-chain storage system.
- Blockchain Choice: Internet Computer Protocol (ICP) blockchain
- Justification: Cost efficiency, offering on-chain storage at approximately $5/GB annually, making it practical for large datasets

User Interface
Dashboard Features
- Real-Time Monitoring: Displays live sensor readings (temperature, humidity, estimated moisture content, and aflatoxin levels)
- Historical Data Analysis: Provides trend visualization for early detection of contamination risks
- Blockchain Upload Control: Users can selectively upload critical records to the blockchain for permanent and tamper-proof storage

Access Modes
- Web Application: Accessible through standard browsers
Key Benefits
- Early Warning System: Detects moisture conditions favorable to aflatoxin development
- Data Integrity: Blockchain ensures tamper-proof storage
- Traceability: Timestamped, verified data improves supply chain accountability
- Scalability: IoT-based modular design allows easy deployment across multiple facilities
FUTURE ENHANCEMENTS (ROADMAP)
- Mobile app alerts for real-time notifications
Digital Certificates: Safety You Can Scan
Afla-Dry 3600’s innovation lies not only in detection but in proof. Each verified lot of maize can be issued a digital certificate, a QR code linked to blockchain-secured data. When attached to a bag, it allows:
- Instant verification at market or export checkpoints.
- Transparent traceability across the supply chain.
- Consumer confidence that maize is aflatoxin-free and safe for consumption.
- Regulatory surveillance based on live, geolocated data.
Blockchain-backed certificates have strengthened accountability in global agriculture https://www.mdpi.com/2304-8158/13/7/1075. In Kenya, where aflatoxin has long undermined trust, such a system could redefine maize trade from a liability into a competitive advantage.
BARRIERS TO SCALE AND HOW TO OVERCOME THEM
Adopting Afla-Dry 3600 nationwide will not be simple. Challenges include:
- Testing capacity: Kenya must expand access to reliable rapid tests and confirmatory labs.
- Costs: Certification must be affordable; blended financing models (government, donors, millers) can ensure equity.
- Governance: KEBS and the Ministry of Agriculture must establish clear data ownership and liability frameworks.
- Farmer adoption: Training and user-friendly interfaces — QR codes, SMS verification — are crucial for uptake.
A Roadmap for Action
- Feasibility study: Quantify the cost-benefit of Afla- Dry 3600 and digital certification.
- Pilot in hotspots: Deploy systems in high-risk counties, linking community drying centers and millers.
- Partnerships: Formalize public-private agreements to co-finance and guarantee the purchase of certified maize.
- Scale-up: Build a national monitoring and certification platform aligned with KEBS standards and EAC trade rules.
BUSINESS MODEL

CONCLUSION: FROM CRISIS TO OPPORTUNITY
Kenya has battled aflatoxin for decades with partial solutions. Afla-Dry 3600 offers a way to close the accountability gap, turning safety from invisible to verifiable. If every bag of maize carried a digital certificate proving it was safe, Kenya could save thousands of lives, restore consumer confidence, and unlock billions in trade.
The science is ready. The technology is ready. The question is whether Kenya is ready to lead.
#FoodSafety #Aflatoxin #PublicHealth #Kenya #lishebora
By Sylviah Nekesa, Eunice Mwicigi, Reginald Odhiambo, Lolyne Kaimenyi, Martin Omwenga

