* /CS - broche "Chip Select", qui permet d'activer la puce.
* /CS - broche "Chip Select", qui permet d'activer la puce.
−
Finally of course, a source of analog data, we'll be using the basic 10k trim pot.
+
Et bien entendu, pour finir, la source de donnée analogique. Nous allons utiliser un potentiomètre de 10k.
−
The MCP3008 has a few more pins we need to connect: AGND (analog ground, used sometimes in precision circuitry, which this is not) connects to GND, and VREF (analog voltage reference, used for changing the 'scale' - we want the full scale so tie it to 3.3V)
+
Le MCP3008 a quelques broches complémentaires qui doivent aussi être connectées:
+
* AGND (analog ground, used sometimes in precision circuitry, which this is not) connects to GND, and VREF (analog voltage reference, used for changing the 'scale' - we want the full scale so tie it to 3.3V)
Below is a wiring diagram. Connect the 3.3V cobbler pin to the left + rail and the GND pin to the right - rail. Connect the following pins for the MCP chip
Below is a wiring diagram. Connect the 3.3V cobbler pin to the left + rail and the GND pin to the right - rail. Connect the following pins for the MCP chip