nRF24L01, any way to consume less pins from Arduino and other questions !

hello everyone,
i bought this module nRF24L01 online, and i am learning about it now. I am using now this tutorial to learn about it.
i have some questions please :
1 - what is exactly the IRQ pin, it says it's an interrupt like the one on arduino but what is it's application here ?! why would someone use an interrupt in the case of Transceiver ?

2 - as i can see the module consumes 5(without IRQ) to 6 (with IRQ) depending on the library, so is there anyway of consuming less pin from the arduino ?!
it's not quite right to take all these pins when i must use other devices like the shift registers and others ?

3 - In the RF module (1 way) we define the baud rate, here how is the baud rate defined ?!
now i can see it's an SPI device, look at the example sketch at the end of the tutorial, i can see they included the SPI.h library but did not used any functions directly in the sketch so i would assume that these functions are used in the nRF library used, and if i need to use the SPI for other devices, i simply use SPI.--- function and that's it ?

firashelou:
1 - what is exactly the IRQ pin, it says it's an interrupt like the one on arduino but what is it's application here ?! why would someone use an interrupt in the case of Transceiver ?

There's an example showing how to use IRQ. In the example, when the transceiver receives data, it actives the interrupt pin. This gives you a signal to setup a ISR on the Arduino.

firashelou:
2 - as i can see the module consumes 5(without IRQ) to 6 (with IRQ) depending on the library, so is there anyway of consuming less pin from the arduino ?

It is a bi-direction SPI device, that's at least 4 pins. I don't know what CSN is used for, but appears to be necessary.

firashelou:
it's not quite right to take all these pins

Says who?

firashelou:
3 - In the RF module (1 way) we define the baud rate, here how is the baud rate defined ?!

This library (and prehaps the default library, I didn't check) have a setDataRate() function.

this is the library i am using so i guess all is good, but what is the default baud rate used is it 2000 or 9600 ?

and what about to consume less pins ? if i need pins directly from arduino for other applications ?

firashelou:
this is the library i am using so i guess all is good, but what is the default baud rate used is it 2000 or 9600 ?

Dig into the library more. Looks like the default datarate is in the Mbps, not kps. Also, the module seems to use "data rate" and not "baud", so that might be affecting your searches.

firashelou:
and what about to consume less pins ?

Already addressed that.

firashelou:
if i need pins directly from arduino for other applications ?

  1. Don't use the module
  2. Don't use as many pins for other things
  3. Get more pins

firashelou:
it's not quite right to take all these pins when i must use other devices like the shift registers and others ?

Well if you think you can do better, go right ahead and make your own VLSI mixed analog-digital transceiver
chip with 2Mbit/second transfer rate 8)

SPI is a bus, you'd normally share it with several peripherals anyway.

well ok baud rate is the byte per sec but what about data what is it exactly ?

MarkT:
Well if you think you can do better, go right ahead and make your own VLSI mixed analog-digital transceiver
chip with 2Mbit/second transfer rate 8)

SPI is a bus, you'd normally share it with several peripherals anyway.

lol ! i meant if there is a chip or something that would help but seems not, so the only is the SPI yes sharing as much as possible and i think i can use a shit register alone for the SS pins if i do have more than 3 devices

firashelou:
well ok baud rate is the byte per sec but what about data what is it exactly ?

Well, no. Baud is "symbols per second." Which one symbol is often a bit, so it comes out to be 1 bit per second. But not always.

Data rate is generally measured in bytes, but there isn't really a formal definition (that I know of.)

ok thanks for your help appreciate it

Yes you can use less pins on the nrf24l01, take a look at this:
http://forum.arduino.cc/index.php?topic=304513.0

I have a few of these NRF to I2C interface boards. They may nor may not work well and have not gotten round to trying them yet but yeah...

NRF to I2C

firashelou:
................... i can use a shit register alone for the SS pins..

I would stay away from those registers! hahaha.. they will make your project stink! :slight_smile: