{"id":31045825,"url":"https://github.com/nlight/motorillo","last_synced_at":"2025-09-14T17:39:27.415Z","repository":{"id":313561722,"uuid":"1051850415","full_name":"nLight/motorillo","owner":"nLight","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-06T22:48:50.000Z","size":575,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-06T23:28:08.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nlight.github.io/motorillo/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nLight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-06T21:14:47.000Z","updated_at":"2025-09-06T22:48:53.000Z","dependencies_parsed_at":"2025-09-06T23:28:24.461Z","dependency_job_id":"a069b3f7-1701-4f1d-bd77-bc558ef17ecc","html_url":"https://github.com/nLight/motorillo","commit_stats":null,"previous_names":["nlight/motorillo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nLight/motorillo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nLight%2Fmotorillo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nLight%2Fmotorillo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nLight%2Fmotorillo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nLight%2Fmotorillo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nLight","download_url":"https://codeload.github.com/nLight/motorillo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nLight%2Fmotorillo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275141599,"owners_count":25412686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-14T17:39:25.884Z","updated_at":"2025-09-14T17:39:27.373Z","avatar_url":"https://github.com/nLight.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motorillo 🎬\n\n\u003e **Precision stepper motor controller with WebUSB interface for camera sliders, timelapses, and automation projects.**\n\n[![Arduino](https://img.shields.io/badge/Arduino-Compatible-00979D?style=flat\u0026logo=Arduino\u0026logoColor=white)](https://www.arduino.cc/)\n[![WebUSB](https://img.shields.io/badge/WebUSB-Enabled-4285F4?style=flat\u0026logo=googlechrome\u0026logoColor=white)](https://webusb.github.io/)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n\n## ✨ Features\n\n- 🌐 **Browser Control**: Direct WebUSB communication - no drivers needed\n- 📱 **Dual Interface**: Standalone OLED menu + web interface\n- 💾 **Persistent Storage**: Save up to 5 programs in EEPROM\n- ⚡ **Precision Control**: Customizable speed (1ms to 4.3M ms per step)\n- 🔄 **Auto-Recovery**: Graceful USB disconnection handling\n- 🎯 **Infinite Programs**: Forward/backward motion until manually stopped\n- 📊 **Real-time Feedback**: Live position and status updates\n\n## 🚀 Quick Start\n\n### Hardware Requirements\n\n| Component          | Specification                               |\n| ------------------ | ------------------------------------------- |\n| **Arduino Board**  | Leonardo/Micro/Zero (WebUSB compatible)     |\n| **Stepper Motor**  | 200 steps/revolution with compatible driver |\n| **Driver**         | A4988, TMC2209                              |\n| **Display**        | SSD1306 OLED 96×16 pixels (I2C)             |\n| **Control Button** | Momentary push button                       |\n\n### Connections\n\n```\nArduino Leonardo/Micro:\n├── Pin 10 → Stepper DIR\n├── Pin 16 → Stepper STEP\n├── Pin 2  → Control Button (internal pullup)\n├── SDA/SCL → OLED Display (I2C)\n└── USB → Computer (WebUSB + Power)\n```\n\n### Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/yourusername/motorillo.git\n   cd motorillo\n   ```\n\n2. **Upload firmware:**\n\n   - Open `steppper.ino` in Arduino IDE\n   - Install required libraries (see [Setup Guide](docs/setup/installation.md))\n   - Upload to your Arduino board\n\n3. **Access web interface:**\n   - Serve the `webusb/` folder on localhost\n   - Connect via Chrome/Edge browser\n   - Click \"Connect Slider\" to establish WebUSB connection\n\n## 📖 Documentation\n\n- 📋 **[Setup Guide](docs/setup/)** - Hardware assembly and software installation\n- 🛠 **[User Manual](docs/features/)** - Operating modes and program creation\n- 👨‍💻 **[Development](docs/development/)** - Architecture and API reference\n- 🔧 **[Troubleshooting](docs/setup/troubleshooting.md)** - Common issues and solutions\n\n## 💡 Use Cases\n\n- **📹 Camera Sliders**: Smooth motion for video production\n- **⏱ Timelapse Photography**: Ultra-slow motion over hours/days\n- **🏭 Automation**: Precise positioning for manufacturing\n- **🎓 Education**: Learn motor control and WebUSB programming\n- **🔬 Research**: Laboratory positioning systems\n\n## 🎮 Control Modes\n\n### Standalone Mode (OLED + Button)\n\n- Navigate stored programs with push button\n- View current position and status\n- Start/stop/pause program execution\n\n### WebUSB Mode (Browser Interface)\n\n- Create and save motion programs\n- Manual jog controls with custom speed\n- Real-time monitoring and control\n- Bulk program management\n\n## 🔧 Technical Specifications\n\n| Parameter          | Range                           | Default    |\n| ------------------ | ------------------------------- | ---------- |\n| **Speed Range**    | 1ms - 4,294,967,295ms per step  | 1000ms     |\n| **Max Programs**   | 5 stored programs               | -          |\n| **Position Range** | 0 - 65,535 steps                | 2000 steps |\n| **Loop Programs**  | Infinite until manually stopped | -          |\n| **Memory Usage**   | ~1KB EEPROM                     | -          |\n\n## 🏗 Architecture\n\n```\n┌─────────────────┐    ┌──────────────────┐\n│   Web Browser   │◄──►│   Pro Micro      │\n│   (WebUSB UI)   │    │   (Motorillo)    │\n└─────────────────┘    └──────────────────┘\n                                │\n                        ┌───────┴───────┐\n                        │ Stepper Motor │\n                        │   + Driver    │\n                        └───────────────┘\n```\n\n**Modular Firmware:**\n\n- `motor_control` - Movement and positioning\n- `command_processor` - WebUSB communication\n- `config_manager` - EEPROM storage\n- `display_manager` - OLED interface\n- `menu_system` - Standalone navigation\n\n## 🤝 Contributing\n\nWe welcome contributions! Please see our [Development Guide](docs/development/) for:\n\n- Code architecture overview\n- Building and testing procedures\n- Pull request guidelines\n\n## 📚 Complete Documentation\n\nThis README provides a quick overview. For comprehensive documentation:\n\n- **[Setup \u0026 Installation](docs/setup/)** - Hardware wiring, software installation, troubleshooting\n- **[Features \u0026 Usage](docs/features/)** - User manual, speed control, WebUSB features\n- **[Development](docs/development/)** - Architecture, API reference, protocol details\n\nStart with the [Documentation Index](docs/README.md) for easy navigation.\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- Built with Arduino framework and WebUSB standard\n- OLED support via Adafruit libraries\n- Inspired by the maker community's creativity\n\n---\n\n**Ready to automate your motion?** [Get started with the setup guide](docs/setup/) →\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlight%2Fmotorillo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlight%2Fmotorillo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlight%2Fmotorillo/lists"}