LED RACER : Différence entre versions

 
(10 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
 
{{Tuto Details
 
{{Tuto Details
|Main_Picture=LED_RACER_IMG_20210725_105830.jpg
+
|Main_Picture=LED_RACER_IMG_20210725_130431.jpg
 
|Licences=Attribution (CC-BY)
 
|Licences=Attribution (CC-BY)
 
|Description=Courses de lumières sur guirlande de LED
 
|Description=Courses de lumières sur guirlande de LED
Ligne 9 : Ligne 9 :
 
}}
 
}}
 
{{Introduction
 
{{Introduction
|Introduction=Le led racer est inspiré du projet OPENLEDRACE.
+
|Introduction=Le led racer est inspiré du projet OPENLEDRACE. Une course de led sur guirlande programmable
  
 
Il s'agit d'un boitier, mais aussi d'une diversité de manettes, qui constituent le véritable intérêt d'expérimentation du jeu !
 
Il s'agit d'un boitier, mais aussi d'une diversité de manettes, qui constituent le véritable intérêt d'expérimentation du jeu !
  
 
de 2 à 4 joueurs
 
de 2 à 4 joueurs
 +
}}
 +
{{TutoVideo
 +
|VideoType=Mp4
 +
|mp4video=racer video
 
}}
 
}}
 
{{Materials
 
{{Materials
Ligne 31 : Ligne 35 :
 
|Item=Bois
 
|Item=Bois
 
}}{{ItemList
 
}}{{ItemList
|Item=Condensateur
+
|Item=Câble USB - micro-USB
 +
}}
 +
|Prerequisites={{Prerequisites
 +
|Prerequisites=Initiation à la soudure
 +
}}{{Prerequisites}}
 +
|Tuto_Attachments={{Tuto Attachments
 +
|Attachment=LED_RACER_led_race_4_joueurs_ino_300leds.ino
 +
}}{{Tuto Attachments
 +
|Attachment=LED_RACER_LED_RACE_V5.ino
 +
}}
 +
|ExternalAttachmentsLinks={{ExternalAttachmentsLinks
 +
|ExternalAttachmentsLinks=https://create.arduino.cc/editor/zabern/eadfd3dc-693f-4161-bb39-d9aa35522e26/preview
 +
}}
 
}}
 
}}
 +
{{Tuto Step
 +
|Step_Title=led racer en action !
 +
|Step_Picture_00=Course_en_cours_led_racer.mp4
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 72 : Ligne 91 :
 
- Pistolet à colle
 
- Pistolet à colle
 
|Step_Picture_00=LED_RACER_IMG_20210719_200513.jpg
 
|Step_Picture_00=LED_RACER_IMG_20210719_200513.jpg
|Step_Picture_00_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":-0.21,"width":3122,"height":2250,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.19,"scaleY":0.19,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/5/50/LED_RACER_IMG_20210719_200513.jpg","filters":[]},{"type":"wfellipse","version":"3.5.0","originX":"center","originY":"center","left":364.01,"top":231.99,"width":99.41,"height":99.41,"fill":"rgba(255,0,0,0)","stroke":"#FFF600","strokeWidth":2,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"rx":49.70601609609194,"ry":49.70601609609194},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":369,"top":228,"width":62.26,"height":48.82,"fill":"#000000","stroke":"#000000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"+ Haut\nparleur","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} },{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":310,"top":43,"width":73.39,"height":48.82,"fill":"#FFF600","stroke":"#FFF600","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Boutons ","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":432,"width":600}
+
|Step_Picture_00_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":-0.21,"width":3122,"height":2250,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.19,"scaleY":0.19,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/5/50/LED_RACER_IMG_20210719_200513.jpg","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":369,"top":228,"width":62.26,"height":48.82,"fill":"#000000","stroke":"#000000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"+ Haut\nparleur","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} },{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":310,"top":43,"width":73.39,"height":48.82,"fill":"#FFF600","stroke":"#FFF600","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Boutons ","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} },{"type":"wfellipse","version":"3.5.0","originX":"center","originY":"center","left":364.01,"top":231.99,"width":99.41,"height":99.41,"fill":"rgba(255,0,0,0)","stroke":"#FFF600","strokeWidth":2,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"rx":49.70601609609194,"ry":49.70601609609194},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":301.38,"top":396.25,"width":79.32,"height":22.6,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":3.24,"scaleY":3.24,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Matériel","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":432,"width":600}
 
|Step_Picture_01=LED_RACER_IMG_20210719_200618.jpg
 
|Step_Picture_01=LED_RACER_IMG_20210719_200618.jpg
 +
|Step_Picture_01_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":0.25,"width":4000,"height":2250,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.15,"scaleY":0.15,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/0/0f/LED_RACER_IMG_20210719_200618.jpg","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":358.24,"top":286.46,"width":51.12,"height":22.6,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":3.5,"scaleY":3.5,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Outils","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":338,"width":600}
 
|Step_Picture_02=LED_RACER_IMG_20210719_200646.jpg
 
|Step_Picture_02=LED_RACER_IMG_20210719_200646.jpg
 +
|Step_Picture_02_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":600,"top":0.25,"width":2250,"height":4000,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.15,"scaleY":0.15,"angle":90,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/9/92/LED_RACER_IMG_20210719_200646.jpg","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":159.23,"top":138.97,"width":73.37,"height":48.82,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":2.61,"scaleY":2.61,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Ma Boite ?","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":338,"width":600}
 
|Step_Picture_03=LED_RACER_IMG_20210725_105321.jpg
 
|Step_Picture_03=LED_RACER_IMG_20210725_105321.jpg
 +
|Step_Picture_03_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":0.25,"width":4000,"height":2250,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.15,"scaleY":0.15,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/0/02/LED_RACER_IMG_20210725_105321.jpg","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":365.94,"top":199.14,"width":58.93,"height":22.6,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":2.59,"scaleY":2.59,"angle":346.23,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Option","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":338,"width":600}
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 125 : Ligne 147 :
 
|Step_Picture_00=LED_RACER_Untitled_Sketch_bb.png
 
|Step_Picture_00=LED_RACER_Untitled_Sketch_bb.png
 
|Step_Picture_01=LED_RACER_IMG_20210725_105924.jpg
 
|Step_Picture_01=LED_RACER_IMG_20210725_105924.jpg
 +
|Step_Picture_01_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":600,"top":0.25,"width":2250,"height":4000,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.15,"scaleY":0.15,"angle":90,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/7/75/LED_RACER_IMG_20210725_105924.jpg","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":147.3,"top":214.19,"width":82.29,"height":48.82,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":3.1,"scaleY":3.1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Prise guirlande","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":338,"width":600}
 
|Step_Picture_02=LED_RACER_IMG_20210725_105938.jpg
 
|Step_Picture_02=LED_RACER_IMG_20210725_105938.jpg
 +
|Step_Picture_02_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":0.25,"width":4000,"height":2250,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.15,"scaleY":0.15,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/d/df/LED_RACER_IMG_20210725_105938.jpg","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":156.87,"top":240.57,"width":122.78,"height":48.82,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1.58,"scaleY":1.58,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Cable d'alimentation","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":338,"width":600}
 
|Step_Picture_03=LED_RACER_IMG_20210725_105908.jpg
 
|Step_Picture_03=LED_RACER_IMG_20210725_105908.jpg
 +
|Step_Picture_03_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":600,"top":0.25,"width":2250,"height":4000,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.15,"scaleY":0.15,"angle":90,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/6/66/LED_RACER_IMG_20210725_105908.jpg","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":300.19,"top":176,"width":198.65,"height":48.82,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Prises boutons et interrupteur allumage","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":338,"width":600}
 
|Step_Picture_04=LED_RACER_IMG_20210725_110006.jpg
 
|Step_Picture_04=LED_RACER_IMG_20210725_110006.jpg
 
}}
 
}}
Ligne 160 : Ligne 185 :
 
'''A défaut, voici aussi un plan découpe laser  : )'''
 
'''A défaut, voici aussi un plan découpe laser  : )'''
 
|Step_Picture_00=LED_RACER_IMG_20210725_105908.jpg
 
|Step_Picture_00=LED_RACER_IMG_20210725_105908.jpg
 +
|Step_Picture_00_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":600,"top":0.25,"width":2250,"height":4000,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.15,"scaleY":0.15,"angle":90,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/6/66/LED_RACER_IMG_20210725_105908.jpg","filters":[]}],"height":338,"width":600}
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
Ligne 187 : Ligne 213 :
 
|Step_Title=Uploader le code
 
|Step_Title=Uploader le code
 
|Step_Content=Le logiciel permettant de téléverser le code est disponible en ligne. Je vous le conseil largement. Aucun problème de compatibilité,  plus simple à utiliser que le logiciel sur bureau. Il faut simplement un compte.
 
|Step_Content=Le logiciel permettant de téléverser le code est disponible en ligne. Je vous le conseil largement. Aucun problème de compatibilité,  plus simple à utiliser que le logiciel sur bureau. Il faut simplement un compte.
 +
https://create.arduino.cc/editor
 +
 +
 +
Le code est lisible et disponible [https://create.arduino.cc/editor/zabern/eadfd3dc-693f-4161-bb39-d9aa35522e26/preview ICI]
 +
 +
 +
Le code contient une partie aisément modifiable avec les paramètres principaux.
 +
 +
 +
''// Branchements''
 +
 +
 +
''#define MAXLED        300 // Nombre de leds (300 = 5m )''
 +
 +
''#define PIN_LED        A0  // Guirlande _ R 500 ohms sur le branchement PIN WS2812 and WS2813''
 +
 +
''#define PIN_P1        2  // J1 Rouge''
 +
 +
''#define PIN_P2        3  // J2 Vert''
 +
 +
''#define PIN_P3        4  // J3 Bleu''
 +
 +
''#define PIN_P4        5 // J4 Bleu''
 +
 +
''#define PIN_AUDIO      10  // Pin pour haut parler, ajouter Condensateur 2UF''
 +
 +
 +
''// Paramètre de jeu''
 +
 +
''byte loop_max=5; //Nombre de tours''
 +
 +
''float ACEL=0.2; // Acceleration''
  
 +
''float kf=0.015; // Frottement''
  
https://create.arduino.cc/editor
+
''float kg=0.003; // Gravité''
 
|Step_Picture_00=LED_RACER_Screenshot_2021-07-25_11.52.17.png
 
|Step_Picture_00=LED_RACER_Screenshot_2021-07-25_11.52.17.png
 
|Step_Picture_00_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":-0.02,"width":1884,"height":1052,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.32,"scaleY":0.32,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/1/1c/LED_RACER_Screenshot_2021-07-25_11.52.17.png","filters":[]},{"type":"wfline","version":"3.5.0","originX":"center","originY":"center","left":185,"top":7,"width":100,"height":0,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":4,"strokeDashArray":null,"strokeLineCap":"round","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"x1":-50,"x2":50,"y1":0,"y2":0},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":135,"top":7,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":235,"top":7,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfellipse","version":"3.5.0","originX":"center","originY":"center","left":193.43,"top":46.26,"width":45.06,"height":45.46,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":2,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"rx":22.528988694082713,"ry":22.729655897560278},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":131,"top":48,"width":74.46,"height":48.82,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Importer code","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} },{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":537,"top":186,"width":47.8,"height":48.82,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Le code","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":335,"width":600}
 
|Step_Picture_00_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":-0.02,"width":1884,"height":1052,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.32,"scaleY":0.32,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/1/1c/LED_RACER_Screenshot_2021-07-25_11.52.17.png","filters":[]},{"type":"wfline","version":"3.5.0","originX":"center","originY":"center","left":185,"top":7,"width":100,"height":0,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":4,"strokeDashArray":null,"strokeLineCap":"round","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"x1":-50,"x2":50,"y1":0,"y2":0},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":135,"top":7,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfarrow2circle","version":"3.5.0","originX":"center","originY":"center","left":235,"top":7,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfellipse","version":"3.5.0","originX":"center","originY":"center","left":193.43,"top":46.26,"width":45.06,"height":45.46,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":2,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"rx":22.528988694082713,"ry":22.729655897560278},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":131,"top":48,"width":74.46,"height":48.82,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Importer code","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} },{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":537,"top":186,"width":47.8,"height":48.82,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"Le code","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":335,"width":600}
Ligne 196 : Ligne 255 :
 
|Step_Picture_02=LED_RACER_Screenshot_2021-07-25_11.57.11.png
 
|Step_Picture_02=LED_RACER_Screenshot_2021-07-25_11.57.11.png
 
|Step_Picture_02_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":-0.16,"width":1198,"height":390,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.5,"scaleY":0.5,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/7/74/LED_RACER_Screenshot_2021-07-25_11.57.11.png","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":469.66,"top":142.42,"width":178.01,"height":101.25,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.61,"scaleY":0.61,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"On retrouve les ports de branchement du shéma ","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":195,"width":600}
 
|Step_Picture_02_annotation={"version":"3.5.0","objects":[{"type":"image","version":"3.5.0","originX":"left","originY":"top","left":0,"top":-0.16,"width":1198,"height":390,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.5,"scaleY":0.5,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://www.wikidebrouillard.org/images/7/74/LED_RACER_Screenshot_2021-07-25_11.57.11.png","filters":[]},{"type":"textbox","version":"3.5.0","originX":"center","originY":"center","left":469.66,"top":142.42,"width":178.01,"height":101.25,"fill":"#FF0000","stroke":"#FF0000","strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.61,"scaleY":0.61,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"On retrouve les ports de branchement du shéma ","fontSize":20,"fontWeight":"normal","fontFamily":"sans-serif","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"minWidth":20,"splitByGrapheme":false,"styles":{} }],"height":195,"width":600}
 +
|Step_Picture_03=LED_RACER_led_race_4_joueurs_ino_300leds.ino
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=Mettre en boite (et tester à nouveau)
 
|Step_Title=Mettre en boite (et tester à nouveau)
 +
|Step_Picture_00=LED_RACER_IMG_20210725_105806.jpg
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=Fabriquer des manettes
 
|Step_Title=Fabriquer des manettes
 +
|Step_Content=L'intérêt des prises boutons, est surtout la possibilité de continuellement inviter de nouvelles manettes, ou simplement d'en changer aisément.
 +
 +
 +
De là, plusieurs type de manettes possibles
 +
 +
 +
'''Manette Arcade''' (Image 1)
 +
 +
 +
Boutons d'arcade dans un beau roulot carton de film étirable/aluminium
 +
 +
 +
'''Manette Bidouille''' ( Image 2)
 +
 +
 +
Manette avec pinces crocodiles, pour libérer votre créativité
 +
 +
 +
 +
Manette Shake ( a  venir )
 +
 +
 +
 +
Manette Bidouille
 
|Step_Picture_00=LED_RACER_IMG_20210725_105433.jpg
 
|Step_Picture_00=LED_RACER_IMG_20210725_105433.jpg
 +
|Step_Picture_01=LED_RACER_IMG_20210725_125054.jpg
 
}}
 
}}
 
{{Tuto Step
 
{{Tuto Step
 
|Step_Title=Jouer !
 
|Step_Title=Jouer !
 +
}}
 +
{{Tuto Step
 +
|Step_Title=Et un circuit ?
 +
|Step_Picture_00=LED_RACER_IMG_20210725_130431.jpg
 +
}}
 +
{{Tuto Step
 +
|Step_Title=Et la récupération ?
 +
|Step_Content='''Cable manette'''
 +
 +
Récupérer des vieux cables de chargeur DC. Ils fonctionneront très bien, à condition d'avoir le bon diamètre.
 +
|Step_Picture_00=LED_RACER_IMG_20210725_124654.jpg
 
}}
 
}}
 
{{Notes
 
{{Notes
 +
|Observations=Il s'agit d'une course de leds. La guirlande allume les voyants de démarrage, le son accompagne le démarrage. Les joueurs sont prêts.
 +
 +
Ceux qui appuyent le plus vite, qui mitraillent , avance plus vite! Le tout se joue en 5 tours, puis la guirlande s'allume de la couleur du joueur vainqueur !
 
|Avertissement=Si ça ne marche pas  :
 
|Avertissement=Si ça ne marche pas  :
  
 
*Dans le logiciel Arduino,  sélectionner la bonne carte dans l'onglet dédié.
 
*Dans le logiciel Arduino,  sélectionner la bonne carte dans l'onglet dédié.
*Dans le logiciel Arduino, veillez à bien chargez l'ensemble des bibliothèques nécessaires.
 
 
*Vérifiez bien les soudures et les branchements.
 
*Vérifiez bien les soudures et les branchements.
*Si ça ne fonctionne toujours pas, reformatez la carte SD (en format MS-DOS ou FAT32).
+
|Related=Pour faire un point sur la soudure : [[Initiation à la soudure]]
*Si vous utilisez Mac OS X pour copier les mp3, le système de fichiers ajoutera automatiquement des fichiers cachés comme : "._0001.mp3" pour l'index, que ce module traitera comme des fichiers mp3 valides. C'est vraiment ennuyeux. Vous pouvez donc exécuter la commande suivante dans le terminal pour éliminer ces fichiers. <code class="sourceCode bash">dot_clean /Volumes/<nomDeLaCarteSD></code>
 
|Related=Pour faire un point sur la soudure : [http://www.wikidebrouillard.org/w/Initiation_%C3%A0_la_soudure Initiation à la soudure]
 
  
Une autre vision de la construction : [http://www.wikidebrouillard.org/w/Bo%C3%AEte_%C3%A0_sons Boîte à sons]
+
Une autre vision de la construction : [[Boîte à sons]]
  
Une autre construction avec arduino : [http://www.wikidebrouillard.org/w/D1-Pong D1-Pong]
+
Une autre construction avec arduino : [[D1-Pong]]
 
|Objectives=Mettre en pratique la soudure
 
|Objectives=Mettre en pratique la soudure
  
Ligne 225 : Ligne 322 :
  
 
Découvrir un code arduino de manière ludique : le lire, le comprendre, le modifier
 
Découvrir un code arduino de manière ludique : le lire, le comprendre, le modifier
 
Parcourir les banques de sons. Aborder les notions de libertés intellectuelles.
 
  
 
Utiliser une découpeuse laser
 
Utiliser une découpeuse laser
Ligne 237 : Ligne 332 :
 
}}
 
}}
 
{{Tuto Status
 
{{Tuto Status
|Complete=Draft
+
|Complete=Published
 
}}
 
}}

Version actuelle datée du 27 février 2023 à 15:44

Auteur avatarAntoine Zabern | Dernière modification 27/02/2023 par ZAB

Introduction

Le led racer est inspiré du projet OPENLEDRACE. Une course de led sur guirlande programmable

Il s'agit d'un boitier, mais aussi d'une diversité de manettes, qui constituent le véritable intérêt d'expérimentation du jeu !

de 2 à 4 joueurs

Video d'introduction

  • Expériences pré-requises
  • Fichiers

Étape 2 - Rassembler le matériel et les outils

Matériel (en gras, les éléments essentiels au fonctionnement du jeu)


- 1 carte Arduino ( uno, ano, pro mini...)

- 1 cable de connection USB (Selon le modèle arduino)

- Guirlande de led WS2812 (5m)

- 1 source d'alimentation (batterie, cable USB dénudé...) pour alimenter le jeu sans passer par la carte (Au risque de casser le port à force de manipulations)

- 2, 3 ou 4 boutons d'arcade

- 1 interrupteur

- Cables (type dupont ou de récupération...)

- 1 Boîte pour mettre en forme notre console (récupération; bois; découpe laser...)


Option :

- Utiliser des embouts de branchements pour les boutons.

(embouts DC par exemple, permettant de récupérer des cables de vieux chargeurs)


Outils


- 1 fer à souder

- Etain

- Pistolet à colle


Étape 3 - Découvrir le circuit, le fonctionnement et les vigilances

Image 1


Voici le shéma du circuit, il indique sur quels sorties/branchements les différents objets doivent être branchés. Pensez à utiliser des couleurs pour vous repérez:


Le rouge est le plus souvent dédié au 5V (le +)

Le Noir/marron/blanc au GND (Le -)

Les couleurs aux entrées numériques ( une information qui passe)


Si vous êtes assez aguéris, ce shéma peut vous suffire. Le reste du tutoriel essaye de donner un maximum de conseils :)

Image 2


Ce cable de connection femelle vous l'obtenez avec l'achat de votre guirlande.

Il peut être présent en bonus ou à découper au bout de la guirlande. (découpez bien le femelle!)


Image 3


Notre alimentation doit sortir de la boite. Je déconseille d'alimenter directement par la prise USB de l'arduino à l'usage. Risque de casser le branchement à force d'usage (sauf à coller le cable à la boite par exemple). Mais surtout, vous ne pourrez pas ajouter d'interrupteur comme sur le shéma. Je vous recommande donc :


- Une batterie à pile ou de type 18650 ( comme sur le shéma)

- Un vieux cable USB, assez long, que vous aurez dénudé (Cables rouge et noir)


Image 3


De même à l'usage, brancher les boutons directement à la carte est risqué ( mais toujours possible; pensez à coller les cables à la boite, ou faire un noeud) . Les participants tirent dessus, et risque de casser le branchement. Aussi, vous pouvez utiliser des "prises". Le branchement reste le même, et s'agissant de bouton, peut importe de quel coté vous branchez!


Image 4


Et Voici l'interieur de notre exemple. Donc beaucoup de cables qui se baladent. Il est important d'estimer la longueur des cables en fonction de l'emplacement de vos différents items.

Étape 4 - Préparer ma boite

Votre boite doit pouvoir s'ouvrir et idéalement, vous devez pouvoir continer à y accéder facilement, pour refaire une soudure par exemple (Maintenance).


Préparer ma boite, ça veut dire avoir une petite idée, d'où chaque items va se retrouver. Alors on prend son crayon et on pose ses marques pour:


  • Là où sort le cable femelle guirlande
  • Là où sortent les cables ou prises des boutons
  • Là où sort l'interrupteur d'allumage
  • Là où sort le cable d'alimentation


Mais aussi à l'intérieur:


  • Où fixer la carte arduino ( Possible avec colle ou vis ou punaises
  • Où fixer la batterie si nécessaire
  • Où fixer le haut-parleur


La boite parait convenir, on y va alors !

On fait les trous et les encoches.


A défaut, voici aussi un plan découpe laser  : )




Étape 5 - Construire le circuit

Pensez aux couleurs des cables, ça aide pour s'y retrouver


Tout d'abord, voici un petit rappel de comment on soude ! Bien utile !


Certains items devant sortir de la boite, ne soudez pas tout tout de suite.


Exemple : Vous soudez le bouton à la carte, avec un long cable. Hors le trou de votre boite permet de faire sortir les cables...mais il n'a pas la taille d'un bouton. Votre bouton est donc coincer dans la boite, et il faut dessouder! Patience et préparation!


Avant de tout fixer ( colle...etc), testez donc le jeu !

Go Code !

Étape 6 - Uploader le code

Le logiciel permettant de téléverser le code est disponible en ligne. Je vous le conseil largement. Aucun problème de compatibilité, plus simple à utiliser que le logiciel sur bureau. Il faut simplement un compte. https://create.arduino.cc/editor


Le code est lisible et disponible ICI


Le code contient une partie aisément modifiable avec les paramètres principaux.


// Branchements


#define MAXLED 300 // Nombre de leds (300 = 5m )

#define PIN_LED A0 // Guirlande _ R 500 ohms sur le branchement PIN WS2812 and WS2813

#define PIN_P1 2 // J1 Rouge

#define PIN_P2 3 // J2 Vert

#define PIN_P3 4 // J3 Bleu

#define PIN_P4 5 // J4 Bleu

#define PIN_AUDIO 10 // Pin pour haut parler, ajouter Condensateur 2UF


// Paramètre de jeu

byte loop_max=5; //Nombre de tours

float ACEL=0.2; // Acceleration

float kf=0.015; // Frottement

float kg=0.003; // Gravité


Étape 7 - Mettre en boite (et tester à nouveau)




Étape 8 - Fabriquer des manettes

L'intérêt des prises boutons, est surtout la possibilité de continuellement inviter de nouvelles manettes, ou simplement d'en changer aisément.


De là, plusieurs type de manettes possibles


Manette Arcade (Image 1)


Boutons d'arcade dans un beau roulot carton de film étirable/aluminium


Manette Bidouille ( Image 2)


Manette avec pinces crocodiles, pour libérer votre créativité


Manette Shake ( a venir )


Manette Bidouille



Étape 9 - Jouer !

Étape 10 - Et un circuit ?




Étape 11 - Et la récupération ?

Cable manette

Récupérer des vieux cables de chargeur DC. Ils fonctionneront très bien, à condition d'avoir le bon diamètre.




Comment ça marche ?

Observations : que voit-on ?

Il s'agit d'une course de leds. La guirlande allume les voyants de démarrage, le son accompagne le démarrage. Les joueurs sont prêts.

Ceux qui appuyent le plus vite, qui mitraillent , avance plus vite! Le tout se joue en 5 tours, puis la guirlande s'allume de la couleur du joueur vainqueur !

Mise en garde : qu'est-ce qui pourrait faire rater l'expérience ?

Si ça ne marche pas  :

  • Dans le logiciel Arduino, sélectionner la bonne carte dans l'onglet dédié.
  • Vérifiez bien les soudures et les branchements.


Vous aimerez aussi

Pour faire un point sur la soudure : Initiation à la soudure

Une autre vision de la construction : Boîte à sons

Une autre construction avec arduino : D1-Pong

Éléments pédagogiques

Objectifs pédagogiques

Mettre en pratique la soudure

Construire un circuit électronique avec une dizaine d'éléments différents

Découvrir un code arduino de manière ludique : le lire, le comprendre, le modifier

Utiliser une découpeuse laser

Pistes pour animer l'expérience

L'objet peut être utiliser comme démonstration de ce que l'on peut faire en électronique, dans un fablab.

Il peut être présenter déjà construit pour essayer de la refaire : quels éléments utilisés ? quel code ? quels étapes ?

Cette construction peut être un objectif de réalisation d'un mini-stage.

Sources et ressources

https://create.arduino.cc/projecthub/gbarbarov/open-led-race-a0331a

Dernière modification 27/02/2023 par user:ZAB.

Commentaires

Published