-
Notifications
You must be signed in to change notification settings - Fork 242
Unable to see the test pattern on the serial monitor #55
Comments
And how to Open and View the get , pgm and x-portable-graymap files |
Hmm, it seems that the documentation has fallen out of date with respect to the code. I suggest setting log level to the default one (INFO), you seem to have set it to VERBOSE. It seems that when log from ISR is enabled, the application can not keep up with the timing of the frame, which eventually causes lines to be dropped. |
Thank you Sir! I (5339) camera_demo: Camera demo ready I typed in the browser as "http://192.168.1.30/pgm" . A file named 'pgm' got downloaded I added .pgm extension and the image I got the following image : I typed in the browser as "http://192.168.1.30/get" . A file named 'get' got downloaded I added .pgm extension and tried opening it , Image viewers says unsupported format . The same goes to http://192.168.1.30//x-portable-graymap how to open and view these files , and please help me in capturing the images. I use ESP-WROOM-32 DEVKITV1 development board and OV7725 camera. |
Based on the image, it looks like there is some serious noise on the lines
between the ESP and the camera. How long are the wires connecting the
camera to the ESP?
You can try reducing clock frequency (it is 20MHz by default), see camera
demo configuration in menuconfig. Try something lower, e.g. 4MHz, and see
if the pgm image becomes more clear.
…On Fri, Nov 24, 2017, 17:43 James-sjec ***@***.***> wrote:
Thank you Sir!
I changed log level to INFO mode , and the above issue was solved.
I (5339) camera_demo: Camera demo ready
I (5349) camera_demo: open http://192.168.1.30/get for single frame
I (5349) camera_demo: open http://192.168.1.30/pgm for a single
image/x-portable-graymap image
I typed in the browser as "http://192.168.1.30/pgm" . A file named 'pgm'
got downloaded I added .pgm extension and the image I got the following
image :
[image: pgm]
<https://user-images.githubusercontent.com/32930819/33204145-6960a3bc-d0b7-11e7-9d8c-457e73e3c8d2.jpg>
I typed in the browser as "http://192.168.1.30/get" . A file named 'get'
got downloaded I added .pgm extension and tried opening it , Image viewers
says unsupported format . The same goes to
http://192.168.1.30//x-portable-graymap
how to open and view these files , and please help me in capturing the
images.
I use ESP-WROOM-32 DEVKITV1 development board and OV7725 camera.
And tried enabling test pattern i am getting the same result.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEJceuo3QwlI5mrOX8vZ8pli9XFNFTeWks5s5o-4gaJpZM4Qm7Vm>
.
|
Hello, Thank you for this great By default in PGM mode, I get something like this : If I set To answer one of your question below, I don't think that the wires are too long as you can see (but if you think it's too long let me know !) : I tried to set the clock frequency to 4 Mhz, as you mentioned, but it leads to the following error ( I saw here that the minimum clock frequency is 10 Mhz ? So I used 10 Mhz, and the result is intersting because it seems that the result is linked to the clock frequency value (still with The result changes if I increase the clock frequency, but for a given frequency, I almost get the same result each time I call the HTTP URL. For example, with 14 Mhz : I saw that you talked about "serious noise" on the lines. Do you think it is really a problem of noise ? I thought that with a problem of noise, the "vertical shaded bars" of the "test pattern mode" should be at the right position and erroneous dots would appear randomly. Here it looks like the test pattern is there but shifted in a manner that is linked to the clock frequency. Thank you in advance if you find a little time to give me your opinion about this issue... |
Hello @jfbrazeau, The wires on the picture above are couple of times longer than recommended for the OV7725 and ESP32 DevKitC. Below is what worked for me: Please read through the Showcase section that describes real tests made with OV7725. |
Ok thank you very much for the feedback. I have to buy connectors and wires to test like this. This will take a few days (or weeks). I'll tell you if it solves this issue. Thank you. |
Lens out of focus perhaps, try rotating it? |
Hello, I come back here to give you a feedback. Approximately two weeks ago, I tried again with shorter wires as you told me. The result was worst than with my initial wires. I think that my wires were very bad. Today I soldered the circuit, and... everything works fine now (as you can see below) ! Thank you very much for your help ! (and for this great sample project on github) Regards, Jean-François Brazeau |
I get the following error on screen :
![apc - 2017 11 22 12 07 - 001 3d](https://user-images.githubusercontent.com/32930819/33113386-f34a3b26-cf0c-11e7-8718-348a59d45a4b.jpg)
The text was updated successfully, but these errors were encountered: