I2C access to 5MP cam OV5647

I have a Motorited Focus 5MP camera b0176.

The OV5647 has I2C Adress 0x6C for writing and 0x6D for reading, right?

Why do i not see these addresses when i scan the bus?

Can i access the chip with the command “i2cset”?


Yes, the i2cdetect tool will detect it with 7bit address. For OV5647, it should be 0x36.


“i2cdetect -y 0” gives 0x0c as the only result.

And when i do "i2cset -y 1 0x36 0x30 it says “Error: Write failed”

How can i access the camera from the command line?


Before you use the camera, you should enable the camera’s POWER EN signal.

You can use raspistill -t 0 to run the camera, then you will detect the camera’s i2c address.



Thank you very much bin! What a funny mistake!

You are welcome.Let me know if you need more help.