Giter Club home page Giter Club logo

Comments (4)

2bndy5 avatar 2bndy5 commented on August 25, 2024

Is there an example of RF24 being used with WiFi?

See #936 (comment)

If you are trying to ask, "Can RF24 lib be used alongside WiFi lib?"
The answer is yes, but the WiFi radio will not talk with the nRF24L radio. Care should be taken when choosing what channel the nRF24L uses because WiFi radios do operate in the same spectrum of wireless frequencies.

from rf24.

TMRh20 avatar TMRh20 commented on August 25, 2024

RF24 should have no impact on WiFi usage.

  if (radio.available())  //Looking for the data.
  {
    Serial.print("radio.available():  "); Serial.println(radio.available());
    delay(1000);    

    radio.read(&data, sizeof(data));  //Reading the data
    delay(10);
    if (data == 1) {
      radio.powerUp();
      Serial.println("nRF24L01 powered up");
      digitalWrite(relayPin, HIGH);
      Serial.println("Battery power switched ON");
      Serial.println("ESP32 wake from Deep Sleep\n\n");
      delay(10);
    }

Maybe I'm misunderstanding what it is you are doing, but you cannot receive data when the radio is powered down. You need the radio to be in active RX mode, and you can put the MCU to sleep, waking on an interrupt from the radio.

from rf24.

Tech500 avatar Tech500 commented on August 25, 2024

Soldered 100 uf 16 Volt Tantalum Capacitors to both nRF24L01+ transceivers.

Have a working Webserver with a nRF24L01 controlling a remote battery switch.

Prepared a under two minute video of processing web request for β€œCamera View.” Asyncwebserver request turns on switch by triggering a 60 second countdown timer and sends data = 1 to the first nRF24L01. Second nRF24L01 recevies data = 1; powers up the 2nd NRF24L0, turns on switch, wakes ESP32 from Deep Sleep (using External 0, RTC_GPIO wakeup pin). Process is reversed when 2nd nRF24L01 receives data = 2 from webserver's expired countdown timer.

nRF24L01 Webserver with Remote Switch

from rf24.

Tech500 avatar Tech500 commented on August 25, 2024

Thanks for your support.

from rf24.

Related Issues (20)

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.