Blynk nrf24l01 multireceiver with only 2 pins on esp8266-01

Hello this is something i have been working on for some time now i combined two solutions for nrf24l01 pin duplexing made by nerdralph.blogspot.se
For more info see Blynk_nrf_V2_7dyn3.ino

And adapted for esp and voila nrf24l01 with only 2 pins:

This solution are a combination of code and hardware this is the schematic:

I did not add any of the components needed for the esp i think you know what is needed there…

With this you can easily have 6 nrf sensors monitoring all you can think of (snail mail inside temp outside temp soil humidity…)

This nrf24l01 code are a bit non standard and may require a bit reading in the data sheet if you what to change something.

I have added a simple example nrf transmitter code that send data to pip 5 on the esp_nrf, as well as a copy of the code i use on my inside temperature sensor. That one is a bit more complex due to the space limitations on the attiny13 I’m running that code on but might give someone a good starting point.

If you want to interface this with rf24 transmitter all you have to do is change the nrf24l01 settings on one side to match the other. I’m using dynamic payload on most pips and 250kbps speed for best range and 3 byte address.

The code are still a bit messy but might be handy for someone here it is:


That is it let me know what you think of it.

1 Like

This is that the board looks like for now, still a prototype

2 Likes

Cool! Thanks for sharing!
Is it a prototype for some specific application?

Nothing specific yet just a easy way to collect and access all senor data remotely, not sure where this project will end up still a work in progress

How would you collect data? I mean, there are no more pins left to attach sensors, right? I’m not sure I can see the benefit of using a 2.4Ghz transmitter attached to, basically, another 2.4Ghz transmitter. It’ll probably mess up your existing wifi signal anyway. I’m not sure how accurate the channels on the NRF’s are, but I’m guessing they are more like bluetooth than actual wifi (but I have no spectrum analyzer to confirm that).

In this setup the only possible thing to do is run it as an collector of other (remote) sensors, that’s fine, but I’m still not sure why you want two platforms with about equal costs per chip. Just my 2-cents :slight_smile:

I can give you one good reason, as of now my outside temperature sensor (nrf and attiny13) have sent out 1 message with the current temperature every 4th sec for almost one and a half year on one the cheapest cr2032 you can find on ebay… that is around 10000000 messages, doing that with a esp are a bit harder i would think.
But besides that i have to agree with you, if the esp could do the same without needing bigger batteries i would use those instead for the remote sensors too.

@f2k 10 million messages from a CR2032 over an 18 month period is very impressive. I think that beats my flashing an LED connected to an ESP-12 every 10 seconds for just 30 hours from a 2500mAh 8V lithium ion battery :slightly_smiling:

@f2k may I ask what sort of range you get with the NRF’s, with and without external aerials?

I can go through two concrete floors with excellent range …

@Lichtsignaal I have a couple of NRF24L01+'s (VER:A0) without external aerials that I have never used and about 6 off (3 types) of CC1101’s with tightly wound wire aerials. Which would you say would give the best range?

The project is for largish hotels but only covering a couple of floors.

It depends on a lot of factors. The only sane advice to give you is: test the sh!t out of it. Otherwise you will run into problems. With antenna’s the range will be better, but also will cause more interference.