ov7670-no-ram-arduino-uno icon indicating copy to clipboard operation
ov7670-no-ram-arduino-uno copied to clipboard

It does't work when I use SD library

Open chall3ng3r opened this issue 8 years ago • 4 comments

Hi, I am able see the output from camera on serial port, compiled with Arduino. My need is to save this data to SD card, attached to SPI on same Uno board.

The issue is, as soon as I add SD and SPI libraries and make instace of File, the code stops working, the data sent to serial, without even doing anything to the any other part of the code.

My understanding is that SD and SPI libraries are messing with the code you've written.

I will appreciate if you code give me some pointers to working with SD lib to save the camera's out to file instead of sending to serial.

I've replaced in useVga define

UDR0=(PINC&15)|(PIND&240);
 to
myFile.write((PINC&15)|(PIND&240));

But as noted, as soon as I make instance of File, the code just stops working, no output to serial.

Your kind help will be appreciated.

chall3ng3r avatar Nov 22 '15 22:11 chall3ng3r

If you are successfully grabbing image from ov7670 without fifo then can please help me that how you made this possible? How you are grabbing image and by using which IDE? I would be very thankful to you. Kindly help me out I am a newbie to arduino

22061991 avatar Dec 28 '15 17:12 22061991

So far no luck, I bought another camera wich is serial only, but max resolution is 640x480. Which is okay for my need.

chall3ng3r avatar Dec 29 '15 09:12 chall3ng3r

Actually in Arduino ide i am not able to run this code. I am new to it and can you please guide me how to run this code and in which ide ?

22061991 avatar Jan 02 '16 19:01 22061991

I recommend you to visit arduino.cc and look under Learning section. They have pretty good step by step guides for newbies. I learn mostly from there as well.

chall3ng3r avatar Jan 02 '16 22:01 chall3ng3r