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.5k 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
    • hekH Offline
      hekH 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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        19

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        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