Closed nikita-kotsehub closed 3 years ago
The modules from Arducam connect the data, vsync, and href pins internally, so they are not suitable to use with Adafruit_CircuitPython_OV2640. Only modules which expose the necessary pins without processing are compatible.
I could connect OV2640 SPI to Arduino Nano RP2040 Connect and take JPEG images with Arducam's code and then the HostApp. However, their code does not support RAW image format. I thought we could add the functionality for this library? Can anyone here please help me with taking a RAW image with OV2640 SPI on Arduino Nano RP2040 Connect?
I connected OV2640 SPI to Nano RP2040 as follows:
In this library, I figured I need to use
class adafruit_ov2640.OV2640(i2c_bus, data_pins, clock, vsync, href, shutdown=None, reset=None, mclk=None, mclk_frequency=20000000, i2c_address=48, size=1
. I located thei2c_bus
andclock
pins, but I am not sure which pins to put fordata_pins
,vsync
, andhref
. I assume these pins are not relevant to me because I have a SPI connection?@jepler