Code Monkey home page Code Monkey logo

esp-now's Introduction

ESP-Now Example

This example shows how to get started with ESP-Now. It uses 2 ESP devices. The devices are classified into 2 types:

  • Master
  • Slave

In this example, the following steps are performed

  • The slave device(s) broadcast an access-point (AP)
  • The master device scans for the AP and adds the slave device(s) into its peer list
  • Callbacks are set, on each device, to send and receive data
  • The master reads data from digital IR sensor and sends that data to slave(s)
  • The slave device receives this data to turn on the LED and Buzzer connected to it.

How to use the example

  • Just download the repository or copy the code from these files and upload it to their respective devices.
  • To incoporate more than 1 slave device, upload the slave code to other ESPs
  • Make suitable changes to the master program so that each device in its peer list is sent data
  • Refer our blog for more detailed explaination: https://www.robocraze.com/index.php/blog/tutorial-getting-started-with-esp-now.html

esp-now's People

Contributors

robocraze avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.