Hi, I picked up an Arducam OV2640 2MP PLUS for a school project and I’m trying to get it running with an Arduino UNO R4 WIFI in the Arduino IDE. I can’t seem to find a library that actually works with this board. The examples fail and it seems like the library just doesn’t support the R4. Has anyone run into this?
Hi, thanks for the post. To narrow it down, can you tell me which library/version and example sketch you’re using, what you have selected under Tools > Board, and paste the exact compile error you’re seeing? That’ll help us figure out if it’s a board-support issue or something in the sketch.
I’m using the Arducam OV2640 library and I’ve got ‘Arduino UNO R4 WiFi’ selected under Tools > Board. I don’t have the full error log saved right now, but the compile fails with unsupported board/architecture errors. It’s for a school project so I’m just trying to figure out what will actually work.
Got it. Based on what you’re describing, the OV2640 2MP PLUS library support doesn’t cover the Arduino UNO R4 WIFI, which would explain the unsupported architecture errors. If you can grab the compiler output next time you compile, we can double check that, but it does sound like a library/board mismatch.
I’ll try to grab the log if I recompile. But to be honest I’ve been looking at alternatives. I saw the Mega 5MP camera and its GitHub page says it’s tested working on the UNO R4. I was thinking of switching to that instead of fighting the OV2640 library. Can you confirm the Mega 5MP actually works with the Arduino UNO R4 WIFI?
Yes, the Mega 5MP should be able to work with the Arduino UNO R4 WIFI board. That would be the more straightforward option for your setup.
Great, just want to be 100% sure before I go that route for the project. So the Mega 5MP is confirmed compatible with the Arduino UNO R4 WIFI in the Arduino IDE? I don’t want to end up with the same ‘no working library’ problem again.
Correct. To sum it up: the root cause of your original issue is that the OV2640 2MP PLUS library does not support the Arduino UNO R4 WIFI board. The Mega 5MP is confirmed to work with the Arduino UNO R4 WIFI, so switching to that is the recommended solution.