Can someone check the circuit logic for me please?

Hi, I just create this circuit. can someone please help me check the logic of this circuit?

I also make sure the model of the components is correct based on the picture, I just can hardly recheck if it's logic or not since I'm new to this and have lack of IOT basic. I also cannot find source to refer to since no one have ever done connecting esp32 dev board to esp32 camera.

I moved your topic to a more appropriate forum category @jobutupak.

The Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.

In the future, please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

Ah, Im sorry about that. Thank you for letting me know

1 Like

Some suggestions / questions:

  1. Power the sensors with 3.3V if possible. Some sensors will return a signal with the same input voltage, but the ESPs are 3V3 logic, so they cannot get 5V signals. I know the rain sensor can be powered with 3V3. The other sensor is a mic module?

  2. Power the ESP CAM with 5V. Depending on what you're doing (streaming video through wi-fi for example), using 3V3 will not be enough, specially if you´re powering it with the other ESP (which is a bad idea, because you´re relying on the voltage regulator of the first ESP)...

  3. What do you want to do, by the way? Maybe a second ESP is not necessary and you can use the ESP CAM to read the sensors.

  4. on ESP CAM, connecting GND and GPIO0 is just necessary when uploading code to the board. After that, this connection might be removed.

  5. on the ESP32, why EN pin is connected to GND?

  1. Yes, it is a mic module. It is a sound sensor with mic module
  2. The ESP camera is for turn on at a certain condition and auto capture an image and turn off after uploading the capture image to the database (which I used google drive).
  3. I want to create something that's similar to speed trap but more like noise trap where if the sound sensor capture sounds that have high decible for more than 30 seconds, it will send signal to the esp dev board. The esp board will then turn on the esp camera and make the component auto capture an image. The raindrop sensor is just for decrease the false positive error since the rain might trigger the sound sensor since the components is sensitive to sound.
  4. Did you mean by uploading the code on its own component?
  5. I follow the example from others where they connecting ESP8266 to GND and it said to keep the esp turn on. I thought the logic could remain the same with esp dev board.

Im sorry if my words keep being repetitive. English is not my mother tongue language.

Ok, check if it can work on 3V3. If yes, then power it with 3V3.

  1. you don't need the ESP32. You can read the sound sensor and the rain detector with the ESP CAM.

  2. Yes. You can program the ESP CAM to read the sensors in addition to send the image.

  3. no need for this connection in my opinion. Now that I know what you want to do, no need for this entire ESP by the way.

Get a good 5V power source, power the ESP CAM with 5V, use 3V3 of the esp to power the sensors. If you want to save battery, put the ESP CAM to sleep and set an interrupt to wake it up, based on the sound level (do you really need the analog answer? The digital one would be better in this case).

Nevermind. It's not my mother language either :grin:

I started to see how the circuit going clearly. I will try to do that! I just need to wait for the store to open to buy the battery.

Yes please, the digital one would be so helpful.

Oops, I actually got confused. The sensor than can provide digital and analog outputs is the rain sensor. The sound sensor (which would awake the ESP CAM) just have an OUT pin. Check if its output is digital or analog.

I checked the component is LM393 sound sensor mic voice module. The output is digital.

Good news is that it can be used to wake up the ESP32 CAM.

Bad news is that looks like the input voltage is 4-6V. You need to check it.

I checked its operating voltage is 3.3 to 5 VDC.

You tied ESP32CAM ground to pin ESP32WROOM pin G21?

Great!

Ah, I just noticed I missed place the line. It supposed to be esp dev GND tied with esp cam GND

Make another drawing. This time, make it easy to read.

I thought I already made it easier to read since I add colours to jump wires and enhance the size of the components. Do you have an example (a picture) on how to make it more easier to read?

You missed at least one line that I caught, so, maybe not that easy to read.

From an internet search, "how to draw a wiring diagram"... simple pencil-and-paper, parallel lines, few crossed lines, good separation, descriptions...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.