Notifications
Clear all

NRF24L01 Transmission rate

8 Posts
4 Users
1 Likes
962 Views
(@roberttbob)
Member
Joined: 3 years ago
Posts: 6
Topic starter  
This topic was modified 3 years ago 2 times by RobertTBob

   
Quote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2523
 

@RoberTBob

I have stupid question, why not just have the Arduino close the roof ?

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1121
 
Posted by: @roberttbob

I usually go to bed and keep an ear out for rain.

You must be a light sleeper 😀 .  But this is just an observation, and its not actually answering your question.  As your observatory is not that far away, if it rains on the observatory it will rain on your house.  So why not just stick a rain sensor out of your bedroom window.  

Here is a link to an alternative rain sensor set up in case you are up for a different solution.

https://raspi.tv/2017/make-a-rain-alert-system-with-raspberry-pi


   
RobertTBob reacted
ReplyQuote
(@roberttbob)
Member
Joined: 3 years ago
Posts: 6
Topic starter  

@byron Thanks. I generally run the telescope from my workshop at the other end of the section.  I would take the portable rain client where ever I went. Well that is my plan anyway.

That is actually the same circuit that I am using, just in raspberry-pi


   
ReplyQuote
(@roberttbob)
Member
Joined: 3 years ago
Posts: 6
Topic starter  

@will That is my end game plan.  The roof is not automated at this stage and in more of a roll off tarp.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 
Posted by: @roberttbob

Hello,

I have built a project based the RadioHead nrf24_reliable_datagram_server.pde.  The purpose is to wirelessly advise me if it has started to rain so I can run out and close the roof of my observatory.  I set a telescope up to capture images where the process runs for several hours in the middle of the night.  I usually go to bed and keep an ear out for rain.

[snip]

Is anyone able to point me to how I can change the transmission rate as well as the frequencies please?

Thanks in advance, RoberTBob

The best source of truth I know of:

nrf24 class reference

HTH.

Cheers 😉


   
ReplyQuote
(@roberttbob)
Member
Joined: 3 years ago
Posts: 6
Topic starter  

@frogandtoad Thanks for that.  One problem that I face is that it uses the RH_NRF24 library and I cannot find examples of how to call items from this library. https://www.airspayce.com/mikem/arduino/RadioHead/classRH__NRF24.html

I may have resolved this but am unsure how to confirm.  I have a Pico scope arriving so I will see if I can calculate the frequency from the waveform (f = 1/period from memory)

I guess that I need to study more. 


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@roberttbob 

Sorry for the late response, been very busy lately.

Not sure exactly what you're having difficulty in calling?

As with any library, it's usually "Object.MemberFunction(args, if any);", where for example, object is the radio object you declare and define.

Unless I am misunderstanding you, the member function I see; that most closely resembles what you need is: "setRF()" as shown here:

setRF() - Sets the data rate and transmitter power to use

Cheers.


   
ReplyQuote