Open KlydeLencioco opened 6 years ago
@KlydeLencioco Please ensure your SD card's memory is less than 8G and format in Fat32.
Is 8gb sd card will do?
@KlydeLencioco Yes.
Thank you very much! It worked. Now I encounter that the fifo is oversized. What causes this one? and how can I fix it? thank you
@KlydeLencioco What's the camera's version are you using ? Please attached me your camera's picture .
I am using the ov5642 mini camera module
that is the camera I am using with the micro sd. My previous problem about saving the file came back.
@KlydeLencioco You are using the Mini 5MP Plus instead of Mini 5MP, Please use our ArduCAM_Mini_5MP_Plus_Multi_Capture2SD demo .
I've just tried that demo program. I am getting the error file open failed. My sd card now is 8gb and in fat32 format. How can I fix this?
Update: I was able to save the image on the sd card but it appears that the image is corrupted since I cant view the image on my computer.
Now the fifo is over sized again.
@KlydeLencioco Your camera capture total_time used 0 ms, I guess your hardware has not connect stable. Please ensure your hardware connect stable
@UCTRONICS I'm pretty sure that my connections are stable. Right now I am getting a fifo size of 0. The only working demo program that I have tried is the one that will use your host app. Your demo program ArduCAM_Mini_5MP_Plus_OV5462_RAW is also working and I get the raw file in my sd card. I can't understand why the demo program that will save a jpeg file is not working.
@KlydeLencioco
I will test it and give you a reply as soon as possible.
@KlydeLencioco I have tested it and it can work fine.
@UCTRONICS what pins on the shield should I connect to the atmega328p chip? thank you
@KlydeLencioco Please refer to this video demo https://www.youtube.com/watch?v=hybQpjwJ4aA&feature=youtu.be
@UCTRONICS where is the SD CS pin for this shield? I'm trying to connect this one to an atmega328p chip
@KlydeLencioco The SD card CS is Pin 9 when you plug it into the UNO board, it will connect to the pin 9.
@UCTRONICS I am connecting it to to pin 9. But it says SD card error. I dont know if the cs pin under the trigger pin of the shield is the cs pin for the sd card
@KlydeLencioco Please attach me your hardware connection diagram. On Arduino UNO platform, the memory size of the SD should less than 8G. What's more, the format should be fat32.
@UCTRONICS here is my connection to arduino uno/atmega328p. If I attached the shield on arduino directly it works perfectly but when I use dupont lines it cannot detect the sd card. I need to attach the shield through dupont line since I need my project to work on atmega328p chip.
@KlydeLencioco The CS of SD card is not the CS on ARDUCAM SHIELD you have connected. Look at the imge I attached for you.
@UCTRONICS thank you it fix the problem but it only works on the first try and the file cant be opened. Also the sd led indicator is just blinking. What is the meaning of that? is it not enough supply voltage?
@KlydeLencioco The led blinking means it is saving image data to the SD card. You should wait until the led blink stop.
@UCTRONICS its ok now but after some iteration it fails to open the file.
@KlydeLencioco How many memory left in your SD card, Is there not enough memory?
@UCTRONICS its ok now. Thank you very much for assisting. How can I increase the resolution of the image in the code? I am using the multicapture2sd.ino
@KlydeLencioco Just use myCAM.OV2640_set_JPEG_size(); to change the resolution
@UCTRONICS Iam having a probelm again connecting the shield using the dupont line. Sometimes it work sometime it doesnt. But if the shield is directly attached to arduino, it works absolutely fine. Do you have any idea how to fix this?
![Uploading 20181129_134325.jpg…]() ![Uploading 20181129_134301.jpg…]()
@UCTRONICS does it have anything to do with the wires I am using? I am using a 20cm dupont lines
@KlydeLencioco Please ensure the dupont lines as short as possible.
Hello. I am using the demo program ArduCAM_Mini_Capture2SD. I cant save the file to my sd card. I keed getting the error "file open failed". Has anybody encountered this error? Thank you. I really need help on this one.