PiFace2-Manuel-Sorties

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche


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.

The 8 orange screw terminals are open-collector (see below for more details) outputs used to control external components such as LEDs, lights or motors and are labelled on the underside of the board.

PiFace2-Manuel-Sorties-00.jpg

Indicateurs LEDs

The onboard LEDs can be used to show the status of an application running on the Raspberry Pi® without any additional components. They are also useful for debugging circuits and code to confirm intended output state.

Connexion des sorties

To wire up an external LED connect the anode (longer leg of the LED) to the 5V screw terminal.

Connect the other leg, via a resistor (typically 330 ohm for most LEDs), to an output terminal.

When you enable the output, PiFaceTM Digital 2 allows current from the 5V supply to flow to ground through the LED which causes it to light up.

PiFace2-Manuel-Sorties-10.jpg

PiFace2-Manuel-Sorties-11.jpg

Sorties à collecteur ouvert

The 8 outputs on PiFaceTM Digital 2 are open-collector outputs, which can be used to control devices such as lights, motors or relays (which may require different voltages).

Because the outputs are open-collector, they do not output any voltage, instead they enable or disable current to flow to ground.

This gives greater flexibility as the outputs can operate at different voltages (since the PiFaceTM Digital 2 doesn’t supply the voltage).


Traduction basée sur le document Technical DataSheet produit par Farnell

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.