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. Development
  3. Custom connection pin radio to pro mini

Custom connection pin radio to pro mini

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 1.7k Views 2 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.
  • Руслан ЛобинцевР Offline
    Руслан ЛобинцевР Offline
    Руслан Лобинцев
    wrote on last edited by
    #1

    Hello All.
    I want connect a radio to arduino pro mini to anather pins.
    I need 5 PWM output pin. An arduino have PWM on 3,5,6,9-11 but radio use 9-11 pins.
    Summary we have only 3 free pins.

    I don't see examle for change connecting pins.
    In API i find only this:

    MySensor(uint8_t cepin = 9, uint8_t cspin = 10);
    

    In this forum i find 2 examles:

    const uint8_t SOFT_SPI_MISO_PIN = 16; 
    const uint8_t SOFT_SPI_MOSI_PIN = 15; 
    const uint8_t SOFT_SPI_SCK_PIN = 14; 
    
    #define RADIO_CE_PIN        5  // radio chip enable
    #define RADIO_SPI_SS_PIN    6  // radio SPI serial select
    
    

    How correct?

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

      If you enable SOFT_SPI for radio in RF24_config.h you can move these pins around.

      https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/utility/RF24_config.h#L29-L46

      1 Reply Last reply
      1
      • Руслан ЛобинцевР Offline
        Руслан ЛобинцевР Offline
        Руслан Лобинцев
        wrote on last edited by
        #3

        Thank you for answer.
        I find anover.
        May i use this examle:

        // PIN Radio
        #define RADIO_CE_PIN        9		// radio chip enable
        #define RADIO_SPI_SS_PIN    10		// radio SPI CS SS serial select
        
        ...
        
        MySensor gw(RADIO_CE_PIN, RADIO_SPI_SS_PIN);
        
        
        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        22

        Online

        12.1k

        Users

        11.2k

        Topics

        113.4k

        Posts


        Copyright 2025 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