Différences entre versions de « Utilisateur:Admin »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
(40 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
== Projets en cours ==
+
== Liens Perso ==
* Comment utiliser un multimètre ( [https://learn.adafruit.com/multimeters/overview source] )
+
* [[glossaire|Glossaire et terminologies diverses]]
* [[Frenchy-Pi-In-The-Box|Le Pi-In-The-Box avec clavier Français]]  
+
* [[Python-Turtle-Online|Python Turtle en ligne]]
 
+
* [[Admin-Wiki-Projects|Projets Wiki]]
=== ODroid ===
 
* [[ODroid-XU4-Performance|ODroid XU4 Performance]]
 
* [[ODroid-XU4-FAQ|ODroid XU4 FAQ]]
 
* [[ODroid-C2-FAQ|ODroid C2 FAQ]]
 
* [[ODroid-C1-PLUS-FAQ|ODroid C1+ FAQ]]
 
* [[LIME2-FAQ|Oniluxino Lime2 FAQ]]
 
 
 
===MicroPython on ESP8266===
 
* [https://learn.adafruit.com/micropython-basics-loading-modules/overview MicroPython Basics - Loading Module] Module, package and Frozen Module
 
* [https://learn.adafruit.com/micropython-basics-load-files-and-run-code/overview MicroPython Basics: Load Files & Run Code]<br />Also speak about {{fname|rshell}} allowing file transfert, code editor, etc via serial connexion! See the github https://github.com/dhylands/rshell<br />I do use the following command {{fname|rshell --port /dev/ttyUSB0 --baud 115200 --buffer-size 128 --editor nano}}
 
* '''[https://learn.adafruit.com/category/micropython MicroPython Tutorials of Tony Dycola]'''
 
* Ressource
 
** http://docs.micropython.org/en/latest/esp8266/esp8266/quickref.html (many information about plateform and hardware configuration, network start script)
 
** Modèle pour tutoriel de Hacking Electronique
 
 
 
<nowiki>
 
{{MCH-Aider}}
 
 
 
== Introduction ==
 
[[Fichier:FEATHER-MICROPYTHON-xxx-00.jpg|800px]]
 
 
 
todo
 
 
 
== Schéma ==
 
[[Fichier:FEATHER-MICROPYTHON-xxx.jpg|800px]]
 
 
 
== Installer ==
 
L'utilisation requière l'installation d'une bibliothèque spécifique. Vous trouvez celle-ci ici:
 
 
 
{{download-box|Téléchargez la bibliothèque xxx|http://lien}}
 
 
 
Vous devrez copier les fichiers suivant sur votre carte MicroPython
 
* xxxx dans le répertoire racine.
 
 
 
Pour savoir comment copier vos fichiers sur votre carte MicroPython Feather ESP8266 Huzza, vous pouvez vous référer aux ressources suivantes:
 
 
 
{{ttuto-begin}}
 
 
 
{{ttuto
 
  |label=Ampy
 
  |descr=Outil simplifié de transfert de fichiers et de contrôlez de carte depuis une connexion série. ESP8266 compatible.
 
  |img=tlogo-micropython-Debugger.jpg
 
  |link=FEATHER-CHARGER-FICHIER-MICROPYTHON
 
}}
 
 
 
{{ttuto
 
  |label=RSHell
 
  |descr=Transférez des fichiers et contrôlez votre carte depuis une simple connexion série. ESP8266 compatible.
 
  |img=tlogo-micropython-Debugger.jpg
 
  |link=MicroPython-Hack-RShell
 
}}
 
 
 
{{ttuto-end}}
 
 
 
== Tester ==
 
Nous allons nous connecter en WebREPL pour tester notre code. Vous pouvez également réaliser ce test en REPL Série via la liaison USB-Série (si celle-ci est disponible).
 
 
 
La connexion REPL et WEBRepl sont abordés dans nos [[MicroPython-Accueil#ESP8266_en_MicroPython|tutoriels généraux ESP8266 sous MicroPython]]
 
 
 
<syntaxhighlight lang="python">
 
Code Python
 
</syntaxhighlight>
 
 
 
Ce qui produit le résultat suivant dans une session WebREPL (ou REPL).
 
 
 
[[Fichier:FEATHER-MICROPYTHON-xxx-10.jpg|800px]]
 
 
 
== Encore Plus ==
 
Voyez:
 
* [[MicroPython-Accueil#ESP8266_en_MicroPython|nos autres tutoriels MicroPython sur ESP8266]]
 
* [[MicroPython-Accueil|tutoriels MicroPython]] (généraux).
 
* Le [https://github.com/mchobby/esp8266-upy GitHub de MCHobby consacré à l' '''ESP8266 sous MicroPython''']
 
 
 
== Où acheter ==
 
* composant xxx
 
* {{pl|846|Feather ESP8266 Huzzah}}
 
* {{pl|733|Huzzah ESP8266 WiFi breakout}}
 
* {{cl|56|La gamme MicroPython}}
 
 
 
<hr />
 
<small>Tutoriel réaliser par Meurisse D. pour [http://shop.mchobby.be MC Hobby SPRL]</small>
 
 
 
{{MCH-Accord}}
 
 
 
</nowiki>
 
 
 
=== curiosité ===
 
* [[s4a-index|Scratch Pour Arduino]] (projet en cours)
 
* [https://learn.adafruit.com/raspberry-pi-analog-to-digital-converters Analog To Digital Converter] (Adafruit, Anglais)
 
* [[RasPy|RasPy]] ''Raspberry-Pi Python'' centric distribution
 
* IR MKit (achever ?)
 
* [http://learn.adafruit.com/adafruit-guide-excellent-soldering/common-problems Adafruit Guide To Excellent Soldering]
 
* [http://www.myipx800.com/index.php?post/2014/02/09/Extension-pour-l-IPX800-%3A-un-circuit-d%C3%A9tecteur-de-tension-220V détection de 220V sur un circuit]
 
  
* [https://learn.adafruit.com/create-an-internet-of-things-dashboard-with-adafruit-dot-io Create an Internet of Things Dashboard with Adafruit IO]
+
== MediaWiki reference ==
* [https://learn.adafruit.com/a-rest-api-for-arduino-and-the-cc3000-wifi-chip A REST API for Arduino & the CC3000 WiFi Chip]
+
* '''Tweeki''' : [https://tweeki.kollabor.at/wiki/Welcome Tweeki = Mediawiki + Twitter Bootstrap]
* [https://learn.adafruit.com/create-an-internet-of-things-dashboard-with-adafruit-dot-io/visualise-data-on-adafruit-dot-io Create an Internet of Things Dashboard with Adafruit IO - Visualise Data on Adafruit.io]
+
* '''WikiMedia API''' : [https://www.mediawiki.org/wiki/API:Get_the_contents_of_a_page API documentation]
* [https://learn.adafruit.com/adafruit-io-connected-animated-gif-display/creating-the-aio-feed Adafruit IO Connected Animated GIF Display Adafruit IO Setup]
+
  <nowiki>https://wiki.mchobby.be/index.php?title=Accueil&action=XXX</nowiki>
* [https://learn.adafruit.com/adafruit-io-connected-animated-gif-display Adafruit IO Connected Animated GIF Display]
+
Avec ''XXX'' pouvant recevoir les valeurs suivantes:
* [https://learn.adafruit.com/adafruit-io Adafruit IO]
+
* '''raw''' : contenu de la page wiki tel que présenté dans le volet "edit"
* [https://learn.adafruit.com/adafruit-io-basics-neopixel-controller Adafruit IO Basics: NeoPixel Controller]
+
* '''render''' : rendu HTML sans interface utilisateur et sans inclusion CSS. Idéal pour inclure dans un IFrame ou compiler un PDF.
* [https://learn.adafruit.com/portable-mini-timelapse-camera/overview Timelapse Mini Camera]
+
* info : Affiche des informations sur la page
 
+
* purge : efface le cache pour la page, force la recompilation depuis la source.
== Internet Of the Thing ==
+
* history : affiche l'historique de modification de la page
Voici quelques ressources autour de l'internet des objets
+
* Voir aussi [https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Actions Actions sur MediaWiki]
 
 
=== PushOver ===
 
[https://pushover.net/ pushover.net/]
 
 
 
Push over est un service de notification via internet permettant de recevoir vos notifications sur iOS, Android ou sur un Desktop.
 
 
 
L'API permet d'envoyer des message via Curl (en ligne de commande), Perl, Ruby, PHP, e-mail et aussi Python (puisque Python peut faire du CURL sans problème)
 
 
 
=== PushBullet ===
 
[https://www.pushbullet.com/ www.pushbullet.com]
 
 
 
Système d'échange de notification entre PC, SmartPhone et périphériques... très complet (message,url, fichiers, images,etc).
 
Dispose d'une API rest... donc attackable via Python.
 
 
 
* [https://www.youtube.com/watch?v=QEpq5Ov7TRI Video d'exemple PC-SMartphone] (youtube)
 
* [https://docs.pushbullet.com/#api-quick-start Push Bullet API]
 
 
 
== Tutoriel 3D ==
 
* [http://learn.adafruit.com/3d-modeling-negatives/software-slash-hardware 3D-Modeling - De-construction]
 
 
 
== Traduction Arduino ==
 
* [https://learn.adafruit.com/fft-fun-with-fourier-transforms/overview-1 FFT: Fun with Fourier Transforms] avec Teensy 3.0
 
* [https://learn.adafruit.com/all-about-stepper-motors/what-is-a-stepper-motor All about stepper motor]
 
* [[Unified Sensor Driver|Pilotes Unifiés pour senseur]] depuis la source [http://learn.adafruit.com/using-the-adafruit-unified-sensor-driver/introduction Unified Sensor Driver]
 
* [[Arduino Creation Librairie|tutoriel sur l'écriture de vos propres libraires]] depuis la source [http://arduino.cc/en/Hacking/LibraryTutorial Writing an Arduino Library]
 
* [[ADF-LED-BACKPACK-MULTI-ANIM|Animation avec plusieurs LedBackpack]] voir [http://learn.adafruit.com/animating-multiple-led-backpacks la source ici]
 
* [[PILE-ACCU-LIPO-ETC|Tout savoir sur les les accu et piles rechargeables, etc]] [http://learn.adafruit.com/li-ion-and-lipoly-batteries ici]
 
* [[PILES|Tout savoir à propos des piles]] [https://learn.adafruit.com/all-about-batteries]
 
* [http://learn.adafruit.com/adafruit-ina219-current-sensor-breakout Breakout INA219] Senseur de courant I2C
 
* [http://learn.adafruit.com/adafruit-4-channel-adc-breakouts Breakout ADS1115] Convertisseur analogique digital ADC / 4 canaux, gain programmable, I2C (RASPI compatible)
 
* [[Piles et accus pour alimenter les NéoPixels|Piles et accus pour alimenter les LEDs et Rubans NéoPixels.]] basé sur [http://learn.adafruit.com/battery-power-for-led-pixels-and-strips/overview Battery Power for LED Pixels and Strips]]
 
 
 
== Traduction Rapsberry ==
 
* [[Rasp-Retro-Games]] Rétro Gaming avec Raspberry Pi http://learn.adafruit.com/retro-gaming-with-raspberry-pi/overview
 
* [[Rasp-Hack-Effet-Capacitif]] Senseur à effet capacitif pour Raspberry Pi https://learn.adafruit.com/capacitive-touch-sensors-on-the-raspberry-pi/programming
 
* [[Rasp-Hack-Senseur-Base-Lecture]] [http://learn.adafruit.com/basic-resistor-sensor-reading-on-raspberry-pi/overview Basic sensor reading sur Raspi]
 
** ''+'' corriger le lien sur [http://mchobby.be/wiki/index.php?title=Rasp-Hack-GPIO_Configure_GPIO cet article déjà traduit]
 
* [[Rasp-Hack-MCP230XX|GPIO Expander pour Raspberry Pi]], ajouter des entrées/sorties digitales à votre Pi. http://learn.adafruit.com/mcp230xx-gpio-expander-on-the-raspberry-pi
 
* [[Rasp-Hack-BMP085|Mesure de pression avec le BMP085]] http://learn.adafruit.com/using-the-bmp085-with-raspberry-pi http://learn.adafruit.com/using-the-bmp085-with-raspberry-pi
 
* [[Rasp-Hack-MCP4725|MCP4725 Convertisseur Digital Analogique 12-Bit]] http://learn.adafruit.com/mcp4725-12-bit-dac-with-raspberry-pi
 
* [[Rasp-Hack-RTC-DS1307|Support RTC DS1307]] (horloge temps réel) pour Raspberry PI. Source: [http://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi Adding RTC DS1307 on Rapsberry Pi]
 
* [[Rasp-Hack-16-channel-servo-driver|Controleur PWM/Servo 16 canaux]] pour Raspberry Pi. Source: http://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/overview
 
* [[Rasp-Hack-DS18B20|Senseur de température OneWire]] sur Raspberry Pi. http://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing
 
* [[Rasp-Hack-DHTxx|Senseur DHTxx]] sur Raspberry Pi. http://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging
 
* [http://learn.adafruit.com/adafruits-raspberry-pi-lesson-10-stepper-motors/overview stepper motor with Raspberry Pi]
 
* [[Rasp-Hack-Servo|Contrôle d'un servo]] http://learn.adafruit.com/adafruits-raspberry-pi-lesson-8-using-a-servo-motor
 
* [[Rasp-Hack-Config-Reseau|Configuration Réseau]] et Wifi  http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup/overview
 
* Correction de client dans:
 
** Les différents Tuto Raspi pour matériel AdaFruit I2C, voir notre page Tutoriel relatif au [[Rasp-Hack-GPIO Configurer I2C|GPIO de Raspi]]
 
 
 
== Sortie Vidéo avec PiGame ==
 
* [http://learn.adafruit.com/pi-video-output-using-pygame/overview Sortie Video sur le PI en utilisant PiGame]
 
 
 
 
 
* EL Wire
 
** [http://learn.adafruit.com/el-workshop/overview ELWire Workshop]
 
** [http://learn.adafruit.com/tron-bag Tron-Bag]
 
 
 
 
 
* ADF-RTC-DS1307 [http://www.ladyada.net/learn/breakoutplus/ds1307rtc.html]
 
* ADF-MICROSD-BRK [http://www.ladyada.net/products/microsd discusses microSD cards, wiring and how to use this breakout board with an Arduino]
 
* [http://learn.adafruit.com/wave-shield-voice-changer Wave Shield Voice Changer] pour AMP-3.7w-ClassD
 
* [http://learn.adafruit.com/adafruit-pn532-rfid-nfc] pour RFID/NFC-SHIELD
 
* [http://learn.adafruit.com/animating-multiple-led-backpacks/overview animer de multiple LED Backpack]
 
  
 
== Specific Ressource ==
 
== Specific Ressource ==
Ligne 198 : Ligne 41 :
  
 
  <nowiki>{{pl|447|châssis Zumo}} {{polpl|1418}}</nowiki>
 
  <nowiki>{{pl|447|châssis Zumo}} {{polpl|1418}}</nowiki>
 
== Dictionnaire ==
 
En cours de préparation, un petit dictionnaire/glossaire de termes.
 
* [[glossaire|Glossaire et terminologies diverses]]
 
  
 
== MediaWiki extension ==
 
== MediaWiki extension ==
Ligne 429 : Ligne 268 :
 
Flag spéciaux:
 
Flag spéciaux:
 
* traduction=1 : permet d'indiquer un banner "under construction" à la place de l'image du tutoriel. Affiche également le texte "<font color="red">TRAVAUX EN COURS.</font>" en tête de description.
 
* traduction=1 : permet d'indiquer un banner "under construction" à la place de l'image du tutoriel. Affiche également le texte "<font color="red">TRAVAUX EN COURS.</font>" en tête de description.
 +
* url=http://xxx : a utiliser à la place de {{fname|link}} pour pointer vers une page externe au Wiki
 
   
 
   
 
  <nowiki>{{ttuto-begin}}
 
  <nowiki>{{ttuto-begin}}
Ligne 434 : Ligne 274 :
  
 
{{ttuto
 
{{ttuto
   |label=Senseur de courant
+
   |label=Capteur de courant
 
   |descr=Mesure de puissance/energie dans une installation électrique.
 
   |descr=Mesure de puissance/energie dans une installation électrique.
 
   |img=Senseur-Courant.jpg
 
   |img=Senseur-Courant.jpg
Ligne 453 : Ligne 293 :
  
 
{{ttuto
 
{{ttuto
   |label=Senseur de courant
+
   |label=Capteur de courant
 
   |descr=Mesure de puissance/energie dans une installation électrique.
 
   |descr=Mesure de puissance/energie dans une installation électrique.
 
   |img=Senseur-Courant.jpg
 
   |img=Senseur-Courant.jpg
Ligne 478 : Ligne 318 :
 
   |descr=Afficheur LCD (2x16 caractères)
 
   |descr=Afficheur LCD (2x16 caractères)
 
   |img=afficheur-lcd-afficheur.jpg
 
   |img=afficheur-lcd-afficheur.jpg
   |link=http://mchobby.be/PrestaShop/product.php?id_product=176
+
   |link=http://shop.mchobby.be/product.php?id_product=176
 
   |qty=1
 
   |qty=1
 
}}
 
}}
Ligne 486 : Ligne 326 :
 
   |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
 
   |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
 
   |img=afficheur-lcd-pot.jpg
 
   |img=afficheur-lcd-pot.jpg
   |link=http://mchobby.be/PrestaShop/product.php?id_product=33
+
   |link=http://shop.mchobby.be/product.php?id_product=33
 
   |qty=1
 
   |qty=1
 
}}
 
}}
Ligne 500 : Ligne 340 :
 
   |descr=Afficheur LCD (2x16 caractères)
 
   |descr=Afficheur LCD (2x16 caractères)
 
   |img=afficheur-lcd-afficheur.jpg
 
   |img=afficheur-lcd-afficheur.jpg
   |link=http://mchobby.be/PrestaShop/product.php?id_product=176
+
   |link=http://shop.mchobby.be/product.php?id_product=176
 
   |qty=1
 
   |qty=1
 
}}
 
}}
Ligne 508 : Ligne 348 :
 
   |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
 
   |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
 
   |img=afficheur-lcd-pot.jpg
 
   |img=afficheur-lcd-pot.jpg
   |link=http://mchobby.be/PrestaShop/product.php?id_product=33
+
   |link=http://shop.mchobby.be/product.php?id_product=33
 
   |qty=1
 
   |qty=1
 
}}
 
}}
Ligne 547 : Ligne 387 :
 
{{asm-text}} Le texte de description ici
 
{{asm-text}} Le texte de description ici
  
{{asm-row|img=afficheur-lcd-afficheur.jpg}}
+
{{asm-row|img=afficheur-lcd-afficheur.jpg|size=250px}}
 
{{asm-img|img=part-item-pi.jpg}}
 
{{asm-img|img=part-item-pi.jpg}}
{{asm-text}} Blablabla
+
{{asm-text}} Avec paramètre additionnel qui réduit l'image à 250px (size=250px)
  
 
Autre ligne
 
Autre ligne
Ligne 561 : Ligne 401 :
 
{{asm-text}} Le texte de description ici
 
{{asm-text}} Le texte de description ici
  
{{asm-row|img=afficheur-lcd-afficheur.jpg}}
+
{{asm-row|img=afficheur-lcd-afficheur.jpg|size=250px}}
 
{{asm-img|img=part-item-pi.jpg}}
 
{{asm-img|img=part-item-pi.jpg}}
{{asm-text}} Blablabla
+
{{asm-text}} Avec paramètre additionnel qui réduit l'image à 250px (size=250px)
  
 
Autre ligne
 
Autre ligne
Ligne 892 : Ligne 732 :
 
* link-product-pi2 : {{link-product-pi2}}
 
* link-product-pi2 : {{link-product-pi2}}
 
* link-product-pi3 : {{link-product-pi3}}
 
* link-product-pi3 : {{link-product-pi3}}
 +
* link-product_pi3plus : {{link-product-pi3plus}}
 
* link-product-arduino : {{link-product-arduino}}
 
* link-product-arduino : {{link-product-arduino}}
 
* link-product-bbb : {{link-product-bbb}}
 
* link-product-bbb : {{link-product-bbb}}
Ligne 899 : Ligne 740 :
  
 
* link-product-categ-pi : {{link-product-categ-pi}}
 
* link-product-categ-pi : {{link-product-categ-pi}}
 +
 +
=== Lien fournisseur ===
 +
 +
<nowiki>{{pl|447|châssis Zumo}} {{polpl|1418}} </nowiki>
 +
 +
{{pl|447|châssis Zumo}} {{polpl|1418}}
  
 
== Editing Tools / UNICODE ==
 
== Editing Tools / UNICODE ==
Ligne 929 : Ligne 776 :
 
* [http://www.expreg.com/symbole.php Symbole des Expressions Régulière (RegExp)]
 
* [http://www.expreg.com/symbole.php Symbole des Expressions Régulière (RegExp)]
 
* [http://www.corntab.com Cron Tab online editor] (''crontab.com'')<br />[http://www.everydaylinuxuser.com/2014/10/an-everyday-linux-user-guide-to.html a CronTab guide]
 
* [http://www.corntab.com Cron Tab online editor] (''crontab.com'')<br />[http://www.everydaylinuxuser.com/2014/10/an-everyday-linux-user-guide-to.html a CronTab guide]
 
== Scratch Programming ==
 
 
* [http://wiki.scratch.mit.edu/wiki/Build_Your_Own_Blocks_(BYOB)_(Scratch_Modification) Build Your Own Blocks (BYOB)]
 
* [http://wiki.scratch.mit.edu/wiki/Panther_(Scratch_Modification) Panther]
 
* [http://wiki.scratch.mit.edu/wiki/()_Sensor_Value_(block) ( ) sensor value)]
 
* [http://wiki.scratch.mit.edu/wiki/System_Browser System Browser]
 
* [http://wiki.scratch.mit.edu/wiki/Shift-Click-R Shift-clicking the R]
 
* [http://wiki.scratch.mit.edu/wiki/Mesh Mesh] (as if you need that article, a Mesh guide is right here and the article was based on this anyway)
 
  
 
== Divers ==
 
== Divers ==
 
* [[Origine des connaissances|Origine des connaissances]]
 
* [[Origine des connaissances|Origine des connaissances]]
 
* [[Stage chez MCHobby|Stage ou TFE @ MCHobby]]
 
* [[Stage chez MCHobby|Stage ou TFE @ MCHobby]]

Version du 10 juillet 2020 à 15:08

Liens Perso

MediaWiki reference

https://wiki.mchobby.be/index.php?title=Accueil&action=XXX 

Avec XXX pouvant recevoir les valeurs suivantes:

  • raw : contenu de la page wiki tel que présenté dans le volet "edit"
  • render : rendu HTML sans interface utilisateur et sans inclusion CSS. Idéal pour inclure dans un IFrame ou compiler un PDF.
  • info : Affiche des informations sur la page
  • purge : efface le cache pour la page, force la recompilation depuis la source.
  • history : affiche l'historique de modification de la page
  • Voir aussi Actions sur MediaWiki

Specific Ressource

ADF Images

{{ADFImage|name.jpg}}
{{ADFImage|name.jpg|250px}}

Pololu

Infobox pour page de garde compilée avec compile_tuto.py :

{{Pololu-Zumo-Shield-Arduino-NAV}}
{{infobox tuto
   | image = Pololu-Zumo-Shield-Arduino-01.jpg
   | title = Guide utilisateur du Robot Zumo Pololu
   | subtitle = Un guide complet et abordable pour assembler, utiliser et exploiter rapidement votre Robot Zumo.
   | version = 0.1
}}

Image Pololu avec crédit et description

{{POLImage|name.jpg|250px|descr}}

Lien vers produit Pololu:

{{pl|447|châssis Zumo}} {{polpl|1418}}

MediaWiki extension

Template MCHobby

  • MCH-Aider
  • MCH-Accord
  • ADF-Accord, ARDUINO-Accord, GOF-Accord, ECE-Accord

syntaxhighlight

<syntaxhighlight lang="python">
#!/usr/bin/python

# Simple RGBMatrix example, using only Clear(), Fill() and SetPixel().
# These functions have an immediate effect on the display; no special
# refresh operation needed.
# Requires rgbmatrix.so present in the same directory.

import time
from rgbmatrix import Adafruit_RGBmatrix
</syntaxhighlight>
#!/usr/bin/python

# Simple RGBMatrix example, using only Clear(), Fill() and SetPixel().
# These functions have an immediate effect on the display; no special
# refresh operation needed.
# Requires rgbmatrix.so present in the same directory.

import time
from rgbmatrix import Adafruit_RGBmatrix

Template condensé

<syntaxhighlight lang="python">
x
</syntaxhighlight>
<syntaxhighlight lang="c">
x
</syntaxhighlight>

Round Box

<div style="border: 1px solid #FF9933; background-color: #FFCC66; padding-top: 10px; padding-bottom: 10px; padding-left:10px; border-radius: 15px; margin-bottom: 10px; text-align: left;">Traduction réalisée par Meurisse. D pour [http://shop.mchobby.be shop.MCHobby.be] - '''Licence CC-BY-SA.'''<br />
'''Crédit de traduction:''' Toute référence, mention ou extrait de cette traduction doit également être explicitement accompagné du crédit de traduction suivant : «  Traduction par MCHobby ([http://shop.mchobby.be shop.MCHobby.be]) » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.</div>
Traduction réalisée par Meurisse. D pour shop.MCHobby.be - Licence CC-BY-SA.
Crédit de traduction: Toute référence, mention ou extrait de cette traduction doit également être explicitement accompagné du crédit de traduction suivant : «  Traduction par MCHobby (shop.MCHobby.be) » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.
<div style="border: 1px solid #BAC6C7; background-color: #F1BBBB; padding-top: 10px; padding-bottom: 10px; padding-left:10px; border-radius: 15px; margin-bottom: 10px; text-align: left;">Un message important à ne pas rater!</div>
Un message important à ne pas rater!
<div style="background-color: #B6F7B8; padding: 8px 10px; border-radius: 0; border: 1px solid #30C164; margin-left: 10px; margin-bottom:10px; border-radius:5px;">Encore un autre modèle</div>
Encore un autre modèle

Voyez le Color Picker de W3Schools pour les couleurs ;-)

Boxes

Exemple TmBox

{{tmbox | text = En cours de traduction}}
{{tmbox | type = speedy | text = Pas Op! Une betise tu va bientôt faire une fois}}

Exemple AmBox

{{ambox | text = Some text.}}
{{Ambox
| type       = delete
| image      = [[File:StopHand.png|40px|alt=Stop]]
| textstyle  = color: red; font-weight: bold; font-style: italic;
| text       = Text for a big box, for the top of articles.
}}

{{ambox-stop | text = Ne surtout pas faire cette bêtises!!! }}

IFrame (vidéo)

Exemple de IFrame

{{#Widget:Iframe |url=https://www.youtube.com/embed/lmoz-XrSfEw |width=420 |height=315 |border=0 }}

{{#Widget:Iframe
|url=https://www.youtube.com/embed/lmoz-XrSfEw
|width=420
|height=315
|border=0
}}

Navigation & Formatage

Navigateur

Petite structure permettant de naviguer plus facilement dans les articles composés de plusieurs pages.

Déclaration à l'aide d'un template

{{TFT-SHIELD-NAV}}

Anciennement, le contenu du template était:

 <div style="position: absolute; right:10px; background-color: #f6f6f6; padding-right: 5px; border: 1px #d8d8d8 solid;">
* Introduction  
** [[Ecran tactile 2.8" TFT]]
* Librairie GFX
** [[Tutoriel Librairie Adafruit GFX|Tutoriel GFX]]
** [[Tutoriel Librairie Adafruit GFX - Couleurs 16 Bits|Couleurs 16 bits]]
* Acheter
** [http://mchobby.be/PrestaShop/product.php?id_product=16 Ecran tactile 2.8"]
</div>

Il est maintenant remplacé par l'utilisation du template {{TUTO-NAV}} prenant en charge l'affichage des éléments HTML du navigateur.

Voici donc le nouveau contenu de {{TFT-SHIELD-NAV}}

{{TUTO-NAV|
* Introduction  
** [[Ecran tactile 2.8" TFT]]
* Librairie GFX
** [[Tutoriel Librairie Adafruit GFX|Tutoriel GFX]]
** [[Tutoriel Librairie Adafruit GFX - Couleurs 16 Bits|Couleurs 16 bits]]
* Acheter
** {{pl|16|Ecran tactile 2.8"}}
}}

Bas de page

Utilise la technique du template reprenant la nomenclature suivante:

{{TFT-SHIELD-TRAILER}}

Qui contient généralement:

<hr />
<small>Source: [http://learn.adafruit.com/wave-shield-voice-changer/overview]

''Réalisé avec l'aide de Mr Carette J. à qui nous remettons tous nos remerciements.''</small>

{{ADF-Accord}}

{{MCH-Accord}}

Bloc

Bloc Etroit

Les blocs permettent de mettre en place une section plus étroite pour placer du texte à gauche du navigateur... sans devoir utiliser soit même une série de

{{bloc-etroit
   |text=Le texte a faire paraitre dans le bloc :-) avec toute sorte de truc Wiki
}}

Bloc Download

Bloc présentant un aspect plus agréable qu'un simple lien. Le texte de la boite passe également à 120%.

Download-icon.pngTéléchargez Raspbian PiTFT 2.8"
{{download-box|Téléchargez Raspbian PiTFT 2.8"|http://adafruit-download.s3.amazonaws.com/PiTFT28R_raspbian140620_2014_08_25.zip}}

Formatage de texte

Hormis le formatage standard de médiawiki, voici quelques petits extra:

Comment mettre un texte en souligné ;-)

Comment mettre {{underline|un texte en souligné}}

Comment mettre un text en overline

Comment mettre {{overline|un text en overline}}

Comment afficher LeNomDuneFonction() ou du code en courrier :-)

Comment afficher {{fname|LeNomDuneFonction()}} en courrier

Exemple de page type

{{Voice-Changer-NAV}}

{{traduction}}

{{bloc-etroit
   |text=Blablabla
}}

{{Voice-Changer-TRAILER}}

Ce qui produit:


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Blablabla


Source: Wave Shield Voice Changer. Crédit: Adafruit Industries

Réalisé avec l'aide de Mr Carette J. à qui nous remettons tous nos remerciements.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.

Liste des tutoriels

Flag spéciaux:

  • traduction=1 : permet d'indiquer un banner "under construction" à la place de l'image du tutoriel. Affiche également le texte "TRAVAUX EN COURS." en tête de description.
  • url=http://xxx : a utiliser à la place de link pour pointer vers une page externe au Wiki
{{ttuto-begin}}
{{ttuto-begin}}

{{ttuto
  |label=Capteur de courant
  |descr=Mesure de puissance/energie dans une installation électrique.
  |img=Senseur-Courant.jpg
  |link=SENSEUR-COURANT
  |traduction=1
}}

{{ttuto
  |label=Arduino Yun
  |descr=Arduino '''Yun''', spécialiste du WIFI et du Net. <font color="red">avec traduction de la librairie en français</font>.
  |img=tlogo-yun.jpg
  |link=Arduino Yun
}}

{{ttuto-end}}

Capteur de courant

Tlogo-under-construction.jpg

TRAVAUX EN COURS. Mesure de puissance/energie dans une installation électrique.

Arduino Yun

Tlogo-yun.jpg

Arduino Yun, spécialiste du WIFI et du Net.

 

TABLES

Parts List - Table

{{parts-begin}}

{{parts-item
  |name=Afficheur
  |descr=Afficheur LCD (2x16 caractères)
  |img=afficheur-lcd-afficheur.jpg
  |link=http://shop.mchobby.be/product.php?id_product=176
  |qty=1
}}

{{parts-item
  |name=Potentiomètre
  |descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
  |img=afficheur-lcd-pot.jpg
  |link=http://shop.mchobby.be/product.php?id_product=33
  |qty=1
}}

{{parts-end}}


  Description Quantité
Afficheur
Afficheur-lcd-afficheur.jpg
Afficheur LCD (2x16 caractères)
disponible ici chez MCHobby
1
Potentiomètre
Afficheur-lcd-pot.jpg
pot. 10 KOhms linéraire
Inclus avec l'afficheur LCD
disponible ici chez MCHobby
1

parts-item prédéfini

Plutôt que recoder systématiquement toutes les informations d'un part-item, il est également possible d'utiliser l'un des prédéfini.

Exemple :

{{parts-begin}}
{{parts-item-pi|qty=1}}
{{parts-end}}
  Description Quantité
Raspberry Pi B
Part-item-pi.jpg
Raspberry Pi

disponible ici chez MCHobby
1
Raspberry Pi 3 ou Pi 2
Part-item-piplus.jpg
Raspberry Pi 3

disponible ici chez MCHobby
1

Modèle pour Création :

{{parts-item
  |name=Raspberry Pi
  |descr=Raspberry Pi<br />{{{note| }}}
  |img=part-item-pi.jpg
  |link=http://mchobby.be/PrestaShop/product.php?id_product=141
  |qty={{{qty}}}
}}

Liste :

Liste des parts-items

Assemblage - Tables

décrit les opérations d'assemblages

Part-item-pi.jpg Le texte de description ici
Afficheur-lcd-afficheur.jpg


Part-item-pi.jpg

Avec paramètre additionnel qui réduit l'image à 250px (size=250px)

Autre ligne

  • Et bullet list :-)
{{asm-begin}}

{{asm-row|img=part-item-pi.jpg}}
{{asm-text}} Le texte de description ici

{{asm-row|img=afficheur-lcd-afficheur.jpg|size=250px}}
{{asm-img|img=part-item-pi.jpg}}
{{asm-text}} Avec paramètre additionnel qui réduit l'image à 250px (size=250px)

Autre ligne
* Et bullet list :-)
{{asm-end}}

WikiMedia - Tables

Titre1 Description
xx yyyy
xx yyyy
xx yyyy
{| class="wikitable" border="1"
|-
| align="center" | Titre1
| align="center" | Description
|- style="font-size: 90%"
| align="left" | xx	
| align="left" | yyyy	
|- style="font-size: 90%"
| align="left" | xx	
| align="left" | yyyy	
|- style="font-size: 90%"
| align="left" | xx	
| align="left" | yyyy	
|}


Titre1 Titre2 Description
ww xx yyyy
ww xx yyyy
ww xx yyyy
{| class="wikitable" border="1"
|-
| align="center" | Titre1
| align="center" | Titre2
| align="center" | Description
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
|}
Titre1 Titre2 Titre3 Description
ww xx yyyy zzzz
ww xx yyyy zzzz
ww xx yyyy zzzz
{| class="wikitable" border="1"
|-
| align="center" | Titre1
| align="center" | Titre2
| align="center" | Titre3
| align="center" | Description
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
| align="left" | zzzz	
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
| align="left" | zzzz	
|- style="font-size: 90%"
| align="left" | ww	
| align="left" | xx	
| align="left" | yyyy	
| align="left" | zzzz	
|}
Type de lumière ambiante... Lumière ambiante (lux) Valeur photo-Résistance (Ohms) Photo-résistance + R (Ohms) Courant (Photo-résistance + R) Tension aux bornes de R
Hall faiblement éclairé 0.1 lux 600 KOhms 610 KOhms 0.008 mA 0.1 V
Clair de lune 1 lux 70 KOhms 80 KOhms 0.07 mA 0.6 V
Pièce sombre 10 lux 10 KOhms 20 KOhms 0.25 mA 2.5 V
Jour très couvert (sombre) / Pièce lumineuse 100 lux 1.5 KOhms 11.5 KOhms 0.43 mA 4.3 V
Jour couvert 1000 lux 300 Ohms 10.03 KOhms 0.5 mA 5V
{| class="wikitable" border="1"
|-
| align="center" | Type de lumière ambiante...
| align="center" | Lumière ambiante (lux)
| align="center" | Valeur photo-Résistance (Ohms)
| align="center" | Photo-résistance + R (Ohms)
| align="center" | Courant (Photo-résistance + R)
| align="center" | Tension aux bornes de R
|- style="font-size: 90%"
| align="left" | Hall faiblement éclairé	
| align="left" | 0.1 lux	
| align="left" | 600 KOhms	
| align="left" | 610 KOhms
| align="left" | 0.008 mA
| align="left" | 0.1 V
|- style="font-size: 90%"
| align="left" | Clair de lune
| align="left" | 1 lux
| align="left" | 70 KOhms
| align="left" | 80 KOhms
| align="left" | 0.07 mA
| align="left" | 0.6 V
|- style="font-size: 90%"
| align="left" | Pièce sombre
| align="left" | 10 lux
| align="left" | 10 KOhms
| align="left" | 20 KOhms
| align="left" | 0.25 mA
| align="left" | 2.5 V
|- style="font-size: 90%"
| align="left" | Jour très couvert (sombre) / Pièce lumineuse
| align="left" | 100 lux
| align="left" | 1.5 KOhms
| align="left" | 11.5 KOhms
| align="left" | 0.43 mA
| align="left" | 4.3 V
|- style="font-size: 90%"
| align="left" | Jour couvert
| align="left" | 1000 lux
| align="left" | 300 Ohms
| align="left" | 10.03 KOhms
| align="left" | 0.5 mA
| align="left" | 5V
|}

Aligner des tables

Bouton Entrées PiGrrl 1 Entrées Arduino
A B1 D2
+ B2 D3
Bouton Entrées PiGrrl 2 Entrées Arduino
2 B1 D7
1 B2 D8
{| class="wikitable" border="1" style="display: inline-block;"
|-
| align="center" | '''Bouton'''
| align="center" | '''Entrées PiGrrl 1'''
| align="center" | '''Entrées Arduino'''
|- style="font-size: 90%"
| align="center" | A
| align="center" | B1
| align="center" | D2
|- style="font-size: 90%"
| align="center" | +
| align="center" | B2
| align="center" | D3
|}

{| class="wikitable" border="1" style="display: inline-block;"
|-
| align="center" | '''Bouton'''
| align="center" | '''Entrées PiGrrl 2'''
| align="center" | '''Entrées Arduino'''
|- style="font-size: 90%"
| align="center" | 2
| align="center" | B1
| align="center" | D7
|- style="font-size: 90%"
| align="center" | 1
| align="center" | B2
| align="center" | D8
|}

Liens Produits & Categ

Hyperlien produit

Permet de créer rapidement & facilement un lien produit vers le WebShop à partir de l'ID produit.

Utilise le code PL en minuscule pour Product Link.

{{pl|_ID_|_texte_}} 

Exemple:

{{pl|345|The Pi-Rack de la mort qui tue}}

The Pi-Rack de la mort qui tue

Hyperlien Categorie

Permet de créer rapidement & facilement un lien catégorie vers le WebShop à partir de l'ID produit.

Utilise le code CL en minuscule pour Category Link.

{{cl|_ID_|_texte_}} 

Exemple:

{{cl|43|La gamme Trinket}}

La gamme Trinket

Hyperlien Recherche produit

Permet de créer rapidement & facilement un lien recherche de produit sur le WebShop à partir de d'un mot clé.

Utilise le code SL en minuscule pour Search Link.

{{sl|_MOT_CLE_|_texte_}} 

Exemple:

{{sl|neopixel|Les différents produits NéoPixel}}

Les différents produits NéoPixel


link-product-CODE

Commence par "link-product-" + code produit

link-product-categ

Lien fournisseur

{{pl|447|châssis Zumo}} {{polpl|1418}} 

châssis Zumo lien pololu

Editing Tools / UNICODE

Toolbox

Quelques outils pour créer plus facilement du contenu sur ce wiki.

Divers