How to code, i need help with my last smt project

Hi I've been struggling with my work here.
this is my final project for the semester and i don't know why this project won't working.

I'm using esp32 for the control to control humidity using esp22.

if humidity reach some number i want, it will trigger relay to open the pump. it is also usong rtc to counting back to three days, and after three days the buzzer will on.

the countdown also will be displayed on oled display.

can anyone help me out

how is that a Emergency Response: Covid-19 Projects ?

I moved your topic to an appropriate forum category.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.

(➜ we need more info from you, so add the relevant stuff too)

sorry bro, i am just created account here. don't know what that mean for real.

Maybe you explain what "won't working" means.

Based on the information that you have provided we also don't know.

Maybe it's your code?

You mention humidity (based on the image I guess that will be a DHTxx but you don't specify) but why do you need two?
You mention a relay but I count four. Relays consume power and I wonder if your USB can supply enough. Further I'm not sure if your ESP32 (a 3.3V device) will be happy controlling 5V relais.
I see light bulbs but you don't mention them.
Why are there two LCDs, you only mention one.

which part of @J-M-L 's post do you not understand. The part about not posting in the wrong place, or the part about reading a guidance post about learning to use the forum, and providing enough information so that we can help you?

1 Like

Hi, @knightly33
Welcome to the forum.

Can you please post your code, using the instructions in the above link?

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

I agree... unless...

@knightly33 Hopefully you only ran this in a simulator, because energizing the relays with an ESP32 might have fried the pins of the ESP32... which would stop good code from working.

What is ESP22? It would be ESP32 or DHT22?

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