I'm new at Arduino projects. I googled but I couldn't quite get an answer.
- Arduino Uno R3 clone
- 4 pin push button
- 3 color RGB LED Module
- HC06 Bluetooth-Serial Module Card
- Arduino PIC Camera Module OV7670
In my project, when the button is pushed, the Arduino takes a photo from the camera module and sends it with an HC06 Bluetooth Module to an Android device. And it receives the answer to turn on the Led green or red.
The main problem is how can I capture the photo and send it with bluetooth? I can handle the Android side.
I reviewed that code: OV7670 FIFO on GitHub.
In the "Take Picture" method, I understand that the OV7670 continuously grabs frames and stores them in itself. I send it a signal to load a frame on Data Out pins. (D0-7) It loads first 8 bytes on the pins and in Arduinoo, in the for loops for height, width and byte for each pixels, I read in it from D0-7 and send a signal for next byte array.
But I can't understand how to connect the OV7670 to the Arduino. In code, there are conts called
RCLK. On the OV7670 I've got
PWDN pins. How can I connect these pins like in the github link?
By the way here is my OV7670, I read there are different versions of OV7670: