Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Leonardo RF24

Leonardo RF24

Scheduled Pinned Locked Moved Hardware
4 Posts 3 Posters 5.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    discorover0
    wrote on last edited by
    #1

    I currently have 4 Nano's running with my vera3. I have been able to prototype with a Uno. The Leonardo is giving me fits.
    I have wired the Leonardo to this link using the three pins on the ICSP connector for SCK,MOSI.MISO
    http://arduinoexamples.wordpress.com/2012/11/11/nrf24l01-com-arduino-leonardo-nrf24l01-with-arduino-leonardo/
    i cannot get the leonardo to talk to the Rf24. Has enyone had success with the leonardo?

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by hek
      #2

      I haven't tried Leonardo... But make sure to set the correct CE/CS pin to match how you connect them on your leonardo board.

      Sensor(uint8_t cepin = 9, uint8_t cspin = 10);
      Relay (uint8_t cepin = 9, uint8_t cspin = 10);
      

      Default is 9/10.

      Try 8/10 and see what happens (https://groups.google.com/forum/#!topic/NRF24-arduino/NIuVn9-41h0)

      1 Reply Last reply
      0
      • D Offline
        D Offline
        discorover0
        wrote on last edited by
        #3

        Yes I have tried various pin outs with 0 success. There is a new rf24 library for the Leonardo that is not compatible with your calls.

        1 Reply Last reply
        0
        • DNKROZD Offline
          DNKROZD Offline
          DNKROZ
          wrote on last edited by DNKROZ
          #4

          Hi.

          Just wanted to let you know that I've tested this with an Arduino Leonardo, with the RF24 library bundled with "My Sensors" (from GIT), MISO MOSI and SCK connected to ICSP as stated on the offcial Wiki:

          http://arduino.cc/en/Reference/SPI

          also works for the MEGA 2560, but you have to connect to the ICSP or use the 50-52 pins (if using it for the Ethernet gateway for example)

          Regards.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          17

          Online

          11.7k

          Users

          11.2k

          Topics

          113.0k

          Posts


          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular