Hey everyone, I’m having trouble getting my Arducam Mini 5MP Plus module detected when connected to an ESP32. Hoping someone here has run into this before.
Hardware:
Camera: Arducam Mini 5MP Plus (OV5642 sensor, product sheet confirms OV5642)
The problem: the camera module is simply not being detected. I dug into the code and found that the vid variable which reads the chip ID high byte always returns 0x42. The low byte also returns 0x42. For the OV5642 sensor, I should be seeing 0x56 for the high byte and 0x42 for the low byte (chip ID = 0x5642). Instead I’m getting 0x4242.
What I’ve tried so far:
Verified all wired connections multiple times — everything looks correct
Double-checked all configurations in memorysaver.h from the ArduCAM library
The code compiles successfully in Arduino IDE from the ArduCAM_ESP32S_UNO repo
Has anyone seen this 0x42 chip ID issue before? Is this a library compatibility problem or could it be something else? I’m stuck.
Thanks for the detailed report. The chip ID mismatch you’re seeing (0x42 instead of 0x56 for the high byte) is a strong indicator that the camera sensor isn’t responding correctly over the I2C/SPI interface, or the driver in the current codebase simply isn’t recognizing the OV5642 properly.
This library has been tailored more closely for ESP32 boards and may handle the OV5642 sensor initialization differently. The ArduCAM_ESP32S_UNO repo you’re currently using was originally written with a different board in mind, which could explain why the sensor isn’t being recognized even though your wiring and config look good.
Give that a shot and let us know if the chip ID comes through correctly.
Thanks for the suggestion, but I think there’s a mismatch here. I took a look at that esp32-camera repository and it appears to be designed for parallel interface cameras, not SPI.
My ArduCAM Mini 5MP Plus uses SPI and I2C interfaces — it’s not a parallel camera module. The pinout and communication protocol are completely different. I don’t think that library is going to work at all with my module unless I’m missing something.
Is there a different library or approach that would work with the SPI/I2C version of this camera on the ESP32? I’m still stuck with the 0x42 chip ID using the ArduCAM_ESP32S_UNO code.