m0capx
v1.0.1
Published
CLI-based motion capture tool
Downloads
17
Readme
Arduino CLI Assistant
A smart CLI tool that helps you connect and work with Arduino-compatible boards, with special focus on ESP32 and MPU6050 integration. Uses Google's Gemini AI for intelligent guidance.
Features
- 🔍 Automatic port detection and board identification
- 🤖 AI-powered guidance using Google's Gemini
- 📊 MPU6050 motion sensor integration
- 🎨 Beautiful CLI interface with color-coded output
- 📝 Step-by-step project setup assistance
Installation
npm install -g m0capxSetup
- Create a
.envfile in the root directory - Add your Gemini API key:
GEMINI_API_KEY=your_api_key_hereUsage
# Start a new project
m0capx start
# Check current status
m0capx status
# Stop capture
m0capx stop
# Show help
m0capx helpESP32 + MPU6050 Setup
When working with ESP32 and MPU6050:
Connect MPU6050 to ESP32:
- VCC → 3.3V
- GND → GND
- SCL → GPIO22
- SDA → GPIO21
Install required Arduino libraries:
- MPU6050 by Electronic Cats
- Wire (built-in)
Use the CLI to:
- Detect your board
- Get AI-powered guidance
- Monitor motion data
Requirements
- Node.js 14+
- Arduino IDE 2.0+
- Serial port access
- Gemini API key
License
MIT
