|
|
Ligne 1 : |
Ligne 1 : |
− | {{Tuto Details
| + | Le_DebrouilloKit_-_Multipliez_les_exp_riences___DBK_Servo_Ph |
− | |Main_Picture=Boite_à_sons_IMG_20190209_221116.jpg
| |
− | |Licences=Attribution (CC-BY)
| |
− | |Description=Vous appuyez sur le gros bouton rouge et son (un fichier mp3 tiré au sort) est joué.
| |
− | |Disciplines scientifiques=Arduino
| |
− | |Difficulty=Expert
| |
− | |Duration=4
| |
− | |Duration-type=hour(s)
| |
− | |Tags=son, jeu
| |
− | }}
| |
− | {{Introduction
| |
− | |Introduction=Les gros '''boutons rouges''' donnent envie d'appuyer ! Au risque de vous faire rick'roller, appuyez sur le bouton !
| |
− | | |
− | <br />
| |
− | }}
| |
− | {{TutoVideo
| |
− | |VideoType=Mp4
| |
− | |mp4video=BoiteASons.mp4
| |
− | }}
| |
− | {{Materials
| |
− | |ItemList={{ItemList
| |
− | |Item=D1 mini
| |
− | }}{{ItemList
| |
− | |Item=Breadboard
| |
− | }}{{ItemList
| |
− | |Item=Haut parleur
| |
− | }}{{ItemList
| |
− | |Item=Gros bouton rouge
| |
− | }}{{ItemList
| |
− | |Item=Batterie 18650
| |
− | }}{{ItemList
| |
− | |Item=Chargeur-transformateur porte-batterie 18650
| |
− | }}{{ItemList
| |
− | |Item=Résistance
| |
− | }}{{ItemList
| |
− | |Item=Carte SD
| |
− | }}{{ItemList
| |
− | |Item=Fer à souder
| |
− | }}{{ItemList
| |
− | |Item=Cutter
| |
− | }}{{ItemList
| |
− | |Item=Pince à dénuder
| |
− | }}{{ItemList
| |
− | |Item=Pistolet à colle ou pistocolle
| |
− | }}{{ItemList
| |
− | |Item=DFPlayer Lecteur MP3
| |
− | }}{{ItemList
| |
− | |Item=Câble Dupont
| |
− | }}
| |
− | |Tuto_Attachments={{Tuto Attachments
| |
− | |Attachment=boite-a-son-wemos.ino
| |
− | }}
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Réunissez le matériel
| |
− | |Step_Content=Pour l'alimentation, vous pouvez faire fonctionner la boite en 5V c'est donc assez souple :
| |
− | * Avec un chargeur de téléphone
| |
− | * Une batterie "power bank" pour téléphone
| |
− | * des piles en série (3 piles 1,5 V font parfaitement l'affaire)
| |
− | * ...
| |
− | Pour le haut-parleur, j'ai trouvé le mien dans un vieil ordinateur.
| |
− | | |
− | Sur la photo, il manque du carton pour fabriquer la boite ainsi que les outils.
| |
− | |Step_Picture_00=-Boite_à_sons_materielBoiteASons.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Préparer le gros bouton rouge 1
| |
− | |Step_Content=Pour faciliter les branchement, nous allons souder des embouts femelles de câbles dupont. Pour cela, on coupe des câbles et on dénude.
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_192952.jpg
| |
− | |Step_Picture_01=Boite_à_sons_IMG_20190209_193025.jpg
| |
− | |Step_Picture_02=Boite_à_sons_IMG_20190209_193113.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Préparer le gros bouton rouge 2
| |
− | |Step_Content=Il y a quatre embouts femelle :
| |
− | | |
− | *deux pour alimenter la LED interne.
| |
− | *deux pour le bouton poussoir
| |
− | | |
− | ==A propos de la LED : ==
| |
− | j'ai modifié la LED présente dans le bouton (Celle qui est présente par défaut fonctionne en 12V). Je l'ai retirée et remplacée par un LED ordinaire (5V).
| |
− | | |
− | On consolide avec de la gaine thermo-retractable (ou du pistolet à colle).
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_193330.jpg
| |
− | |Step_Picture_01=Boite_à_sons_IMG_20190209_193400.jpg
| |
− | |Step_Picture_02=Boite_à_sons_IMG_20190209_193543.jpg
| |
− | |Step_Picture_03=Boite_à_sons_IMG_20190209_193824.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Préparation de l'interrupteur
| |
− | |Step_Content=En ajoutant des embouts femelles de la même façon.
| |
− | | |
− | La gaine thermo-retractable consolide les soudure et protège des contacts involontaires.
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_194435.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Idem pour le chargeur-transformateur
| |
− | |Step_Content=Sur une sortie 5V on fixe deux embouts femelles :
| |
− | * Une pour le GND
| |
− | * Une pour le +5V
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_194457.jpg
| |
− | |Step_Picture_00_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":800,"height":471,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.75,"scaleY":0.75,"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":"http://wikidebrouillard.dokit.io/w/images/thumb/7/79/Boite_%C3%A0_sons_IMG_20190209_194457.jpg/800px-Boite_%C3%A0_sons_IMG_20190209_194457.jpg","filters":[]},{"type":"wfcircle","version":"2.4.6","originX":"center","originY":"center","left":316.33,"top":225.49,"width":200,"height":200,"fill":"rgba(255,0,0,0)","stroke":"red","strokeWidth":5.56,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":10,"scaleX":0.54,"scaleY":0.54,"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,"radius":100,"startAngle":0,"endAngle":6.283185307179586}],"height":353,"width":600}
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Préparer le lecteur de mp3
| |
− | |Step_Content=On l'installe sur la petite Breadboard.
| |
− | | |
− | Pour préparer la carte microSD, chargez des sons mp3. Il faut numéroter les fichiers sons : 001-monfichierson.mp3 par exemple.
| |
− | | |
− | Le lecteur accepte des fichier .mp3 et .wave.
| |
− | | |
− | Suivez les instructions indiquées ici, sur le wiki de [https://www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299 DFRobots].
| |
− | | |
− | == Ou trouver des sons ? ==
| |
− | On peut les enregistrer soi-même, extraire des répliques cultes de films ou les téléchargez depuis des sites web :
| |
− | * http://www.universal-soundbank.com/percus-loops.htm
| |
− | * https://www.myinstants.com/index/us/
| |
− | * https://www.soundjay.com/button-sounds-1.html
| |
− | * http://www.soundsofchanges.eu/
| |
− | * etc, à vous de chercher !
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_194632.jpg
| |
− | |Step_Picture_01=Boite_à_sons_IMG_20190209_194658.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Les éléments principaux sont prêt !
| |
− | |Step_Content=Il ne reste plus qu'à câbler et installer dans la boite !
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_194753.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Mettre la batterie à charger
| |
− | |Step_Content=C'est le moment, comme cela elle sera prête lorsqu'on aura fini !
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_203636.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Préparer la boite en carton
| |
− | |Step_Content=Il s'agit de faire un cube, débrouillez-vous.
| |
− | | |
− | Jouez du pistocolle, des ciseaux et des cutters
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_205417.jpg
| |
− | |Step_Picture_01=Boite_à_sons_IMG_20190209_210002.jpg
| |
− | |Step_Picture_02=Boite_à_sons_IMG_20190209_210009.jpg
| |
− | |Step_Picture_03=Boite_à_sons_IMG_20190209_210630.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Le trou pour le gros bouton rouge
| |
− | |Step_Content=Repérez le centre de la face à trouer, reportez le diamètre et découpez !
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_205358.jpg
| |
− | |Step_Picture_01=Boite_à_sons_IMG_20190209_210753.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Il est temps de tester le montage
| |
− | |Step_Content=Il s'agit de brancher les différents composants ensemble et de vérifier que tout marche comme prévu !
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_212715.jpg
| |
− | |Step_Picture_01=Boite_à_sons_IMG_20190209_212816.jpg
| |
− | |Step_Picture_02=Boite_à_sons_IMG_20190209_212840.jpg
| |
− | |Step_Picture_03=Boite_à_sons_boite-a-sons_bb.png
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=On installe le haut-parleur
| |
− | |Step_Content=Découper le trou qui va bien dans la boite, pistocoller tout ça !
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_213128.jpg
| |
− | |Step_Picture_01=Boite_à_sons_IMG_20190209_213305.jpg
| |
− | |Step_Picture_02=Boite_à_sons_IMG_20190209_213502.jpg
| |
− | }}
| |
− | {{Tuto Step
| |
− | |Step_Title=Coller en place dans la boite
| |
− | |Step_Content=On installe tous les éléments et on referme !
| |
− | | |
− | C'est prêt !
| |
− | |Step_Picture_00=Boite_à_sons_IMG_20190209_213919.jpg
| |
− | |Step_Picture_01=Boite_à_sons_IMG_20190209_214853.jpg
| |
− | }}
| |
− | {{Notes
| |
− | |Related=[[BOXSON]]
| |
− | }}
| |
− | {{Tuto Status
| |
− | |Complete=Published
| |
− | }}
| |
− | {{Separator}}
| |