cifertech / IOT-Node

A Simple one way ESP-NOW Project (DHT11 & OLED)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

IOT Node

A Simple one way ESP-NOW Project (DHT11 & OLED)

cifertech - IOT-Node stars - IOT-Node forks - IOT-Node


📔 Table of Contents

🌟 About the Project

In this project information from multiple ESP8266 boards via the ESP-NOW communication protocol with a one-to-Many scenario. several ESP boards send the data we want to one board. There is no such thing as a transmitter or receiver in ESP-NOW documents. Each ESP8266 board can be a transmitter or a receiver. However, we will use these terms to describe the status of each board in the project

📷 Pictures

screenshot

🎯 Features

  • Transmission and display of temperature data
  • Transmission and display of humidity data

🧰 Getting Started

We used two ESP8266 boards, version 01, which are assembled in a personalized PCB, in one of the boards, or in other words, our nodes, an OLED display is installed to display the received items, and in the other board. A DHT11 sensor is installed to measure temperature and humidity.

  • ESP8266-01
  • Oled 0.91 SSD1306
  • DHT11 sensor
  • 10k resistance

🔌 Schematic

In order to establish connections in this project, we use a PCB designed with the help of Altium Designer. This circuit includes the connections required for OLE modules and DHT11 sensor, as well as the power input and serial output to program the board. There is also a relay in this circuit that will not work due to a bug in this version of the PCB.

  • ESP01 And Oled
ESP01 Oled 0.96
GPIO2 SCK
GPIO0 SDA
3v3 Vcc
GND GND
  • ESP01 And DHT11
ESP01 DHT11
Tx Data
3v3 Vcc
GND GND
  • Complete Schematic

screenshot

  • 3D View

screenshot

⚙️ Installation

If you are interested in fully learning this project, you can see the Tutorial blog or the YouTube video I made about this project.

  • This part of the code is the MAC address of the Master board that is entered on all Slave boards.
uint8_t broadcastAddress[] = {0xFC, 0xF5, 0xC4, 0x82, 0xCD, 0x49};
  • we mentioned that if the number of slaves increases, an ID will be specified for each board, in this line of code, you must make the relevant changes. In fact, each Slave board has its own unique ID.
#define BOARD_ID 1

👀 Usage

Finally, after uploading both codes introduced in ESP8266 boards, all the mentioned items related to the prerequisite settings are observed. You will see the values displayed on the OLED display, or you can print the values on the Arduino software monitor serial if needed. Finally, the values will be sent by Slave boards to our Master board.

👋 Contributing

⚠️ License

Distributed under the MIT License. See LICENSE.txt for more information.

🤝 Contact

CiferTech - @twitter - CiferTech@gmali.com

Project Link: https://github.com/cifertech/IOT-Node

About

A Simple one way ESP-NOW Project (DHT11 & OLED)

License:MIT License


Languages

Language:C++ 100.0%