Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. interrupt
    Log in to post

    • sundberg84

      Node with Interrupt, sleep and batteries
      Troubleshooting • sleep interrupt • • sundberg84  

      16
      0
      Votes
      16
      Posts
      10899
      Views

      sundberg84

      Yea, now I understand how to use that!! I will do that, thats probably the best... will try! Thanks alot everybody involved! @martinhjelmare @AWI @Yveaux
    • berbee

      Using more then 2 interrups on arduino
      Troubleshooting • interrupt • • berbee  

      5
      0
      Votes
      5
      Posts
      2606
      Views

      berbee

      THx for the feedback. Now I can start to build my two pulse meters. One for my electricity usages and one for my natural gas usages. Bert
    • kunall

      Motion & Relay Sensor issue
      Troubleshooting • relay interrupt motion sensor multisensor sleep issue • • kunall  

      10
      0
      Votes
      10
      Posts
      5989
      Views

      hek

      @dias I want a code with 2 relays and 2 pir You got to get started coding then If you bump into problem you can ask questions here.
    • Mickey

      using 2 interrupt pins (2,3) inside a node.
      Development • interrupt pins • • Mickey  

      3
      0
      Votes
      3
      Posts
      2077
      Views

      Mickey

      ooouuu sorry missed that....(you really thought on everything with this library....)
    • Dirk_H

      Using Pin Change Interrupt (PCINT) for wakeup
      Development • arduino interrupt • • Dirk_H  

      6
      0
      Votes
      6
      Posts
      7696
      Views

      hek

      Or use development branch where this dependency has been removed from the library.
    • funksoulbrother

      Custom Interrupt routine for door sensor
      Development • arduino temperature humidity interrupt door sensors • • funksoulbrother  

      4
      0
      Votes
      4
      Posts
      3801
      Views

      viking

      I built a trip wire for the post box that I'm connecting. It's however based on a mercury tilt sensor so I'm really not sure whether I think it's a great idea putting it to use (at least not with a sturdy case...). However, I can share my code: #define DIGITAL_INPUT_SENSOR 2 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!) #define INTERRUPT DIGITAL_INPUT_SENSOR-2 // Usually the interrupt = pin -2 (on uno/nano anyway) MyMessage msgTripped(CHILD_ID_TRIPPED, V_TRIPPED); void setup() { gw.sendSketchInfo("Postal", "1.0"); gw.present(CHILD_ID_TRIPPED, S_MOTION); pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input } void loop() { boolean tripped = digitalRead(DIGITAL_INPUT_SENSOR) == LOW; if(tripped) { gw.send(msgTripped.set("1")); // Send tripped value to gw } gw.sleep(INTERRUPT,FALLING, SLEEP_TIME); }
    • algoritm

      Multiple interuppts: One Arduino with two door sensors?
      Development • interrupt door sensors • • algoritm  

      28
      0
      Votes
      28
      Posts
      20512
      Views

      Paul Augusto

      2 part video showing how to tie the TP4056 and MAX17043 boards together and to an arduino pro mini. Part 1: MAX17043 LiPo Fuel Gauge connects to Arduino via I2C #1 – 09:07— Julian Ilett Part 2: MAX17043 LiPo Fuel Gauge connects to Arduino via I2C #2 – 07:29— Julian Ilett
    • jonnyfishman

      Interrupt on recieve radio data
      Hardware • battery powered interrupt • • jonnyfishman  

      14
      0
      Votes
      14
      Posts
      9905
      Views

      hek

      @jonnyfishman said: would it be better to trigger the callback manually to pick up a response? No that won't help (as long as you call gw.process() ).