Comments (4)
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.
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.
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.
Thanks for your support.
from rf24.
Related Issues (20)
- python wrapper needs pyproject.toml HOT 3
- revise MRAA driver's GPIO
- Phasing out most Linux drivers HOT 1
- [Question] Address names used in examples problematic? HOT 8
- Library blocks 11 pin HOT 1
- Unable to use SPI1 on the raspberry pi pico HOT 3
- NRF24L01 does not show all characters in the receiver HOT 4
- Problem using stopListening() and startListening() HOT 3
- [Question] Some modules take way longer to write() HOT 6
- can't find RF24 method inside RF24 module HOT 18
- Change `SERIAL_DEBUG` into `RF24_DEBUG` HOT 7
- Trouble with receiving data on RP2040 HOT 1
- CE set LOW twice consecutively in `startConstantCarrier()` HOT 1
- NRF24s not Working with Arduino UNO or Pro Mini but do on ESP8266 HOT 9
- [Question]: PICO's not communicating HOT 3
- Not setting channels or data rate properly HOT 7
- Problem with communicating to the module HOT 5
- [Question]: Pico fails to transmit HOT 8
- FHSS HOT 27
- Get Signal Strength HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rf24.