Rasp-Hack-LED

De MCHobby - Wiki
Révision datée du 21 octobre 2012 à 09:29 par Admin (discussion | contributions) (Page créée avec « == Introduction == Ce tutoriel vous explique comment exploiter comment commander des LEDs (DELs) en utilisant un [[http://mchobby.be/PrestaShop/product.php?id_product=160 PI... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Sauter à la navigation Sauter à la recherche

Introduction

Ce tutoriel vous explique comment exploiter comment commander des LEDs (DELs) en utilisant un [PI-Cobbler] et Python. Assurez-vous d'avoir [mis votre environnement Python à jour].

PI Cobbler & resistances

Lorsque vous raccordez le câble GPIO, assurez vous de faire correspondre le fil rouge avec le broche P1 du GPIO du Raspberry (du côté de la carte SD). Le fil rouge, c'est la pin/broche #1 du câble.

L'autre côté du câble ne peut s'insérer que d'une seule façon sur le cobbler car il y a un détrompeur.

xxx Place the cobbler onto the board board straddling the center line. Connect the GND pin (ground) to the blue power rail on the side of the breadboard. You'll need two resistors (any values from 100 ohm up to 1000 ohm are fine). One end of the resistors connects to the cobbler row marked #18 and then the other side connects to a row that isn't used by the cobbler. The other resistor connects to the cobbler row marked #23 and the other end to another empty row.

Rasp-Hack-LED-Res.jpg