Logo Lanfrica

Cheptoo-dev/Africa-s-Talking-Solarpay-Hackathon

Domain:

environment and energydigital infrastructure

Record type:

project
Creator:
Che
Host:
# ⚑ SolarPay – Smart IoT Solar Pay-As-You-Go System 🌞 **Powering Africa with IoT + Pay-As-You-Go Solar** Built at the **Africa's Talking Women in Tech Hackathon 2025** ✨ --- ## 🌍 Problem Millions of households in Africa use small solar systems but: - ⚠️ Don't know when their battery will die (sudden blackouts). - πŸ’Έ Struggle with flexible, affordable payment methods. - πŸ“΅ Lack access to internet β€” only feature phones available. --- ## πŸ’‘ Our Solution: **SolarPay** βœ… IoT-powered battery monitoring βœ… Affordable **Pay-As-You-Go energy** with Airtime βœ… **USSD & SMS access** (works even on Kabambe phones) βœ… Visual hardware demo: light bulb ON/OFF after payment --- ## ✨ Features - πŸ”‹ **Battery Monitoring** β†’ ESP32 + sensors track solar battery status. - πŸ“± **USSD/SMS Menu** β†’ Users dial `*123#` to check power status. - πŸ’° **Pay-As-You-Go with Airtime API** β†’ Unlock power for small payments. - πŸ’‘ **Relay-Controlled Demo Load** β†’ Light bulb switches ON/OFF after recharge. - ☎️ **Optional Voice Alerts** β†’ For accessibility. --- ## πŸ› οΈ Tech Stack **Hardware** ⚑ - ESP32 microcontroller - Voltage Sensor + Current Sensor - Relay Module + Light Bulb **Backend** πŸ–₯️ - Node.js + Express **Database** πŸ—„οΈ - Firebase Realtime Database **Africa's Talking APIs** πŸ“‘ - SMS API β†’ Battery alerts - USSD API β†’ Interactive menu - Airtime API β†’ Pay-As-You-Go payments - Voice API β†’ Optional status calls --- ## πŸ—οΈ System Architecture ```mermaid flowchart LR A["Solar Panel + Battery"] --> B["ESP32 + Sensors"] B --> C["Relay + Bulb"] B --> D["Backend - Node.js + Express"] D --> E["Firebase Realtime DB"] D --> F["Africa's Talking APIs"] F --> G["User Phone SMS/USSD/Airtime"] G --> F ``` --- ## πŸš€ Getting Started ### πŸ“‹ Prerequisites - **Node.js** (v16 or higher) - **Arduino IDE** (for ESP32 programming) - **Africa's Talking Account** with API keys - **Firebase Project** set up - **Hardware Components:** - ESP32 Development Board - Voltage/Current Sensors - Relay Module - Light Bulb (for demo) - Breadboard & …

Licenses