You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A virtual pet capybara living inside a tiny ESP32 microcontroller with a 1.14" color display. The capybara thinks, eats, sleeps, swims, plays, and reacts to the real world through WiFi — it knows the weather outside, the current time, and even senses when you're nearby using WiFi signal analysis (CSI).
Its brain is a deep neural network (26 inputs -> 96 -> 48 -> 18 outputs) trained on 500,000 simulated decisions in Python, then deployed to run in under 0.1ms on the microcontroller.
Features
AI Brain
Deep Neural Network with 8,130 parameters (26->96->48->18)
Trained on 500,000 simulated behavioral decisions
26 input features: stats, time, environment, weather, temperature, presence, behavior history
Persistent: Saved to flash every 60s, survives reboots
Status Bar
Real temperature with color coding | Weather icon | Real clock | Mood display | 4 stat bars with pixel icons | CSI presence indicator (green WiFi = someone nearby)
No TensorFlow Lite required. The neural network forward pass is implemented as pure C++ matrix multiplication (~20 lines). Weights are stored in PROGMEM (flash memory) — zero RAM overhead. This approach is 75x lighter than TFLite Micro while producing identical results for small networks.
# Clone
git clone https://github.com/DefinitelyN0tMe/esp32AIbara.git
cd esp32AIbara
# Build and flash
pio run -t upload
# Monitor serial output
pio device monitor
Train the AI (optional)
cd train
pip install numpy
python train_brain.py
# Weights auto-exported to src/brain_weights.h