137 lines
9.0 KiB
XML
137 lines
9.0 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="860" viewBox="0 0 1200 860" font-family="Helvetica, Arial, sans-serif">
|
||
<title>Branchement matrice WS2812B 8×32, Arduino Uno et alimentation d'établi</title>
|
||
<defs>
|
||
<pattern id="pix" x="60" y="55" width="30.625" height="30.625" patternUnits="userSpaceOnUse">
|
||
<rect x="9" y="9" width="12" height="12" rx="1" fill="#2b2b2b"/>
|
||
</pattern>
|
||
<marker id="fleche" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto">
|
||
<path d="M1 1 L9 5 L1 9 Z" fill="#cfcfcf"/>
|
||
</marker>
|
||
</defs>
|
||
|
||
<rect width="1200" height="860" fill="#ffffff"/>
|
||
|
||
<!-- ===================== MATRICE ===================== -->
|
||
<text x="60" y="38" font-size="20" font-weight="bold" fill="#222">Matrice WS2812B 8 × 32 — vue de dos (côté fils)</text>
|
||
<rect x="60" y="55" width="980" height="245" rx="6" fill="#141414"/>
|
||
<rect x="60" y="55" width="980" height="245" rx="6" fill="url(#pix)"/>
|
||
|
||
<line x1="760" y1="150" x2="340" y2="150" stroke="#cfcfcf" stroke-width="3" marker-end="url(#fleche)"/>
|
||
<text x="550" y="135" font-size="15" fill="#e6e6e6" text-anchor="middle">les données entrent par DIN et traversent les 256 LED</text>
|
||
|
||
<!-- pastilles imprimées : sortie DOUT (gauche) -->
|
||
<g font-size="12" fill="#cfcfcf" text-anchor="middle">
|
||
<text x="110" y="268">5V</text><text x="150" y="268">GND</text><text x="194" y="268">DOUT</text>
|
||
<text x="490" y="268">5V</text><text x="550" y="268">GND</text>
|
||
<text x="880" y="268">5V</text><text x="910" y="268">GND</text><text x="940" y="268">DIN</text>
|
||
</g>
|
||
|
||
<!-- ===================== SORTIE DOUT (non utilisée) ===================== -->
|
||
<g stroke-width="5" fill="none" stroke-linecap="round">
|
||
<path d="M110 282 V340" stroke="#d62828"/>
|
||
<path d="M150 282 V340" stroke="#bdbdbd"/>
|
||
<path d="M190 282 V340" stroke="#2a9d3a"/>
|
||
</g>
|
||
<rect x="96" y="340" width="108" height="24" rx="3" fill="#222"/>
|
||
<text x="150" y="390" font-size="14" fill="#555" text-anchor="middle">Sortie DOUT : ne rien brancher</text>
|
||
<text x="150" y="408" font-size="13" fill="#888" text-anchor="middle">(sert à chaîner un 2e panneau)</text>
|
||
|
||
<!-- ===================== ALIMENTATION (fils du milieu) ===================== -->
|
||
<g stroke-width="6" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||
<path d="M490 282 V440 H530 V586" stroke="#d62828"/>
|
||
<path d="M550 282 V420 H590 V586" stroke="#1a1a1a"/>
|
||
</g>
|
||
|
||
<!-- condensateur entre 5V et GND -->
|
||
<line x1="490" y1="352" x2="506" y2="352" stroke="#777" stroke-width="2"/>
|
||
<line x1="534" y1="352" x2="550" y2="352" stroke="#777" stroke-width="2"/>
|
||
<rect x="506" y="340" width="28" height="24" rx="5" fill="#1f4e9c"/>
|
||
<rect x="524" y="340" width="10" height="24" fill="#c9d6ee"/>
|
||
<text x="529" y="356" font-size="13" font-weight="bold" fill="#1f4e9c" text-anchor="middle">−</text>
|
||
<text x="474" y="340" font-size="14" font-weight="bold" fill="#1f4e9c" text-anchor="end">Condensateur 1000 µF</text>
|
||
<text x="474" y="358" font-size="13" fill="#1f4e9c" text-anchor="end">bande « − » côté GND (fil noir)</text>
|
||
<text x="474" y="375" font-size="13" fill="#1f4e9c" text-anchor="end">patte + côté 5V (fil rouge)</text>
|
||
|
||
<!-- ===================== ENTRÉE DIN ===================== -->
|
||
<g stroke-width="5" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||
<path d="M880 282 V340" stroke="#d62828"/>
|
||
<path d="M910 282 V340" stroke="#bdbdbd"/>
|
||
<path d="M940 282 V340" stroke="#2a9d3a"/>
|
||
</g>
|
||
<rect x="866" y="340" width="88" height="22" rx="3" fill="#222"/>
|
||
<rect x="870" y="364" width="80" height="22" rx="3" fill="#3a3a3a"/>
|
||
<text x="966" y="358" font-size="13" fill="#555">connecteur de la matrice</text>
|
||
<text x="966" y="381" font-size="13" fill="#555">+ fiche fournie (rouge / blanc / vert)</text>
|
||
|
||
<g stroke-width="5" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||
<path d="M880 386 V420" stroke="#d62828"/>
|
||
<path d="M910 386 V524" stroke="#bdbdbd"/>
|
||
<path d="M940 386 V440 H990 V452" stroke="#2a9d3a"/>
|
||
<path d="M990 492 V524" stroke="#2a9d3a"/>
|
||
</g>
|
||
<!-- fil rouge isolé -->
|
||
<rect x="872" y="418" width="16" height="16" rx="2" fill="#f2c94c"/>
|
||
<text x="864" y="431" font-size="13" fill="#b00020" text-anchor="end">fil rouge : NON branché, isolé (scotch)</text>
|
||
|
||
<!-- résistance -->
|
||
<rect x="981" y="452" width="18" height="40" rx="6" fill="#e8d3a8" stroke="#a88a52"/>
|
||
<rect x="981" y="460" width="18" height="4" fill="#e67e22"/>
|
||
<rect x="981" y="468" width="18" height="4" fill="#e67e22"/>
|
||
<rect x="981" y="476" width="18" height="4" fill="#8b4513"/>
|
||
<rect x="981" y="484" width="18" height="3" fill="#c9a227"/>
|
||
<text x="1010" y="468" font-size="14" font-weight="bold" fill="#7a5a1e">Résistance 330 Ω</text>
|
||
<text x="1010" y="486" font-size="13" fill="#7a5a1e">(300 à 500 Ω)</text>
|
||
|
||
<!-- ===================== ARDUINO ===================== -->
|
||
<rect x="760" y="520" width="300" height="190" rx="10" fill="#00878f"/>
|
||
<rect x="800" y="526" width="230" height="18" rx="2" fill="#1b1b1b"/>
|
||
<rect x="903" y="529" width="14" height="12" fill="#d4af37"/>
|
||
<rect x="983" y="529" width="14" height="12" fill="#d4af37"/>
|
||
<text x="910" y="562" font-size="14" font-weight="bold" fill="#fff" text-anchor="middle">GND</text>
|
||
<text x="990" y="562" font-size="14" font-weight="bold" fill="#fff" text-anchor="middle">~6</text>
|
||
<text x="910" y="625" font-size="22" font-weight="bold" fill="#fff" text-anchor="middle">Arduino Uno</text>
|
||
<rect x="820" y="686" width="130" height="16" rx="2" fill="#1b1b1b"/>
|
||
<rect x="853" y="688" width="14" height="12" fill="#d4af37"/>
|
||
<text x="860" y="678" font-size="13" font-weight="bold" fill="#fff" text-anchor="middle">5V</text>
|
||
<path d="M852 712 L868 728 M868 712 L852 728" stroke="#d62828" stroke-width="3"/>
|
||
<text x="880" y="745" font-size="13" fill="#b00020">5V de l'Arduino : NE PAS relier à la matrice</text>
|
||
<!-- USB -->
|
||
<rect x="736" y="598" width="34" height="38" rx="3" fill="#b8b8b8"/>
|
||
<path d="M736 617 H700 V790" stroke="#555" stroke-width="5" fill="none" stroke-linecap="round"/>
|
||
<text x="700" y="812" font-size="14" fill="#333" text-anchor="middle">câble USB → ordinateur</text>
|
||
<text x="700" y="830" font-size="13" fill="#777" text-anchor="middle">(alimente l'Arduino + téléversement)</text>
|
||
|
||
<!-- ===================== ALIMENTATION D'ÉTABLI ===================== -->
|
||
<rect x="300" y="500" width="330" height="210" rx="10" fill="#e9ecef" stroke="#adb5bd" stroke-width="2"/>
|
||
<text x="465" y="526" font-size="16" font-weight="bold" fill="#333" text-anchor="middle">Alimentation d'établi</text>
|
||
<rect x="318" y="540" width="160" height="96" rx="4" fill="#1d2b1d"/>
|
||
<text x="398" y="578" font-size="28" font-weight="bold" fill="#7dff7d" text-anchor="middle" font-family="monospace">5.00 V</text>
|
||
<text x="398" y="618" font-size="20" fill="#ffb347" text-anchor="middle" font-family="monospace">3.00 A</text>
|
||
<circle cx="345" cy="672" r="16" fill="#666"/>
|
||
<circle cx="420" cy="672" r="16" fill="#666"/>
|
||
<text x="345" y="702" font-size="11" fill="#555" text-anchor="middle">tension</text>
|
||
<text x="420" y="702" font-size="11" fill="#555" text-anchor="middle">courant</text>
|
||
<circle cx="530" cy="600" r="13" fill="#d62828" stroke="#7a0f0f" stroke-width="2"/>
|
||
<circle cx="590" cy="600" r="13" fill="#1a1a1a" stroke="#000" stroke-width="2"/>
|
||
<text x="530" y="637" font-size="15" font-weight="bold" fill="#d62828" text-anchor="middle">+</text>
|
||
<text x="590" y="637" font-size="15" font-weight="bold" fill="#1a1a1a" text-anchor="middle">−</text>
|
||
<text x="560" y="660" font-size="12" fill="#555" text-anchor="middle">bornes de</text>
|
||
<text x="560" y="675" font-size="12" fill="#555" text-anchor="middle">sortie</text>
|
||
|
||
<!-- ===================== LÉGENDE ===================== -->
|
||
<rect x="40" y="470" width="236" height="250" rx="8" fill="#f8f9fa" stroke="#dee2e6"/>
|
||
<text x="56" y="496" font-size="15" font-weight="bold" fill="#222">Code couleur des fils</text>
|
||
<line x1="56" y1="520" x2="90" y2="520" stroke="#d62828" stroke-width="6" stroke-linecap="round"/>
|
||
<text x="100" y="525" font-size="14" fill="#333">rouge = + 5 V</text>
|
||
<line x1="56" y1="548" x2="90" y2="548" stroke="#1a1a1a" stroke-width="6" stroke-linecap="round"/>
|
||
<text x="100" y="553" font-size="14" fill="#333">noir = GND (masse)</text>
|
||
<line x1="56" y1="576" x2="90" y2="576" stroke="#bdbdbd" stroke-width="6" stroke-linecap="round"/>
|
||
<text x="100" y="581" font-size="14" fill="#333">blanc = GND (masse)</text>
|
||
<line x1="56" y1="604" x2="90" y2="604" stroke="#2a9d3a" stroke-width="6" stroke-linecap="round"/>
|
||
<text x="100" y="609" font-size="14" fill="#333">vert = données</text>
|
||
<text x="56" y="642" font-size="13" fill="#555">Tous les GND sont reliés :</text>
|
||
<text x="56" y="660" font-size="13" fill="#555">Arduino ↔ fil blanc ↔ matrice</text>
|
||
<text x="56" y="678" font-size="13" fill="#555">↔ fil noir ↔ borne − de l'alim.</text>
|
||
<text x="56" y="702" font-size="13" font-weight="bold" fill="#b00020">Alim. réglée sur 5,0 V maxi !</text>
|
||
</svg>
|