NRF2401 to analog PIN

Good morning Mates,

this is my first time to use NRF24L01, my project is an arduino robot using Bluetooth, IR, Ultrasonic, LDR, Line Tracking Sensor. I have 3 DIP Switch to switch in different Modes. I would like to add RF function on my project so I bought NRF24L01. The problem is I ran out of Digital IO remaining PIN is D31. but I still have remaining 5 Analog IO. one article from this site http://waihung.net/arduino-tip-turn-your-analog-pins-into-digital-io/ says that I can turn my AIO to DIO if that's the case can I connect the PINS of NRF24L01 to these PINS?

CE - A03 (input)
CSN - A04 (input)
SCK - A05 (input)
MOSI - A06 (input)
MISO - D30 (input)

this will be the last Mode for my project so I hope that you can help me with my inquiry.
thank you guys in advance....

Analog pins can also be used as digital pins, with no restrictions.

However, in this case you would also have to use software SPI, as the hardware SPI has fixed pin assignments (e.g. for SCK, MOSI and MISO).

In your situation, I would use the hardware SPI pins for the radio, and reassign pins for the other devices.

thanks mate, I think I should look for another RF module the assigned pin for this module is already occupied
im using personalized PCB so reassigning IO is not possible. can you suggest other RF module that I can use for my project?

The really cheap 434 MHz modules work fine for me, with VirtualWire. You can use any pin for TX and any pin for RX. With proper balanced dipole antennas the line of sight range is 300 meters. See below:

hmm do you have any idea on how to use this using multiple input and outputs? it only has 1 DATA and 1 OUTPUT how can I control my robot using this? im really sorry about my questions im newbie in terms of RF and got no idea on how to use this. :confused:

thank you very much for answering my questions

one of the members told me that i can edit the pin allocation at NRF24L01.h i will try it later and share it here
thanks guys for the inputs :slight_smile:

Don't double post. This has already been dealt with in your other Thread

...R