Raspberry Pi for Python Programmers Cookbook by Tim Cox

Raspberry Pi for Python Programmers Cookbook by Tim Cox

Author:Tim Cox
Language: eng
Format: epub, pdf
Publisher: Packt Publishing


Similarly, we can also enable the SPI module by adding spi-bcm2708.

Next, we will install some tools to use I2C devices directly from the command line, as follows:

sudo apt-get update sudo apt-get install i2c-tools

Finally, shut down the Raspberry Pi before attaching the hardware in order to allow the changes to be applied, as follows:

sudo halt

You will need a PCF8591 module (retailers of these are listed in Appendix, Hardware and Software List) or you can obtain the PCF8591 chip separately and build your own circuit (see the There's more… section for details of the circuit).

The PCF8591 ADC and sensor module from dx.com



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.