Has anyone had any experience with the Arducam Mega cameras at all that could assist me.
I have a 5MP version of this camera. The camera communicates with the Teensy 4.0 via the SPI interface.
I have got the camera talking but am having trouble getting any sensible data out of the camera.
To test the camera, I have set it to 96x96 resolution.
The camera can output data in JPG, RGB and YUV formats.
If I fetch the data in JPG format and save the data to an SD card file, I can view the data on my computer and I can see the image. Therefore, I know that I am grabbing the data from the camera correctly.
However, I want the data in RGB format for additional processing later on.
When I set RGB format, I get 18432 bytes of data which makes sense if the pixel data is spread over 2 bytes.
However this data does not represent Any image. I have tried interpreting the data as 565, 555 and 444 bits. I have even reversed the bit order for the pixel word.
I am now a little lost as to what else to try. I can not find anything online regarding for data format, hence asking here.
regards
Keith
I have a 5MP version of this camera. The camera communicates with the Teensy 4.0 via the SPI interface.
I have got the camera talking but am having trouble getting any sensible data out of the camera.
To test the camera, I have set it to 96x96 resolution.
The camera can output data in JPG, RGB and YUV formats.
If I fetch the data in JPG format and save the data to an SD card file, I can view the data on my computer and I can see the image. Therefore, I know that I am grabbing the data from the camera correctly.
However, I want the data in RGB format for additional processing later on.
When I set RGB format, I get 18432 bytes of data which makes sense if the pixel data is spread over 2 bytes.
However this data does not represent Any image. I have tried interpreting the data as 565, 555 and 444 bits. I have even reversed the bit order for the pixel word.
I am now a little lost as to what else to try. I can not find anything online regarding for data format, hence asking here.
regards
Keith