Nodemcu With OLED Display, PIR & DHT11

4,421

46

4

About: Electronics & Telecommunication Engineer

Lets Make!!!!!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Introduction:

In this project we are going to build a system which shows temperature and the motion on oled display.

The project is easy to build and implement.

Let Start making it.......

Step 2: Collect Components:

1. Nodemcu

2. OLED display 128x64

3. DHT11 or DHT22

4. PIR sensor

5. Resistor 4.7Kohm

6. Wires

7. Breadboard

Step 3: Gathering Required Libraries:

All the libraries are available on github.

Step 4: Schematic:

Step 5: Code:

Enjoy Making.....!!!!!!!!

1 Person Made This Project!

Recommendations

  • Made with Math Contest

    Made with Math Contest
  • Multi-Discipline Contest

    Multi-Discipline Contest
  • Robotics Contest

    Robotics Contest

4 Discussions

0
None
ErickFloorZ

1 year ago

nodemcudhtpir_rish:43: error: #error ("Height incorrect, please fix Adafruit_SSD1306.h!");

#error("Height incorrect, please fix Adafruit_SSD1306.h!");

^

exit status 1

#error ("Height incorrect, please fix Adafruit_SSD1306.h!");

why is error

0
None
PradeepB25

1 year ago

getting following error while compiling;

nodemcudhtpir_rish:43: error: #error ("Height incorrect, please fix Adafruit_SSD1306.h!");

#error("Height incorrect, please fix Adafruit_SSD1306.h!");

^

exit status 1

#error ("Height incorrect, please fix Adafruit_SSD1306.h!");

0
None
USMCWarmachine

2 years ago

Thanks! I intend to incorporate this display into several units I have deployed. I'm thinking about a slight twist however, having the PIR output turn the display on and off depending on state.

1 reply
0
None
RishabhLUSMCWarmachine

Reply 2 years ago

Good Idea.......
You can do it by just editing the code. Just place if condition with pir output in void loop, inside if condition loop when true for pir output goes high call the display functions.
Thanks for your support..