Results 1 to 2 of 2

Thread: How to use nrf24l01 wireless module with Arbotix-M Robocontroller & Arduino Mega 2560 r3 to communicate between each other?

  1. Question How to use nrf24l01 wireless module with Arbotix-M Robocontroller & Arduino Mega 2560 r3 to communicate between each other?

    Arbotix-M is using
    Code:
    static const uint8_t SS   = 4;
    static const uint8_t MOSI = 5;
    static const uint8_t MISO = 6;
    static const uint8_t SCK  = 7;
    Click image for larger version. 

Name:	icsp_pinout1.png 
Views:	2 
Size:	5.4 KB 
ID:	7467
    I am using TMRh20 nrf24 Arduino library (https://github.com/nRF24/RF24) which is working fine when I use it with my Arduino boards as transmitter and receiver.

    I want to use nrf24 to communicate between my Arduino Mega 2560 and Arbotix-m which Arduino Mega 2560 will be transmitter and Arbotix-M will be act receiver.

    In nrf24, we need to write CE and CSN pins which pins 7-8 or pins 9-10 are commonly used in Arduino boards while using the TMRh20 nrf24 or other libraries. However, for Arbotix-M, which pins do I need to use ? I tried a few pins for CE and CSN and I wired the MISO, MOSI and SCK pins as I indicated above too; but I cannot make the communication between Arbotix-M and Arduino Mega 2560.

    I couldn't find any information in Internet about
    "How to use nrf24l01 wireless module with Arbotix-M Robocontroller & Arduino Mega 2560 r3 to communicate between each other?".

    Thus, I came here to ask in forums. Would you help me to solve this issue please? I don't know where to ask and learn to fix this issue. I will be very happy if someone guides me, thank you very much.

  2. #2

    Re: How to use nrf24l01 wireless module with Arbotix-M Robocontroller & Arduino Mega 2560 r3 to communicate between each other?

    You need to make the appropriate connections to the NRF chip, which includes the SPI bus and the chip-enable signal.
    Any available digital pin "ought" to work for Chip Enable -- it's a low-bandwidth digital on/off signal.
    However, the library you're using may put additional requirements on which signal you choose. You need to read the source code for the library to figure out what it's doing.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can I replace ARbotix with Arduino Mega 2560?
    By greatdsa in forum Arbotix, Microcontrollers, Arduino
    Replies: 1
    Last Post: 01-22-2018, 03:40 PM
  2. Question(s) ArbotiX-M robocontroller can communicate multiple robots using API zigbee protocol?
    By ddugi79 in forum Arbotix, Microcontrollers, Arduino
    Replies: 1
    Last Post: 10-01-2014, 09:39 AM
  3. Arduino Mega 2560 and Serial Comunication issues
    By DVS in forum Arbotix, Microcontrollers, Arduino
    Replies: 3
    Last Post: 07-10-2013, 02:31 PM
  4. Arduino Mega 2560 and AX12A servos
    By DVS in forum DYNAMIXEL & Robot Actuators
    Replies: 3
    Last Post: 07-08-2013, 04:26 PM
  5. Arduino Mega 2560 and AX12A servos
    By DVS in forum Sensors
    Replies: 1
    Last Post: 07-08-2013, 04:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •