Code Monkey home page Code Monkey logo

Comments (10)

jfbrazeau avatar jfbrazeau commented on August 25, 2024 1

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

esp-wa-6845652127971879995

img_8635 a

from esp32-cam-demo.

James-sjec avatar James-sjec commented on August 25, 2024

And how to Open and View the get , pgm and x-portable-graymap files

from esp32-cam-demo.

igrr avatar igrr commented on August 25, 2024

Hmm, it seems that the documentation has fallen out of date with respect to the code.
The demo no longer prints ASCII art output on the console, instead it starts up a web server, and you can see images in web browser (URLs are printed at startup).

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.

from esp32-cam-demo.

James-sjec avatar James-sjec commented on August 25, 2024

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 :

pgm

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.

from esp32-cam-demo.

igrr avatar igrr commented on August 25, 2024

from esp32-cam-demo.

jfbrazeau avatar jfbrazeau commented on August 25, 2024

Hello,

Thank you for this great esp32-cam-demo sample. I have bought a OV7725 camera and I tried to use it with an ESP32 using this demo.

By default in PGM mode, I get something like this :
capture

If I set CONFIG_ENABLE_TEST_PATTERN parameter to y, I get something like this :
capture-2

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 !) :
img_8607b
Note : I've chosen the Alternate ESP32 Pin Mapping that you describe here (and I have checked the gpio pins connection several times... so that I am almost sure that everything is rightly connected, except the 2.2uF capacitor connected between GND and EN as I understood that the problem is for windows users, and I use a mac ; let me know if I'm wrong).

I tried to set the clock frequency to 4 Mhz, as you mentioned, but it leads to the following error (SCCB interface communication problem) :
screen shot 2018-01-27 at 22 03 41

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 CONFIG_ENABLE_TEST_PATTERN enabled) ; with 10 Mhz :
capture-3

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 :
capture-13

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...

Note : same issue in BMP mode (RGB565 / QQVGA) :
capture

from esp32-cam-demo.

krzychb avatar krzychb commented on August 25, 2024

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:

image

Please read through the Showcase section that describes real tests made with OV7725.

from esp32-cam-demo.

jfbrazeau avatar jfbrazeau commented on August 25, 2024

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.

from esp32-cam-demo.

James-sjec avatar James-sjec commented on August 25, 2024

Hai ,
I soldered camera and esp32 to bread board , and the above issue was solved
I getting the following images :

capture 24

How to increase the quality of the image

from esp32-cam-demo.

igrr avatar igrr commented on August 25, 2024

Lens out of focus perhaps, try rotating it?

from esp32-cam-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.