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. General Discussion
  3. Can I run radio without IRQ on PIN 2? Or have an interrupt on other pins than 2 & 3 ?

Can I run radio without IRQ on PIN 2? Or have an interrupt on other pins than 2 & 3 ?

Scheduled Pinned Locked Moved General Discussion
8 Posts 3 Posters 3.6k 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.
  • rvendrameR Offline
    rvendrameR Offline
    rvendrame
    Hero Member
    wrote on last edited by
    #1

    Probably a stupid question, where the answer will be 'No, you can't', but...

    I'm already using all PWM pins on my project, and I need an interrupt to trigger AC zero cross (project is a multiple channel Triac dimmer).

    So I need PIN3 as a output, which left only PIN 2 to trigger an interruption AFAIK.

    As Pin 2 is used by Radio IRQ --- I think the question here is if somehow Radio can run without IRQ... Or if there is a way to trigger an interrupt on other pin than 2 & 3 (Pro Mini 3.3v).

    Thanks

    Home Assistant / Vera Plus UI7
    ESP8266 GW + mySensors 2.3.2
    Alexa / Google Home

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dzairo
      wrote on last edited by
      #2

      ehm... if good understand mySensors then IRQ is not used ... I also connect IRQ to PB0 but it's free not used pin..
      then don't worry ..

      1 Reply Last reply
      0
      • rvendrameR Offline
        rvendrameR Offline
        rvendrame
        Hero Member
        wrote on last edited by rvendrame
        #3

        As per http://www.mysensors.org/build/connect_radio Arduino PIN 2 is connected to nFRL01+ IRQ PIN... You sure that IRQ is not used?

        EDIT: I disconnected PIN 2 from Radio , powered off-on, and everything keeps working in my prototype...
        So Radio IRQ pin is not used at all? What is the trick here??????

        Home Assistant / Vera Plus UI7
        ESP8266 GW + mySensors 2.3.2
        Alexa / Google Home

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dzairo
          wrote on last edited by
          #4

          ...ehm.. IRQ is good pin , and is possible to use in many option .. but if you don't use uOS or something else then don't need it ..
          if your application will do some other process and don't want check every time if not received new packet then use IRQ..
          , IRQ is used for time critical application .. then need to react very fast for received packet..

          this is my idea..

          MySensor nodes don't need IRQ .. firmware what run in MCU can work in 1Mhz and less .. why use IRQ ..

          regards.

          rvendrameR 1 Reply Last reply
          0
          • D dzairo

            ...ehm.. IRQ is good pin , and is possible to use in many option .. but if you don't use uOS or something else then don't need it ..
            if your application will do some other process and don't want check every time if not received new packet then use IRQ..
            , IRQ is used for time critical application .. then need to react very fast for received packet..

            this is my idea..

            MySensor nodes don't need IRQ .. firmware what run in MCU can work in 1Mhz and less .. why use IRQ ..

            regards.

            rvendrameR Offline
            rvendrameR Offline
            rvendrame
            Hero Member
            wrote on last edited by
            #5

            @dzairo Perfect, thank you. I 'm building some triac-based dimmers and need to detect zero cross on AC to fire the triacs properly. I will post the results here.

            Home Assistant / Vera Plus UI7
            ESP8266 GW + mySensors 2.3.2
            Alexa / Google Home

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dzairo
              wrote on last edited by
              #6

              ohhh... by pwm .. very good .. good luck ..

              1 Reply Last reply
              0
              • rvendrameR Offline
                rvendrameR Offline
                rvendrame
                Hero Member
                wrote on last edited by
                #7

                PMW for LEDs (on 12V) and Digital for Triacs on AC If PIN 2 is available I can control 3 Leds + 3 Triacs (6 channels in total) with one single chip ;-)

                Home Assistant / Vera Plus UI7
                ESP8266 GW + mySensors 2.3.2
                Alexa / Google Home

                1 Reply Last reply
                0
                • RajendraR Offline
                  RajendraR Offline
                  Rajendra
                  wrote on last edited by
                  #8

                  Ive designed a NRF based mysensor remote with 14 keys, I want to use pin 2 for one of the key. Currently all pin work properly for key but pin 2 does not recognise instead it creates some disturbance in transmission. what i receive on destination node is unexpected. Is it possible to disable use of pin 2 . it looks like mysenso uses pin 2 for some internal use.

                  Rajendra

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


                  28

                  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