This tutorial will help you to replace other transceiver modules for your any other project that includes wireless communication. We will use ESP8266-based boards, one in WiFi-STA mode and the other in WiFi-AP mode. NodeMCU V3 is my choice for this project, you may use any other ESP8266 board. To verify data transfer, I'm using buttons as input at one side and LEDs as output at other side, you can transmit any sensor data using this method.
CircuitServer:
Its a very basic circuit, you need to attach 4 input buttons with one NodeMCU, use 1k resistor to pull-up pins D0, D1, D2 and D3, by pressing button, respective pin should be pull-down.
Client:
Attach 4 LEDs at D0, D1, D2 and D3 pins, respectively.
Check attached fritzing diagram.
ProgrammingDownload attach sketches for server and client and upload in your nodeMCU/wemos or any other ESP8266 based board, LEDs are at client side and Buttons are at server side. I'm sending data in Json format, so you guys need to attach Json library in your Arduino IDE, this library will also help you to deal with multiple parameters in your other projects.
Your Attention RequireHope this tutorial will help you in some way, kindly subscribe our youtube channel for more video tutorials.
To show some support: paypal.me/nextlifetech
Comments