UniPi-entrée-analogique

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

Introduction

UniPi features two analog 0-10V input channels (via the MCP3422, address 0x68) marked as AI1 and AI2. Each channel has its own + and – (e.g. AI1+ and AI1-). The + connector expects positive voltage from the connected device and – expects the negative pole (the GND).

The guaranteed accuracy is 5% however 1% is commonly reachable.

To correctly calculate the input voltage, a coefficient of the resistor divider has to be taken into account. The coefficient of each channel is saved in EEPROM as single precision binary floating point format binary32 (IEEE 754).

Before version 1.1 the coefficient is not saved in the EEPROM and thus must be calculated during conversion in software (Typically the value is around 5.56).

x


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.