arduino
Build, review, debug, and scaffold professional Arduino projects across classic AVR boards (`Uno`, `Nano`, `Mega`), Renesas-based R4 boards (`Uno R4 Minima`, `Uno R4 WiFi`, `Nano R4`), ESP32-based Arduino boards, and other common Arduino-family targets. Use when asked for sketches, `.ino` files, Ard
v2026.11.13-21cd5683 התקנות+3 ב-7 ימים39 כוכביםMITסונכרן לפני 11 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/arduinoנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילה43bc100a…c1256517
43bc100adb64…1825c12565175 קבצים · 8.2 KBסריקהנמוךאין ממצאים
מקורgithub.com/AeonDave/malskill/tree/main/hardware/arduino@21cd568
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
This skill is for end-to-end Arduino work that must survive contact with real hardware: board selection, wiring, firmware structure, PlatformIO, testing, debugging, and troubleshooting.
If the task is mainly about choosing sensors or dealing with noisy detection in robotics/domotica, also load sensors.
Workflow
Lock the target board, toolchain, and capability profile.
- Prefer exact names:
Arduino Uno,Uno R4 WiFi,Nano ESP32,ESP32 Dev Module, etc. - Lock the toolchain:
Arduino IDE 2,Arduino CLI,PlatformIO, orArduino Cloud. - If the target is unknown, state assumptions and choose the narrowest safe target.
- Immediately note: board family, voltage domain, resource limits, reserved pins, wireless stack.
- Prefer exact names:
Plan hardware and wiring before code structure.
- Separate inputs, outputs, buses, interrupts, and high-current loads.
- Document pull-up or pull-down assumptions, current draw, and shared grounds.
- Call out when motors, relays, LEDs, displays, or radio modules need external power, drivers, transistors, or level shifting.
Choose the right project shape.
- Use a single
.inoonly for small sketches or fast experiments. - For reusable or testable firmware, split pure logic from hardware access.
- For professional or multi-file work, prefer
PlatformIOwithsrc/,lib/,include/, andtest/. - When migrating from Arduino sketches to PlatformIO, remember that
.inopreprocessing disappears: add#include <Arduino.h>, proper headers, and forward declarations.
- Use a single
Write firmware for bring-up, maintenance, and testability.
- Keep pin constants, feature flags, calibration values, and timing constants centralized.
- Prefer
millis()scheduling, finite-state machines, or task-style loops over long blockingdelay()chains. - Isolate pure logic so it can be unit-tested without hardware.
- Add serial diagnostics that help first power-on, but avoid unbounded serial spam.
- Use compile-time flags or config constants for optional hardware and verbose logging.
Define a verification ladder before finishing.
- Smoke test: compile, upload, and confirm a minimal heartbeat or serial log.
- Functional test: verify each sensor, bus, actuator, and failure path.
- For PlatformIO projects, include
build,upload,monitor, andteststeps. - If the board supports debugging, include a debug plan and probe assumptions.
- If the board does not support practical source-level debugging, fall back to serial tracing, staged bring-up, and smaller test sketches.
Deliver complete output.
- firmware files
- wiring table / pin map
- library or dependency list
- board/toolchain assumptions
- first power-on checklist
- test plan
- troubleshooting notes for the most likely failure modes
Board-family rules
Load references/board-families.md for full details. Minimum awareness without loading the reference:
- Classic AVR: tight RAM/flash; avoid
Stringabuse and large buffers;D0/D1are serial-sensitive. - Renesas R4: not a faster AVR; check USB behavior, timers, analog resolution, and extra peripherals.
- ESP32-based:
3.3Vlogic; be explicit about radio constraints and boot-sensitive pins. - Native USB:
while (!Serial) {}blocks autonomous boot; serial port can disappear on reset.
Review checklist
- board target is explicit
- toolchain is explicit (
Arduino IDE 2,Arduino CLI, orPlatformIO) - pin map in code matches pin map in docs
- analog/digital assumptions are documented
- power and voltage-domain notes are present
- blocking
delay()use is justified or removed - optional hardware is behind flags or clearly separated
- first bring-up and troubleshooting path exists
PlatformIOconfig, if present, matches the board and monitor assumptions- library and dependency versions are pinned when reproducibility matters
Output rules
- Do not claim portability across boards when using board-specific pins.
- Do not invent a
PlatformIOboard ID, upload protocol, or debugger choice. - Do not scatter GPIO numbers through the code.
- Do not leave voltage-domain assumptions implicit.
- Do not recommend powering motors, servos, relays, or LED strips directly from a board pin.
- Call out when serial debugging may fail because of board/port selection, driver issues, baud mismatch, native USB resets, or
while (!Serial) {}. - For
Uno R4 WiFi, mention board-specific caveats when they matter: Qwiic is3.3VonWire1, HID can change the USB port, and direct ESP32 programming can break the default bridge firmware. - If a sensor needs protection or signal conditioning, say so clearly.
- Pin library versions in dependency lists and
lib_depswhen the project needs reproducibility.
When to load references
- Load
references/project-patterns.mdfor project shape, architecture, OTA guidance, bring-up flow, and deliverables. - Load
references/pin-planning.mdwhen assigning GPIOs, documenting wiring, or checking bus and voltage constraints. - Load
references/board-families.mdwhen selecting a board, comparing families, or explaining board-specific caveats. - Load
references/platformio-testing-debugging.mdwhen the request mentionsPlatformIO, tests, upload issues, serial monitor issues, or debugging.
Resources
references/
references/project-patterns.md— project intake, architecture, deliverable bundles, and first-power-on workflow.references/pin-planning.md— GPIO planning, voltage-domain checks, bus mapping, and wiring-output format.references/board-families.md— practical differences between AVR, R4, ESP32-based, and native-USB Arduino targets.references/platformio-testing-debugging.md— PlatformIO structure, migration guidance, unit testing, debugging, and troubleshooting.
הקבצים בגרסה הזו
references/414.6 KB
- board-families.md3.0 KB
- pin-planning.md3.9 KB
- platformio-testing-debugging.md3.8 KB
- project-patterns.md3.9 KB
- SKILL.md6.4 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | לא | לא |
| כותב קבצים | כן | כן |
| מריץ פקודות shell | לא | לא |
| משתמש ברשת | לא | לא |
| משתמש במחברים | כן | כן |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
הסריקה לא מצאה בגרסה הזו שום דבר שצריך לסמן.
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 בנוב׳ 2026 | 21cd568 | 43bc100a | חתומה | – |
עוד מ-AeonDave
הכול מהמפרסם הזהעוד בקטגוריה מובייל, קושחה וחומרה
לקטגוריהשאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login