PiFace2-Manuel-Sorties
En cours de traduction/élaboration. |
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.
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.
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).
Note: If the outputs are to be used for devices that operate at greater than 5V then jumpers must be set appropriately to avoid damage. For example disconnect jumpers JP4, JP5, JP6 and JP7. |
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.