C'est l'hiver ! Hiver.gif

ENIB 2026 : Capteur de Lumière : Différence entre versions

De Les Fabriques du Ponant
Aller à : navigation, rechercher
 
(56 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
Titre de la fiche expérience :
 
  
éventuelle photo de l'équipe
 
  
 
+
[[Fichier:Fini.jpg|200px]]
[[Fichier:Avancement projet|vignette|614152680_907483541816108_8189877801002799058_n.jpg|200px]]
 
  
 
==Introduction==
 
==Introduction==
Ligne 10 : Ligne 7 :
  
 
Pour ceux qui ont déjà joué au jeu très connu Minecraft, cet objet vous paraîtra peut-être familier : il s'agit d'un capteur de lumière, comme représenté ci- dessous.
 
Pour ceux qui ont déjà joué au jeu très connu Minecraft, cet objet vous paraîtra peut-être familier : il s'agit d'un capteur de lumière, comme représenté ci- dessous.
 +
 +
 +
[[Fichier:Capteur de nuit.png|200px]]
 +
   
 +
 +
  
 
Son fonctionnement dans le jeu est très simple : quand il fait jour, le capteur va s'allumer, et  
 
Son fonctionnement dans le jeu est très simple : quand il fait jour, le capteur va s'allumer, et  
Ligne 15 : Ligne 18 :
  
 
Ici nous allons uniquement reprendre le concept d'allumage, on ne créera pas de système compliqué.
 
Ici nous allons uniquement reprendre le concept d'allumage, on ne créera pas de système compliqué.
L'objectif de notre objet est donc de s'allumer quand le capteur détecte de la lumière, et de s'éteindre quand le capteur ne détecte pas (ou très peu) de lumière.
+
Notre capteur va donc reprendre l'heure locale sur Internet et s'allumer quand il fait jour, ou s'éteindre quand il fait nuit.
Contrairement à son fonctionnement dans le jeu Minecraft, le capteur ne sera pas dépendant de si il fait jour ou nuit : cela veut dire que si l'on couvre le capteur avec sa main en plein jour, le dispositif sera éteint, car le capteur ne détectera aucune lumière.
 
  
 
==Outils et Matériel utilisés==
 
==Outils et Matériel utilisés==
Ligne 22 : Ligne 24 :
 
Nous utilisons le matériel suivant :
 
Nous utilisons le matériel suivant :
  
- Une carte ESP-32-WROOM
+
* Une carte ESP-32-WROOM
- Du carton
+
* Du carton
- Des plaques Labdec
+
* Des plaques Labdec
- Des prises Mâle-Mâle et Mâle-Femelle
+
* Des câbles Mâle-Femelle
- Des LED
+
* Une LED
 +
* Une résistance
 +
* De la colle forte
 +
* Du papier calque
 +
* Crayons de couleur
 +
 
 +
 
  
 
Nous utilisons les outils suivants :
 
Nous utilisons les outils suivants :
  
- Cutter
+
* Cutter
- Pistolet à colle
+
* Découpeuse Laser
 +
* Règle
 +
* Pistolet à colle
 +
* Équerre
 +
* Ciseaux
 +
 
 +
==Fichiers à joindre==
 +
 
 +
===Code pour la découpe laser===
 +
 
 +
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 +
<svg
 +
  height="600mm"
 +
  viewBox="0 0 299.99999 600.00001"
 +
  width="300mm"
 +
  version="1.1"
 +
  id="svg66"
 +
  sodipodi:docname="ABox.svg"
 +
  inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
 +
  xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
 +
  xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
 +
  xmlns="http://www.w3.org/2000/svg"
 +
  xmlns:svg="http://www.w3.org/2000/svg"
 +
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 +
  xmlns:cc="http://creativecommons.org/ns#"
 +
  xmlns:dc="http://purl.org/dc/elements/1.1/">
 +
  <defs
 +
    id="defs66" />
 +
  <sodipodi:namedview
 +
    id="namedview66"
 +
    pagecolor="#505050"
 +
    bordercolor="#eeeeee"
 +
    borderopacity="1"
 +
    inkscape:showpageshadow="0"
 +
    inkscape:pageopacity="0"
 +
    inkscape:pagecheckerboard="0"
 +
    inkscape:deskcolor="#505050"
 +
    inkscape:document-units="mm"
 +
    inkscape:zoom="3.0146313"
 +
    inkscape:cx="430.73261"
 +
    inkscape:cy="1327.3597"
 +
    inkscape:window-width="1920"
 +
    inkscape:window-height="974"
 +
    inkscape:window-x="-11"
 +
    inkscape:window-y="-11"
 +
    inkscape:window-maximized="1"
 +
    inkscape:current-layer="svg66" />
 +
  <!--
 +
ABox - A simple Box
 +
 
 +
 
 +
This box is kept simple on purpose. If you need more features have a look at the UniversalBox.
 +
 
 +
 
 +
Created with Boxes.py (https://boxes.hackerspace-bamberg.de/)
 +
Creation date: 2026-01-20 10:18:37
 +
Command line (remove spaces between dashes): boxes ABox - -x=200 - -y=200 - -h=66 - -burn=0.05 - -spacing=0.5
 +
Url: https://boxes.hackerspace-bamberg.de/ABox?FingerJoint_style=rectangular&FingerJoint_surroundingspaces=2.0&FingerJoint_bottom_lip=0.0&FingerJoint_edge_width=1.0&FingerJoint_extra_length=0.0&FingerJoint_finger=2.0&FingerJoint_play=0.0&FingerJoint_space=2.0&FingerJoint_width=1.0&Lid_handle=none&Lid_style=none&Lid_handle_height=8.0&Lid_height=4.0&Lid_play=0.1&x=200&y=200&h=66&outside=0&outside=1&bottom_edge=h&thickness=3.0&burn=0.05&format=svg&labels=0&labels=1&reference=100.0&tabs=0.0&qr_code=0&inner_corners=loop&spacing=0.5&debug=0&language=fr&render=2
 +
Url short: https://boxes.hackerspace-bamberg.de/ABox?x=200&y=200&h=66&burn=0.05&spacing=0.5
 +
SettingsUrl: https://boxes.hackerspace-bamberg.de/ABox?FingerJoint_style=rectangular&FingerJoint_surroundingspaces=2.0&FingerJoint_bottom_lip=0.0&FingerJoint_edge_width=1.0&FingerJoint_extra_length=0.0&FingerJoint_finger=2.0&FingerJoint_play=0.0&FingerJoint_space=2.0&FingerJoint_width=1.0&Lid_handle=none&Lid_style=none&Lid_handle_height=8.0&Lid_height=4.0&Lid_play=0.1&x=200&y=200&h=66&outside=0&outside=1&bottom_edge=h&thickness=3.0&burn=0.05&format=svg&labels=0&labels=1&reference=100.0&tabs=0.0&qr_code=0&inner_corners=loop&spacing=0.5&debug=0&language=fr&render=2
 +
SettingsUrl short: https://boxes.hackerspace-bamberg.de/ABox?x=200&y=200&h=66&burn=0.05&spacing=0.5
 +
-->
 +
  <title
 +
    id="title1">ABox</title>
 +
  <metadata
 +
    id="metadata1">
 +
    <rdf:RDF>
 +
      <cc:Work>
 +
        <dc:title>ABox</dc:title>
 +
        <dc:date>2026-01-20 10:18:37</dc:date>
 +
        <dc:source>https://boxes.hackerspace-bamberg.de/ABox?FingerJoint_style=rectangular&amp;FingerJoint_surroundingspaces=2.0&amp;FingerJoint_bottom_lip=0.0&amp;FingerJoint_edge_width=1.0&amp;FingerJoint_extra_length=0.0&amp;FingerJoint_finger=2.0&amp;FingerJoint_play=0.0&amp;FingerJoint_space=2.0&amp;FingerJoint_width=1.0&amp;Lid_handle=none&amp;Lid_style=none&amp;Lid_handle_height=8.0&amp;Lid_height=4.0&amp;Lid_play=0.1&amp;x=200&amp;y=200&amp;h=66&amp;outside=0&amp;outside=1&amp;bottom_edge=h&amp;thickness=3.0&amp;burn=0.05&amp;format=svg&amp;labels=0&amp;labels=1&amp;reference=100.0&amp;tabs=0.0&amp;qr_code=0&amp;inner_corners=loop&amp;spacing=0.5&amp;debug=0&amp;language=fr&amp;render=2</dc:source>
 +
        <dc:source>https://boxes.hackerspace-bamberg.de/ABox?x=200&amp;y=200&amp;h=66&amp;burn=0.05&amp;spacing=0.5</dc:source>
 +
        <dc:description>A simple Box
 +
 
 +
This box is kept simple on purpose. If you need more features have a look at the UniversalBox.
  
==fichiers à joindre==
+
Created with Boxes.py (https://boxes.hackerspace-bamberg.de/)
code, ficher d'impression 3D, de découpe laser ou vinyle, ...
+
Command line: boxes ABox --FingerJoint_style=rectangular --FingerJoint_surroundingspaces=2.0 --FingerJoint_bottom_lip=0.0 --FingerJoint_edge_width=1.0 --FingerJoint_extra_length=0.0 --FingerJoint_finger=2.0 --FingerJoint_play=0.0 --FingerJoint_space=2.0 --FingerJoint_width=1.0 --Lid_handle=none --Lid_style=none --Lid_handle_height=8.0 --Lid_height=4.0 --Lid_play=0.1 --x=200 --y=200 --h=66 --outside=0 --outside=1 --bottom_edge=h --thickness=3.0 --burn=0.05 --format=svg --labels=0 --labels=1 --reference=100.0 --tabs=0.0 --qr_code=0 --inner_corners=loop --spacing=0.5 --debug=0
===Mettre du code Arduino===
+
Command line short: boxes ABox --x=200 --y=200 --h=66 --burn=0.05 --spacing=0.5
 +
Url: https://boxes.hackerspace-bamberg.de/ABox?FingerJoint_style=rectangular&amp;FingerJoint_surroundingspaces=2.0&amp;FingerJoint_bottom_lip=0.0&amp;FingerJoint_edge_width=1.0&amp;FingerJoint_extra_length=0.0&amp;FingerJoint_finger=2.0&amp;FingerJoint_play=0.0&amp;FingerJoint_space=2.0&amp;FingerJoint_width=1.0&amp;Lid_handle=none&amp;Lid_style=none&amp;Lid_handle_height=8.0&amp;Lid_height=4.0&amp;Lid_play=0.1&amp;x=200&amp;y=200&amp;h=66&amp;outside=0&amp;outside=1&amp;bottom_edge=h&amp;thickness=3.0&amp;burn=0.05&amp;format=svg&amp;labels=0&amp;labels=1&amp;reference=100.0&amp;tabs=0.0&amp;qr_code=0&amp;inner_corners=loop&amp;spacing=0.5&amp;debug=0&amp;language=fr&amp;render=2
 +
Url short: https://boxes.hackerspace-bamberg.de/ABox?x=200&amp;y=200&amp;h=66&amp;burn=0.05&amp;spacing=0.5
 +
SettingsUrl: https://boxes.hackerspace-bamberg.de/ABox?FingerJoint_style=rectangular&amp;FingerJoint_surroundingspaces=2.0&amp;FingerJoint_bottom_lip=0.0&amp;FingerJoint_edge_width=1.0&amp;FingerJoint_extra_length=0.0&amp;FingerJoint_finger=2.0&amp;FingerJoint_play=0.0&amp;FingerJoint_space=2.0&amp;FingerJoint_width=1.0&amp;Lid_handle=none&amp;Lid_style=none&amp;Lid_handle_height=8.0&amp;Lid_height=4.0&amp;Lid_play=0.1&amp;x=200&amp;y=200&amp;h=66&amp;outside=0&amp;outside=1&amp;bottom_edge=h&amp;thickness=3.0&amp;burn=0.05&amp;format=svg&amp;labels=0&amp;labels=1&amp;reference=100.0&amp;tabs=0.0&amp;qr_code=0&amp;inner_corners=loop&amp;spacing=0.5&amp;debug=0&amp;language=fr&amp;render=2
 +
SettingsUrl short: https://boxes.hackerspace-bamberg.de/ABox?x=200&amp;y=200&amp;h=66&amp;burn=0.05&amp;spacing=0.5
 +
</dc:description>
 +
      </cc:Work>
 +
    </rdf:RDF>
 +
  </metadata>
 +
  <g
 +
    id="p-1"
 +
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1">
 +
    <path
 +
      d="M 26.05,342.2 H 23.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 29 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path2"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 38.05,342.2 H 35.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 41 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path3"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 50.05,342.2 H 47.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 53 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path4"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 62.05,342.2 H 59.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 65 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path5"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 74.05,342.2 H 71.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 77 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path6"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 86.05,342.2 H 83.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 89 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path7"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 98.05,342.2 H 95.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path8"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 110.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path9"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 122.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path10"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 134.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path11"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 146.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path12"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 158.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path13"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 170.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path14"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 182.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path15"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 194.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path16"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 13.05,345.3 h 194 3 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -3 -194 -3 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 z"
 +
      stroke="#000000"
 +
      stroke-width="0.10"
 +
      id="path17"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
  </g>
 +
  <g
 +
    id="p-2"
 +
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1">
 +
    <path
 +
      d="M 26.05,274.6 H 23.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 29 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path18"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 38.05,274.6 H 35.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 41 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path19"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 50.05,274.6 H 47.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 53 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path20"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 62.05,274.6 H 59.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 65 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path21"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 74.05,274.6 H 71.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 77 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path22"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 86.05,274.6 H 83.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 89 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path23"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="M 98.05,274.6 H 95.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path24"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 110.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path25"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 122.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path26"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 134.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path27"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 146.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path28"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 158.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path29"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 170.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path30"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 182.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path31"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 194.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path32"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 13.05,277.7 h 194 3 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -3 -194 -3 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 z"
 +
      stroke="#000000"
 +
      stroke-width="0.10"
 +
      id="path33"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
  </g>
 +
  <g
 +
    id="p-3"
 +
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1">
 +
    <path
 +
      id="path34"
 +
      d="m 23.049756,9.9999064 c -0.028,0 -0.04961,0.022127 -0.04961,0.050127 v 2.950207 h -9.950297 c -0.028,0 -0.04961,0.02161 -0.04961,0.04961 v 9.950297 h -2.950207 c -0.028,0 -0.050127,0.02161 -0.050127,0.04961 v 6.00015 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899898 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 6.000151 c 0,0.028 0.022127,0.04961 0.050127,0.04961 h 2.950207 v 5.900415 h -2.950207 c -0.028,0 -0.050127,0.02161 -0.050127,0.04961 v 6.000151 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899898 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 5.999634 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899899 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 6.00015 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899899 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 5.999634 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899898 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 6.000146 c 0,0.028 0.022127,0.0496 0.050127,0.0496 h 2.950207 v 5.90042 h -2.950207 c -0.028,0 -0.050127,0.0216 -0.050127,0.0496 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 6.00015 c 0,0.028 0.022127,0.0496 0.050127,0.0496 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 5.99964 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0216 -0.050127,0.0496 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 6.00015 c 0,0.028 0.022127,0.0496 0.050127,0.0496 h 2.950207 v 5.90042 h -2.950207 c -0.028,0 -0.050127,0.0216 -0.050127,0.0496 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 9.94978 c 0,0.028 0.02161,0.0501 0.04961,0.0501 h 9.950297 v 2.95021 c 0,0.028 0.02161,0.0496 0.04961,0.0496 h 6.00015 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899898 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 6.000151 c 0.028,0 0.04961,-0.0216 0.04961,-0.0496 v -2.95021 h 5.900415 v 2.95021 c 0,0.028 0.02161,0.0496 0.04961,0.0496 h 6.000151 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899898 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 5.999634 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899899 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 6.00015 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899899 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 5.999634 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899898 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 6.000147 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -2.95021 h 5.90042 v 2.95021 c 0,0.028 0.0216,0.0496 0.0496,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 6.00015 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 5.99964 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0216,0.0496 0.0496,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 6.00015 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -2.95021 h 5.90042 v 2.95021 c 0,0.028 0.0216,0.0496 0.0496,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 9.94978 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -9.94978 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0496 -0.0496,-0.0496 h -2.95021 v -5.90042 h 2.95021 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -6.00015 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0496 -0.0496,-0.0496 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -5.99964 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -6.00015 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0496 -0.0496,-0.0496 h -2.95021 v -5.90042 h 2.95021 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -6.000146 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899898 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 v -5.999634 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899899 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 v -6.00015 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899899 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 V 59.05016 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899898 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 v -6.000151 c 0,-0.028 -0.0216,-0.04961 -0.0496,-0.04961 h -2.95021 v -5.900415 h 2.95021 c 0.028,0 0.0496,-0.02161 0.0496,-0.04961 v -6.000151 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899898 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 v -6.00015 c 0,-0.028 -0.0216,-0.04961 -0.0496,-0.04961 h -2.95021 V 13.04985 c 0,-0.028 -0.0221,-0.04961 -0.0501,-0.04961 h -9.94978 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0496,0.022127 -0.0496,0.050127 v 2.950207 h -5.90042 v -2.950207 c 0,-0.028 -0.0216,-0.050127 -0.0496,-0.050127 h -6.00015 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0496,0.022127 -0.0496,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -5.99964 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0216,-0.050127 -0.0496,-0.050127 h -6.00015 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0496,0.022127 -0.0496,0.050127 v 2.950207 h -5.90042 v -2.950207 c 0,-0.028 -0.0216,-0.050127 -0.0496,-0.050127 h -6.000147 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899898 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 h -5.999634 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899899 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 h -6.00015 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899899 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 h -5.999634 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899898 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 H 47.04985 c -0.028,0 -0.04961,0.022127 -0.04961,0.050127 v 2.950207 h -5.900415 v -2.950207 c 0,-0.028 -0.02161,-0.050127 -0.04961,-0.050127 h -6.000151 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899898 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 z M 30.025041,30.025041 H 189.97497 V 189.97497 H 30.025041 Z"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
  </g>
 +
  <g
 +
    id="p-4"
 +
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1"
 +
    transform="translate(-202.06806,142.98674)">
 +
    <path
 +
      d="m 227.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path35"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 239.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path36"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 251.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path37"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 263.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path38"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 275.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path39"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 287.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path40"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 299.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path41"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 311.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path42"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 323.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path43"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 335.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path44"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 347.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path45"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 359.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path46"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 371.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path47"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 383.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path48"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 395.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path49"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 214.65,345.3 h 194 c 0.028,0 0.05,-0.022 0.05,-0.05 v -5.95 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.95 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -194 c -0.028,0 -0.05,0.022 -0.05,0.05 v 5.95 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.95 c 0,0.028 0.022,0.05 0.05,0.05 z"
 +
      stroke="#000000"
 +
      stroke-width="0.10"
 +
      id="path50"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
  </g>
 +
  <g
 +
    id="p-5"
 +
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1"
 +
    transform="translate(-202.06806,142.98674)">
 +
    <path
 +
      d="m 227.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path51"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 239.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path52"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 251.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path53"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 263.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path54"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 275.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path55"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 287.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path56"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 299.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path57"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 311.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path58"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 323.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path59"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 335.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path60"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 347.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path61"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 359.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path62"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 371.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path63"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 383.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path64"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
    <path
 +
      d="m 395.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
 +
      stroke="#0000ff"
 +
      stroke-width="0.10"
 +
      id="path65"
 +
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 +
  </g>
 +
  <path
 +
    id="path66"
 +
    style="fill:none;stroke:#ff0000;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
 +
    d="m 12.581888,354.58674 c -0.028,0 -0.0501,0.0221 -0.0501,0.0501 v 5.95002 H 9.5820984 c -0.028,0 -0.0501,0.0216 -0.0501,0.0496 v 6.00015 c 0,0.028 0.0221,0.0501 0.0501,0.0501 h 2.9496896 v 5.8999 H 9.5820984 c -0.028,0 -0.0501,0.0221 -0.0501,0.0501 v 6.00015 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 2.9496896 v 5.90041 H 9.5820984 c -0.028,0 -0.0501,0.0216 -0.0501,0.0496 v 6.00027 c 0,0.028 0.0221,0.0501 0.0501,0.0501 h 2.9496896 v 5.89989 H 9.5820984 c -0.028,0 -0.0501,0.0221 -0.0501,0.0501 v 5.99963 c 0,0.028 0.0221,0.0501 0.0501,0.0501 h 2.9496896 v 5.8999 H 9.5820984 c -0.028,0 -0.0501,0.0221 -0.0501,0.0501 v 6.00016 c 0,0.028 0.0221,0.0501 0.0501,0.0501 h 2.9496896 v 5.95003 c 0,0.028 0.0221,0.0496 0.0501,0.0496 H 206.58193 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -5.95003 h 2.94969 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -6.00016 c 0,-0.028 -0.0221,-0.0501 -0.0501,-0.0501 h -2.94969 v -5.8999 h 2.94969 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -5.99963 c 0,-0.028 -0.0221,-0.0501 -0.0501,-0.0501 h -2.94969 v -5.89989 h 2.94969 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -6.00015 c 0,-0.028 -0.0221,-0.0496 -0.0501,-0.0496 h -2.94969 v -5.90041 h 2.94969 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -6.00015 c 0,-0.028 -0.0221,-0.0501 -0.0501,-0.0501 h -2.94969 v -5.8999 h 2.94969 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -6.00015 c 0,-0.028 -0.0221,-0.0496 -0.0501,-0.0496 h -2.94969 v -5.95002 c 0,-0.028 -0.0221,-0.0501 -0.0501,-0.0501 H 39.552848 v 8.86923 h -10.97091 v -8.86935 z" />
 +
</svg>
 +
 
 +
===Code Arduino===
 
<syntaxhighlight lang="Arduino" line>  
 
<syntaxhighlight lang="Arduino" line>  
#define PIN 9
+
#include <WiFi.h>
#include <Arduino_GFX_Library.h>
+
#include <time.h>
 +
 
 +
// NTP server and timezone settings
 +
const char* ntpServer = "0.fr.pool.ntp.org";
 +
 
 +
// Define daytime range (24-hour format)
 +
const int dayStartHour = 6;  // 06:00
 +
const int dayEndHour  = 18;  // 18:00
 +
 
 +
//WIFI
 +
const char ssid = "Formation";
 +
const charpassword = "Apdgo29200!";
 +
uint32_t last_ota_time = 0;
 +
 
 +
//Arduino
 +
const uint8_t pinLight = 13;
 +
bool on = 0;
 +
 
 +
//return if it is daytime
 +
int isDay() {
 +
  struct tm timeinfo;
 +
  if (!getLocalTime(&timeinfo)) {
 +
    Serial.println("Failed to obtain time");
 +
    delay(2000);
 +
    return -1;
 +
  }
 +
 
 +
  // Print current time
 +
  Serial.printf("Current time: %02d:%02d:%02d\n",
 +
                timeinfo.tm_hour, timeinfo.tm_min, timeinfo.tm_sec);
 +
 
 +
  // Determine if it's daytime
 +
  if (timeinfo.tm_hour >= dayStartHour && timeinfo.tm_hour < dayEndHour) {
 +
    Serial.println("It is DAYTIME ☀️");
 +
    return 1;
 +
  } else {
 +
    Serial.println("It is NIGHTTIME 🌙");
 +
    return 0;
 +
  }
 +
}
  
 
void setup() {
 
void setup() {
   // put your setup code here, to run once:
+
   Serial.begin(115200);
 +
 
 +
  WiFi.begin(ssid, password);
 +
  Serial.println("\nConnecting to WiFi...");
 +
 
 +
  while (WiFi.status() != WL_CONNECTED) {
 +
    Serial.print(".");
 +
    delay(500);
 +
  }
  
 +
  Serial.println("\nConnected to WiFi!");
 +
  Serial.print("ESP32 IP Address: ");
 +
  Serial.println(WiFi.localIP());
 +
 +
  // Configure NTP
 +
  configTime(0, 0, ntpServer);
 +
  setenv("TZ", "CET-1CEST,M3.5.0/2,M10.5.0/3", 1);
 +
  tzset();
 +
 +
  pinMode(pinLight, OUTPUT);
 
}
 
}
  
 
void loop() {
 
void loop() {
 
   // put your main code here, to run repeatedly:
 
   // put your main code here, to run repeatedly:
 
+
  int status = isDay();
 +
  if (status == 1) {
 +
    digitalWrite(pinLight, HIGH);
 +
  }
 +
  else if (status == 0) {
 +
    digitalWrite(pinLight, LOW);
 +
  }
 +
  else {
 +
    Serial.println("Errror : Time error");
 +
  }
 +
  delay(20000); //wait 20 seconds
 
}
 
}
  
Ligne 54 : Ligne 622 :
 
==Étapes de fabrication==
 
==Étapes de fabrication==
  
===étape 1=== Modélisation du capteur sur schéma papier.
+
=== Étape 1 : Modélisation du capteur sur schéma papier. === 
  
On effectue un schéma sur papier approximatif du capteur de lumière. Le modèle utilisera des LED rouges.
+
On effectue un schéma sur papier approximatif du capteur de lumière. Le modèle utilisera une LED rouge.
  
===étape 2=== Codage en Arduino.
+
[[Fichier:Papier.jpg|200px]]
 +
 
 +
===Étape 2 : Codage en Arduino. ===
  
 
On code sur la carte ESP-32 à l'aide du logiciel Arduino. (Pour le code en détail voir la rubrique correspondante).
 
On code sur la carte ESP-32 à l'aide du logiciel Arduino. (Pour le code en détail voir la rubrique correspondante).
  
===étape 3=== Découpage du carton.
+
[[Fichier:614639134 1209835074006013 4843712811120666622 n.jpg|200px]]
  
Le carton est découpé au cutter, avec les faces principales carrées et les faces latérales rectangulaires.
+
=== Étape 3 : Fabrication du montage avec la LED. ===
 +
 
 +
Sur la plaque Labdec, on fabrique le montage avec la carte ESP-32, une LED, une résistance et des câbles Mâle-Femelle.
 +
 
 +
[[Fichier:Montage27736.jpg|200px]]
 +
 
 +
===Étape 4 : Découpage test. ===
 +
 
 +
Le carton est découpé au cutter, avec les faces principales carrées et les faces latérales rectangulaires. Cela nous sert à obtenir les dimensions souhaitées pour modéliser
 +
les faces (centrales et latérales) du capteur comme ci-dessous. Les dimensions du capteur sont de 20×20×6,6cm.
 +
 
 +
 
 +
[[Fichier:1000008170.jpg|200px]]
 +
 
 +
=== Étape 5 : Découpage et Assemblage du capteur. ===
 +
 
 +
 
 +
On utilise la découpeuse laser pour découper les faces à l'aide des dimensions mesurées et vérifiées dans l'étape précédente.
 +
Les faces sont ensuite assemblées et consolidées grâce à de la colle forte venant du pistolet à colle.
 +
 
 +
On imprime puis découpe les images correspondant aux côtés du capteur, pour les coller sur chacune des faces latérales.
 +
Pour la face du dessus, on dessine et colorie sur papier calque, puis on place sur la face du dessus.
 +
 
 +
[[Fichier:Daylight1 2.png|200px]]
 +
[[Fichier:Daylight2 2.png|200px]]
  
 
===Troubleshouting===
 
===Troubleshouting===
  
 
La plupart de nos difficultés étaient en lien avec la carte ESP-32 et le logiciel Arduino, qui étaient très compliqués à connecter sur un PC. Nous avons dû utiliser plusieurs stratégies, telles que changer de module, de connexion Internet, etc...
 
La plupart de nos difficultés étaient en lien avec la carte ESP-32 et le logiciel Arduino, qui étaient très compliqués à connecter sur un PC. Nous avons dû utiliser plusieurs stratégies, telles que changer de module, de connexion Internet, etc...
 +
 +
On avait initialement prévu que le montage comporte 9 LEDs (Pour correspondre au bloc), mais il s'est révélé impossible d'alimenter les neuf en même temps, nous avons au final utilisé une seule pour le prototype final.
 +
 +
[[Fichier:Montage7913524.jpg|200px]]
  
 
==Sources et documentation complémentaire==
 
==Sources et documentation complémentaire==

Version actuelle datée du 20 janvier 2026 à 16:10


Fini.jpg

Introduction

Pour ceux qui ont déjà joué au jeu très connu Minecraft, cet objet vous paraîtra peut-être familier : il s'agit d'un capteur de lumière, comme représenté ci- dessous.


Capteur de nuit.png



Son fonctionnement dans le jeu est très simple : quand il fait jour, le capteur va s'allumer, et quand il fait nuit, le capteur s'éteint. Il peut également être utilisé pour créer des mécanismes plus complexes, comme l'ouverture de portes par exemple.

Ici nous allons uniquement reprendre le concept d'allumage, on ne créera pas de système compliqué. Notre capteur va donc reprendre l'heure locale sur Internet et s'allumer quand il fait jour, ou s'éteindre quand il fait nuit.

Outils et Matériel utilisés

Nous utilisons le matériel suivant :

  • Une carte ESP-32-WROOM
  • Du carton
  • Des plaques Labdec
  • Des câbles Mâle-Femelle
  • Une LED
  • Une résistance
  • De la colle forte
  • Du papier calque
  • Crayons de couleur


Nous utilisons les outils suivants :

  • Cutter
  • Découpeuse Laser
  • Règle
  • Pistolet à colle
  • Équerre
  • Ciseaux

Fichiers à joindre

Code pour la découpe laser

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg

  height="600mm"
  viewBox="0 0 299.99999 600.00001"
  width="300mm"
  version="1.1"
  id="svg66"
  sodipodi:docname="ABox.svg"
  inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
  xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
  xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:svg="http://www.w3.org/2000/svg"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:cc="http://creativecommons.org/ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/">
 <defs
    id="defs66" />
 <sodipodi:namedview
    id="namedview66"
    pagecolor="#505050"
    bordercolor="#eeeeee"
    borderopacity="1"
    inkscape:showpageshadow="0"
    inkscape:pageopacity="0"
    inkscape:pagecheckerboard="0"
    inkscape:deskcolor="#505050"
    inkscape:document-units="mm"
    inkscape:zoom="3.0146313"
    inkscape:cx="430.73261"
    inkscape:cy="1327.3597"
    inkscape:window-width="1920"
    inkscape:window-height="974"
    inkscape:window-x="-11"
    inkscape:window-y="-11"
    inkscape:window-maximized="1"
    inkscape:current-layer="svg66" />
 <title
    id="title1">ABox</title>
 <metadata
    id="metadata1">
   <rdf:RDF>
     <cc:Work>
       <dc:title>ABox</dc:title>
       <dc:date>2026-01-20 10:18:37</dc:date>
       <dc:source>https://boxes.hackerspace-bamberg.de/ABox?FingerJoint_style=rectangular&FingerJoint_surroundingspaces=2.0&FingerJoint_bottom_lip=0.0&FingerJoint_edge_width=1.0&FingerJoint_extra_length=0.0&FingerJoint_finger=2.0&FingerJoint_play=0.0&FingerJoint_space=2.0&FingerJoint_width=1.0&Lid_handle=none&Lid_style=none&Lid_handle_height=8.0&Lid_height=4.0&Lid_play=0.1&x=200&y=200&h=66&outside=0&outside=1&bottom_edge=h&thickness=3.0&burn=0.05&format=svg&labels=0&labels=1&reference=100.0&tabs=0.0&qr_code=0&inner_corners=loop&spacing=0.5&debug=0&language=fr&render=2</dc:source>
       <dc:source>https://boxes.hackerspace-bamberg.de/ABox?x=200&y=200&h=66&burn=0.05&spacing=0.5</dc:source>
       <dc:description>A simple Box

This box is kept simple on purpose. If you need more features have a look at the UniversalBox.

Created with Boxes.py (https://boxes.hackerspace-bamberg.de/) Command line: boxes ABox --FingerJoint_style=rectangular --FingerJoint_surroundingspaces=2.0 --FingerJoint_bottom_lip=0.0 --FingerJoint_edge_width=1.0 --FingerJoint_extra_length=0.0 --FingerJoint_finger=2.0 --FingerJoint_play=0.0 --FingerJoint_space=2.0 --FingerJoint_width=1.0 --Lid_handle=none --Lid_style=none --Lid_handle_height=8.0 --Lid_height=4.0 --Lid_play=0.1 --x=200 --y=200 --h=66 --outside=0 --outside=1 --bottom_edge=h --thickness=3.0 --burn=0.05 --format=svg --labels=0 --labels=1 --reference=100.0 --tabs=0.0 --qr_code=0 --inner_corners=loop --spacing=0.5 --debug=0 Command line short: boxes ABox --x=200 --y=200 --h=66 --burn=0.05 --spacing=0.5 Url: https://boxes.hackerspace-bamberg.de/ABox?FingerJoint_style=rectangular&FingerJoint_surroundingspaces=2.0&FingerJoint_bottom_lip=0.0&FingerJoint_edge_width=1.0&FingerJoint_extra_length=0.0&FingerJoint_finger=2.0&FingerJoint_play=0.0&FingerJoint_space=2.0&FingerJoint_width=1.0&Lid_handle=none&Lid_style=none&Lid_handle_height=8.0&Lid_height=4.0&Lid_play=0.1&x=200&y=200&h=66&outside=0&outside=1&bottom_edge=h&thickness=3.0&burn=0.05&format=svg&labels=0&labels=1&reference=100.0&tabs=0.0&qr_code=0&inner_corners=loop&spacing=0.5&debug=0&language=fr&render=2 Url short: https://boxes.hackerspace-bamberg.de/ABox?x=200&y=200&h=66&burn=0.05&spacing=0.5 SettingsUrl: https://boxes.hackerspace-bamberg.de/ABox?FingerJoint_style=rectangular&FingerJoint_surroundingspaces=2.0&FingerJoint_bottom_lip=0.0&FingerJoint_edge_width=1.0&FingerJoint_extra_length=0.0&FingerJoint_finger=2.0&FingerJoint_play=0.0&FingerJoint_space=2.0&FingerJoint_width=1.0&Lid_handle=none&Lid_style=none&Lid_handle_height=8.0&Lid_height=4.0&Lid_play=0.1&x=200&y=200&h=66&outside=0&outside=1&bottom_edge=h&thickness=3.0&burn=0.05&format=svg&labels=0&labels=1&reference=100.0&tabs=0.0&qr_code=0&inner_corners=loop&spacing=0.5&debug=0&language=fr&render=2 SettingsUrl short: https://boxes.hackerspace-bamberg.de/ABox?x=200&y=200&h=66&burn=0.05&spacing=0.5 </dc:description>

     </cc:Work>
   </rdf:RDF>
 </metadata>
 <g
    id="p-1"
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1">
   <path
      d="M 26.05,342.2 H 23.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 29 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path2"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 38.05,342.2 H 35.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 41 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path3"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 50.05,342.2 H 47.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 53 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path4"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 62.05,342.2 H 59.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 65 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path5"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 74.05,342.2 H 71.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 77 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path6"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 86.05,342.2 H 83.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 89 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path7"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 98.05,342.2 H 95.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path8"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 110.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path9"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 122.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path10"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 134.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path11"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 146.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path12"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 158.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path13"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 170.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path14"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 182.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path15"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 194.05,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path16"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 13.05,345.3 h 194 3 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -3 -194 -3 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 z"
      stroke="#000000"
      stroke-width="0.10"
      id="path17"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 </g>
 <g
    id="p-2"
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1">
   <path
      d="M 26.05,274.6 H 23.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 29 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path18"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 38.05,274.6 H 35.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 41 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path19"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 50.05,274.6 H 47.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 53 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path20"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 62.05,274.6 H 59.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 65 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path21"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 74.05,274.6 H 71.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 77 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path22"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 86.05,274.6 H 83.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 H 89 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path23"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="M 98.05,274.6 H 95.1 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path24"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 110.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path25"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 122.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path26"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 134.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path27"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 146.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path28"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 158.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path29"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 170.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path30"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 182.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path31"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 194.05,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path32"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 13.05,277.7 h 194 3 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -3 -194 -3 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 H 13 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 z"
      stroke="#000000"
      stroke-width="0.10"
      id="path33"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 </g>
 <g
    id="p-3"
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1">
   <path
      id="path34"
      d="m 23.049756,9.9999064 c -0.028,0 -0.04961,0.022127 -0.04961,0.050127 v 2.950207 h -9.950297 c -0.028,0 -0.04961,0.02161 -0.04961,0.04961 v 9.950297 h -2.950207 c -0.028,0 -0.050127,0.02161 -0.050127,0.04961 v 6.00015 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899898 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 6.000151 c 0,0.028 0.022127,0.04961 0.050127,0.04961 h 2.950207 v 5.900415 h -2.950207 c -0.028,0 -0.050127,0.02161 -0.050127,0.04961 v 6.000151 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899898 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 5.999634 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899899 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 6.00015 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899899 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 5.999634 c 0,0.028 0.022127,0.05013 0.050127,0.05013 h 2.950207 v 5.899898 h -2.950207 c -0.028,0 -0.050127,0.02213 -0.050127,0.05013 v 6.000146 c 0,0.028 0.022127,0.0496 0.050127,0.0496 h 2.950207 v 5.90042 h -2.950207 c -0.028,0 -0.050127,0.0216 -0.050127,0.0496 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 6.00015 c 0,0.028 0.022127,0.0496 0.050127,0.0496 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 5.99964 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0216 -0.050127,0.0496 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 5.8999 h -2.950207 c -0.028,0 -0.050127,0.0221 -0.050127,0.0501 v 6.00015 c 0,0.028 0.022127,0.0496 0.050127,0.0496 h 2.950207 v 5.90042 h -2.950207 c -0.028,0 -0.050127,0.0216 -0.050127,0.0496 v 6.00015 c 0,0.028 0.022127,0.0501 0.050127,0.0501 h 2.950207 v 9.94978 c 0,0.028 0.02161,0.0501 0.04961,0.0501 h 9.950297 v 2.95021 c 0,0.028 0.02161,0.0496 0.04961,0.0496 h 6.00015 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899898 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 6.000151 c 0.028,0 0.04961,-0.0216 0.04961,-0.0496 v -2.95021 h 5.900415 v 2.95021 c 0,0.028 0.02161,0.0496 0.04961,0.0496 h 6.000151 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899898 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 5.999634 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899899 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 6.00015 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899899 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 5.999634 c 0.028,0 0.05013,-0.0216 0.05013,-0.0496 v -2.95021 h 5.899898 v 2.95021 c 0,0.028 0.02213,0.0496 0.05013,0.0496 h 6.000147 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -2.95021 h 5.90042 v 2.95021 c 0,0.028 0.0216,0.0496 0.0496,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 6.00015 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 5.99964 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0216,0.0496 0.0496,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 5.8999 v 2.95021 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 6.00015 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -2.95021 h 5.90042 v 2.95021 c 0,0.028 0.0216,0.0496 0.0496,0.0496 h 6.00015 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -2.95021 h 9.94978 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -9.94978 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0496 -0.0496,-0.0496 h -2.95021 v -5.90042 h 2.95021 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -6.00015 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0496 -0.0496,-0.0496 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -5.99964 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -6.00015 c 0,-0.028 -0.0216,-0.0501 -0.0496,-0.0501 h -2.95021 v -5.8999 h 2.95021 c 0.028,0 0.0496,-0.0221 0.0496,-0.0501 v -6.00015 c 0,-0.028 -0.0216,-0.0496 -0.0496,-0.0496 h -2.95021 v -5.90042 h 2.95021 c 0.028,0 0.0496,-0.0216 0.0496,-0.0496 v -6.000146 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899898 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 v -5.999634 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899899 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 v -6.00015 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899899 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 V 59.05016 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899898 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 v -6.000151 c 0,-0.028 -0.0216,-0.04961 -0.0496,-0.04961 h -2.95021 v -5.900415 h 2.95021 c 0.028,0 0.0496,-0.02161 0.0496,-0.04961 v -6.000151 c 0,-0.028 -0.0216,-0.05013 -0.0496,-0.05013 h -2.95021 v -5.899898 h 2.95021 c 0.028,0 0.0496,-0.02213 0.0496,-0.05013 v -6.00015 c 0,-0.028 -0.0216,-0.04961 -0.0496,-0.04961 h -2.95021 V 13.04985 c 0,-0.028 -0.0221,-0.04961 -0.0501,-0.04961 h -9.94978 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0496,0.022127 -0.0496,0.050127 v 2.950207 h -5.90042 v -2.950207 c 0,-0.028 -0.0216,-0.050127 -0.0496,-0.050127 h -6.00015 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0496,0.022127 -0.0496,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -5.99964 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0216,-0.050127 -0.0496,-0.050127 h -6.00015 c -0.028,0 -0.0501,0.022127 -0.0501,0.050127 v 2.950207 h -5.8999 v -2.950207 c 0,-0.028 -0.0221,-0.050127 -0.0501,-0.050127 h -6.00015 c -0.028,0 -0.0496,0.022127 -0.0496,0.050127 v 2.950207 h -5.90042 v -2.950207 c 0,-0.028 -0.0216,-0.050127 -0.0496,-0.050127 h -6.000147 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899898 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 h -5.999634 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899899 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 h -6.00015 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899899 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 h -5.999634 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899898 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 H 47.04985 c -0.028,0 -0.04961,0.022127 -0.04961,0.050127 v 2.950207 h -5.900415 v -2.950207 c 0,-0.028 -0.02161,-0.050127 -0.04961,-0.050127 h -6.000151 c -0.028,0 -0.05013,0.022127 -0.05013,0.050127 v 2.950207 h -5.899898 v -2.950207 c 0,-0.028 -0.02213,-0.050127 -0.05013,-0.050127 z M 30.025041,30.025041 H 189.97497 V 189.97497 H 30.025041 Z"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 </g>
 <g
    id="p-4"
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1"
    transform="translate(-202.06806,142.98674)">
   <path
      d="m 227.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path35"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 239.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path36"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 251.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path37"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 263.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path38"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 275.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path39"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 287.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path40"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 299.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path41"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 311.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path42"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 323.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path43"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 335.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path44"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 347.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path45"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 359.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path46"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 371.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path47"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 383.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path48"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 395.65,342.2 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path49"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 214.65,345.3 h 194 c 0.028,0 0.05,-0.022 0.05,-0.05 v -5.95 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.9 c 0,-0.05 -0.05,0 0,0 h 2.95 c 0.028,0 0.05,-0.022 0.05,-0.05 v -6 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -2.95 c -0.05,0 0,0.05 0,0 v -5.95 c 0,-0.028 -0.022,-0.05 -0.05,-0.05 h -194 c -0.028,0 -0.05,0.022 -0.05,0.05 v 5.95 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.9 c 0,0.05 0.05,0 0,0 h -2.95 c -0.028,0 -0.05,0.022 -0.05,0.05 v 6 c 0,0.028 0.022,0.05 0.05,0.05 h 2.95 c 0.05,0 0,-0.05 0,0 v 5.95 c 0,0.028 0.022,0.05 0.05,0.05 z"
      stroke="#000000"
      stroke-width="0.10"
      id="path50"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 </g>
 <g
    id="p-5"
    style="fill:none;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1"
    transform="translate(-202.06806,142.98674)">
   <path
      d="m 227.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path51"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 239.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path52"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 251.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path53"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 263.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path54"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 275.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path55"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 287.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path56"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 299.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path57"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 311.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path58"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 323.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path59"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 335.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path60"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 347.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path61"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 359.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path62"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 371.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path63"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 383.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path64"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
   <path
      d="m 395.65,274.6 h -2.95 c -0.05,0 0,0.05 0,0 v -2.9 c 0,-0.05 -0.05,0 0,0 h 5.9 c 0.05,0 0,-0.05 0,0 v 2.9 c 0,0.05 0.05,0 0,0 z"
      stroke="#0000ff"
      stroke-width="0.10"
      id="path65"
      style="fill:none;stroke-width:0.05;stroke-dasharray:none;stroke:#ff0000;stroke-opacity:1" />
 </g>
 <path
    id="path66"
    style="fill:none;stroke:#ff0000;stroke-width:0.05;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
    d="m 12.581888,354.58674 c -0.028,0 -0.0501,0.0221 -0.0501,0.0501 v 5.95002 H 9.5820984 c -0.028,0 -0.0501,0.0216 -0.0501,0.0496 v 6.00015 c 0,0.028 0.0221,0.0501 0.0501,0.0501 h 2.9496896 v 5.8999 H 9.5820984 c -0.028,0 -0.0501,0.0221 -0.0501,0.0501 v 6.00015 c 0,0.028 0.0221,0.0496 0.0501,0.0496 h 2.9496896 v 5.90041 H 9.5820984 c -0.028,0 -0.0501,0.0216 -0.0501,0.0496 v 6.00027 c 0,0.028 0.0221,0.0501 0.0501,0.0501 h 2.9496896 v 5.89989 H 9.5820984 c -0.028,0 -0.0501,0.0221 -0.0501,0.0501 v 5.99963 c 0,0.028 0.0221,0.0501 0.0501,0.0501 h 2.9496896 v 5.8999 H 9.5820984 c -0.028,0 -0.0501,0.0221 -0.0501,0.0501 v 6.00016 c 0,0.028 0.0221,0.0501 0.0501,0.0501 h 2.9496896 v 5.95003 c 0,0.028 0.0221,0.0496 0.0501,0.0496 H 206.58193 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -5.95003 h 2.94969 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -6.00016 c 0,-0.028 -0.0221,-0.0501 -0.0501,-0.0501 h -2.94969 v -5.8999 h 2.94969 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -5.99963 c 0,-0.028 -0.0221,-0.0501 -0.0501,-0.0501 h -2.94969 v -5.89989 h 2.94969 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -6.00015 c 0,-0.028 -0.0221,-0.0496 -0.0501,-0.0496 h -2.94969 v -5.90041 h 2.94969 c 0.028,0 0.0501,-0.0216 0.0501,-0.0496 v -6.00015 c 0,-0.028 -0.0221,-0.0501 -0.0501,-0.0501 h -2.94969 v -5.8999 h 2.94969 c 0.028,0 0.0501,-0.0221 0.0501,-0.0501 v -6.00015 c 0,-0.028 -0.0221,-0.0496 -0.0501,-0.0496 h -2.94969 v -5.95002 c 0,-0.028 -0.0221,-0.0501 -0.0501,-0.0501 H 39.552848 v 8.86923 h -10.97091 v -8.86935 z" />

</svg>

Code Arduino

 1  
 2 #include <WiFi.h>
 3 #include <time.h>
 4 
 5 // NTP server and timezone settings
 6 const char* ntpServer = "0.fr.pool.ntp.org";
 7 
 8 // Define daytime range (24-hour format)
 9 const int dayStartHour = 6;   // 06:00
10 const int dayEndHour   = 18;  // 18:00
11 
12 //WIFI 
13 const char ssid = "Formation";
14 const charpassword = "Apdgo29200!";
15 uint32_t last_ota_time = 0;
16 
17 //Arduino
18 const uint8_t pinLight = 13;
19 bool on = 0;
20 
21 //return if it is daytime
22 int isDay() {
23   struct tm timeinfo;
24   if (!getLocalTime(&timeinfo)) {
25     Serial.println("Failed to obtain time");
26     delay(2000);
27     return -1;
28   }
29 
30   // Print current time
31   Serial.printf("Current time: %02d:%02d:%02d\n", 
32                 timeinfo.tm_hour, timeinfo.tm_min, timeinfo.tm_sec);
33 
34   // Determine if it's daytime
35   if (timeinfo.tm_hour >= dayStartHour && timeinfo.tm_hour < dayEndHour) {
36     Serial.println("It is DAYTIME ☀️");
37     return 1;
38   } else {
39     Serial.println("It is NIGHTTIME 🌙");
40     return 0;
41   }
42 }
43 
44 void setup() {
45   Serial.begin(115200);
46 
47   WiFi.begin(ssid, password);
48   Serial.println("\nConnecting to WiFi...");
49 
50   while (WiFi.status() != WL_CONNECTED) {
51     Serial.print(".");
52     delay(500);
53   }
54 
55   Serial.println("\nConnected to WiFi!");
56   Serial.print("ESP32 IP Address: ");
57   Serial.println(WiFi.localIP());
58 
59   // Configure NTP
60   configTime(0, 0, ntpServer);
61   setenv("TZ", "CET-1CEST,M3.5.0/2,M10.5.0/3", 1);
62   tzset();
63 
64   pinMode(pinLight, OUTPUT);
65 }
66 
67 void loop() {
68   // put your main code here, to run repeatedly:
69   int status = isDay();
70   if (status == 1) {
71     digitalWrite(pinLight, HIGH);
72   }
73   else if (status == 0) {
74     digitalWrite(pinLight, LOW);
75   }
76   else {
77     Serial.println("Errror : Time error");
78   }
79   delay(20000); //wait 20 seconds
80 }

Étapes de fabrication

Étape 1 : Modélisation du capteur sur schéma papier.

On effectue un schéma sur papier approximatif du capteur de lumière. Le modèle utilisera une LED rouge.

Papier.jpg

Étape 2 : Codage en Arduino.

On code sur la carte ESP-32 à l'aide du logiciel Arduino. (Pour le code en détail voir la rubrique correspondante).

614639134 1209835074006013 4843712811120666622 n.jpg

Étape 3 : Fabrication du montage avec la LED.

Sur la plaque Labdec, on fabrique le montage avec la carte ESP-32, une LED, une résistance et des câbles Mâle-Femelle.

Montage27736.jpg

Étape 4 : Découpage test.

Le carton est découpé au cutter, avec les faces principales carrées et les faces latérales rectangulaires. Cela nous sert à obtenir les dimensions souhaitées pour modéliser les faces (centrales et latérales) du capteur comme ci-dessous. Les dimensions du capteur sont de 20×20×6,6cm.


1000008170.jpg

Étape 5 : Découpage et Assemblage du capteur.

On utilise la découpeuse laser pour découper les faces à l'aide des dimensions mesurées et vérifiées dans l'étape précédente. Les faces sont ensuite assemblées et consolidées grâce à de la colle forte venant du pistolet à colle.

On imprime puis découpe les images correspondant aux côtés du capteur, pour les coller sur chacune des faces latérales. Pour la face du dessus, on dessine et colorie sur papier calque, puis on place sur la face du dessus.

Daylight1 2.png Daylight2 2.png

Troubleshouting

La plupart de nos difficultés étaient en lien avec la carte ESP-32 et le logiciel Arduino, qui étaient très compliqués à connecter sur un PC. Nous avons dû utiliser plusieurs stratégies, telles que changer de module, de connexion Internet, etc...

On avait initialement prévu que le montage comporte 9 LEDs (Pour correspondre au bloc), mais il s'est révélé impossible d'alimenter les neuf en même temps, nous avons au final utilisé une seule pour le prototype final.

Montage7913524.jpg

Sources et documentation complémentaire

  • Rédаctiоn et illustratiоn :

Pоur tоus vоs trаvauх, qu'ils sоient écrits оu visuels, l'utilisatiоn de l'intеlligеnce artificiеllе générativе, que сe sоit pоur le teхte оu les images, n'еst pas conseillé.

  • Prоgrammаtiоn :

En сe qui cоncernе la prоgrаmmatiоn, il est еssentiеl de ne pаs faire dе l'IA vоtrе prеmier rеcоurs. Cоncеntrеz-vоus d'abоrd sur vоtre prоpre lоgiquе, votre experience еt lеs ressоurcеs disponibles.

  • Transpаrence et dосumеntatiоn :

Si vоus utilisеz l'IA pоur déblоquer оu améliоrеr une pаrtiе de vоtre cоdе, il est cruciаl de l'indiquеr сlairеmеnt dans vоtre dосumentatiоn tеchniquе.

  • Traçabilité :

Chаque ехtrait de cоde généré avес l'аidе de l'IA dоit êtrе accоmpagné de la sоurce, ainsi que du prоmpt eхact qui a été utilisé pоur sа créatiоn, afin d'аssurеr une évaluatiоn clаire dе vоtre prоcessus.

Elément de présentation

je met ici le document de présentation de mon projet

ne pas modifier sous cette ligne