Data Sheet

Guide V1.0
Email: keen@elecrow.com Web: www.elecrow.com ---Designed by Elecrow Keen
39
Connection diagram
Tips: Select photosistence, so we need to use P5, P4 sand P6 is null.
PCF 8591
VCC -> 5V0
GND -> GND
SDA -> SDA1
SCL -> SCL1
Compile and Run
Tips: Refer to the operation demo (Step4 to Step7).
If print: Unable to open I2C device
You need to open IIC. Enter Desktop: Preferences->Raspberry Pi
Configuration->Interfaces->Enabled I2C->reboot.
Application effect
Running the program, you will see the analog value of photosistence sensor.