ArduCAM / Arduino

This is ArduCAM library for Arduino boards
MIT License
476 stars 349 forks source link

Arduino UNO R3 + OV5642 possible to output array value directly to serial? #399

Open i7-Ryzen opened 5 years ago

i7-Ryzen commented 5 years ago

Hi,

After scouting the web and reading through countless forum and github, I finally decided that it might be easier and faster to just ask for a solution here.

I bought an OV5642 for the reason that it is 5MP (2592 x 1944 px) and I want to be able to extract as much information as I can. According to the manual, each pixel corresponds to either red, blue, or green. The different color pixels are arranged in a typical pattern.

I want to be able to do the following task:

1- send a command to arduino (to do #2)

2- ov5642 take a picture (autosave in its 8MB buffer)

3- Arduino returns the value (intensity) of each pixel in order to Serial

Then I'll concatenate the array, and do some voodoo algebra to generate the image.

Arduino UNO R3 OV5642 -> https://www.robotshop.com/ca/en/arducam-mini-camera-module-shield-5-mp-ov5642-arduino.html#Supplier-Product-Code

Any help is much appreciated. Thank you

UCTRONICS commented 5 years ago

@i7-Ryzen You can refer to this demo https://github.com/ArduCAM/Arduino/blob/master/ArduCAM/examples/mini/ArduCAM_Mini_5MP_Plus_Video_Streaming/ArduCAM_Mini_5MP_Plus_Video_Streaming.ino