
DVK512 User Manual
Waveshare
16
V2.4, Jan. 21, 2015
2.11
PCF8591 DA Demo
1)
Connect the PCF8591 module to the I2C interface on DVK512;
2)
Connect the Pin AOUT on PCF8591 to the LED pin header on DVK512, as Figure
15 shows.
Figure 15: Connecting the Pin AOUT on PCF8591 to the LED pin header on DVK512
3)
Enter the terminal, and input:
root@ raspberrypi:/#
pcf8591-DAC
4)
The digital conversion value is displayed in the terminal. And the brightness of
the LED indicator on DVK512 will change with the level variation on the pin
AOUT.
2.12
Acceleration of Gravity and Magnetic Sensors LSM303DLHC
1)
Connect the LSM303DLHC module to the I2C interface on DVK512, as Figure 16