This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

camera lib for nrf52 dk

Does any one have any library connect the nrf52 DK to a camera with GPIO?

Many thanks

Parents
  • I know we have some code ported to the nRF52 for the Arducam mini 2MP which uses SPI (data) and I2C (control) to communicate with the camera. If this is what you look for I will ask if we can make it public.


    UPDATE:

    Here is an example for PCA10040 or PCA10056 for ArduCAM mini 2MP:

    ArduCAM.zip

    cpplib.zip

    The example do not use the standard SDK drivers, but custom ones written in C++. The cpplib folder have to be placed under nRF5_SDK_13.0.0-1.alpha\components. The ArduCAM folder should be placed under nRF5_SDK_13.0.0-1.alpha\examples\MyProjects or similar folder.

    See the ArduCAM::spiTwiInit() function for which pins are used for the ArduCAM mini 2MP. If the VCC and GND pin on the ArduCAM are bent, the module can be directly connected in header P4: P0.22-P0.27 on PCA10040 (nRF52 DK), and P24: P1.09 - P0.13 on PCA10056 (nRF52840 PDK).

  • I would consider doing that now (we will probably do it in the future anyway).

    I agree that reading directly from the OV7670 image sensor would be possible with the nRF52, but doing other things at the same time (especially with the SoftDevice) might be problematic, especially if you intend to capture frames continuously (15 fps for example). Just my thoughts though, I have not tested it.

Reply
  • I would consider doing that now (we will probably do it in the future anyway).

    I agree that reading directly from the OV7670 image sensor would be possible with the nRF52, but doing other things at the same time (especially with the SoftDevice) might be problematic, especially if you intend to capture frames continuously (15 fps for example). Just my thoughts though, I have not tested it.

Children
No Data
Related