Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does't work when I use SD library #12

Open
chall3ng3r opened this issue Nov 22, 2015 · 4 comments
Open

It does't work when I use SD library #12

chall3ng3r opened this issue Nov 22, 2015 · 4 comments

Comments

@chall3ng3r
Copy link

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.

@22061991
Copy link

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

@chall3ng3r
Copy link
Author

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

@22061991
Copy link

22061991 commented Jan 2, 2016

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 ?

@chall3ng3r
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants