User frequently reported that the ArduCAM shield doesn’t work with DUE board, and it is now a known issue.
We figured out that in the Due board the default SD library speed is much faster than ArduCAM shield. The current ArduCAM shield SPI timing only supports less than 10Mbps. So if you want to work ArduCAM and DUE board together, the SPI should be configured with the lower speed.
To work around this issue, you have to modify the SD library below.
1. Please add the last line to \libraries\SD\utility\Sd2Card.h like follows.
/** Set SCK to max rate of F_CPU/2. See Sd2Card::setSckRate(). */
uint8_t const SPI_FULL_SPEED = 0;
/** Set SCK rate to F_CPU/4. See Sd2Card::setSckRate(). */
uint8_t const SPI_HALF_SPEED = 1;
/** Set SCK rate to F_CPU/8. Sd2Card::setSckRate(). */
uint8_t const SPI_QUARTER_SPEED = 2;
uint8_t const SPI_ARDUCAM_SPEED = 3;
2. Please change the SDClass::begin() function in the \libraries\SD\SD.cpp file like follows:
Overview ArduCAM all given examples are using auto exposure for easy use of the camera. But somethings users want to control the exposure more precisely. This article will cover how to do manually exposure to Read more…
Introduction ArduCAM series camera shield is a universal camera control board for Arduino. It hides the complex nature of the camera and provides the plug and play camera control interface as well as the ready Read more…
The author Robert Chin wrote a book for Home Security System DIY PRO using Android and TI CC3200 SimpleLink using ArduCAM CC3200 UNO DIY WIFI Start Kit. If you want to build home security system by Read more…
0 Comments