Open tddouglas opened 3 years ago
Hi, did you ever figure this problem out or make any progress on it? I am having the exact same issue with the Arducam 5 MP plus module. I am trying to interface it with an Arduino Nano directly though. Thanks!
No I had to give up on this project because I couldn't get around this. Very sad there is non-existent support
hi did you ever get this figured out
hi did you ever get this figured out
For me it was a baud rate issue. Default was 921600 and had to lower to 256000 to use camera with Arduino Nano even though Nano should have been OK up to 1 MHz. Hope that helps
so im using an uno, id have to change it to what baud rate for it to work?
Guys i did it! I use arduino uno and a 5MP plus arducam....What I did was modify in the ArduCAM_Mini_5MP_OV5642_Plus_Functions sketch the baud rate of the Serial.begin to 115200, bc in the code it may be 921600 so i just deleted the #if defined(SAM3X8E) and just left Serial.begin(115200); Wire.begin(); this is how it looks now:
void setup() {
// put your setup code here, to run once:
uint8_t vid, pid;
uint8_t temp;
Serial.begin(115200);
Wire.begin();
//Serial.begin(921600);
Serial.println("ACK CMD ArduCAM Start! END");
// set the CS as an output:
pinMode(CS, OUTPUT);
digitalWrite(CS, HIGH);
...
I'm using an Arudino Uno Wifi Rev2 board with an Arducam 5MP Plus OV5642 Mini Module Camera Shield SPI Camera Module and have wired it up just as instructed in the uno documentation:![uno_wifi_arducam](https://user-images.githubusercontent.com/18606199/126048367-72bdfe2f-8723-4508-bf64-c6c9ca7040aa.jpg)
I've configured the![ArduCam_Setup](https://user-images.githubusercontent.com/18606199/126048422-eac3e0f8-8f8f-41ab-8427-bdc0042ee985.png)
memorysaver.h
file, and I've downloaded the libraries and moved them under thearduino/libraries
folder as instructed in readme. But I am unable to get any of the example sketches working. Most recently, I attempted theArduCam_Mini_5MP_OV5642_Plus_Functions
sketch and I am unable to get it to communicate with the Arducam Host v2. It doesn't provide the normal boot up text and only showArduCam Single
when I click the capture button.If I change the baud rate to 115200 so the Arduino Serial Monitor can read it, I continually get![NewBaud](https://user-images.githubusercontent.com/18606199/126048555-d7e4e228-fe9c-4520-be3a-08f63d4b11f7.png)
"ACK CMD SPI interface Error! END"
error messages.Can you provide any debug steps for getting my ArduCam to work over SPI?