Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Blom
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Blom

    @Blom

    5
    Reputation
    8
    Posts
    779
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Sweden

    Blom Follow

    Best posts made by Blom

    • My SHT21 and ds18b20 sensor

      Here is my SHT21 and ds18b20 sensors DSC02234.JPGDSC02246.JPG DSC02236.JPG DSC02237.JPG DSC02239.JPG DSC02241.JPG

      posted in My Project
      Blom
      Blom
    • RE: Determine if pin interupt or awakens from sleep

      Thanks! Worked like a charm!

      uint8_t interruptReturn;
      
      void loop()  {
      if (interruptReturn == 1){do this}
      if (interruptReturn == MY_WAKE_UP_BY_TIMER){do that}
      interruptReturn = sleep(INTERRUPT,CHANGE,SLEEP_TIME);
      }
      

      Next question: Is it possible to retrive remaining sleep time when waking up on interrupt so sensor could resume on time
      left when it goes to sleep again?

      posted in General Discussion
      Blom
      Blom

    Latest posts made by Blom

    • multiple hardware radio sensor network

      Hi

      I'am using nrf24 mqtt network on my rpi. I have now bought a rfm95 lora and want to build a gateway for handeling a rfm95 network together with my nrf24 network. is it possible to get this systems to coexist together?

      posted in Hardware
      Blom
      Blom
    • RE: Determine if pin interupt or awakens from sleep

      @yveaux

      Is it possible to retrive how much time left on the watchdog sleep time when it awakens on interupt?

      posted in General Discussion
      Blom
      Blom
    • RE: Determine if pin interupt or awakens from sleep

      @yveaux

      You wrote 8sec. Does the sensor wake up every 8sec and update a sleep count variable?

      posted in General Discussion
      Blom
      Blom
    • RE: Determine if pin interupt or awakens from sleep

      Thanks! Worked like a charm!

      uint8_t interruptReturn;
      
      void loop()  {
      if (interruptReturn == 1){do this}
      if (interruptReturn == MY_WAKE_UP_BY_TIMER){do that}
      interruptReturn = sleep(INTERRUPT,CHANGE,SLEEP_TIME);
      }
      

      Next question: Is it possible to retrive remaining sleep time when waking up on interrupt so sensor could resume on time
      left when it goes to sleep again?

      posted in General Discussion
      Blom
      Blom
    • Determine if pin interupt or awakens from sleep

      Hi

      I have an magnetic door switch sensor with a DS18b20 conected. The sensor sends updates when the magnetic switch recieved updates(pin interupt) or 30min(awakens from sleep) has passed. It sends updates from both the magnetic switch and from the temperature sensor.

      Is it possible to determine which interupt that occured? I want to send temperature updates only when it awakens from sleep and send magnetic switch updates only when pin interupt happens.

      if (pin interupt)
      {do this}
      if (awkens from sleep)
      {do that}

      posted in General Discussion
      Blom
      Blom
    • RE: My SHT21 and ds18b20 sensor

      @tbowmo Yes it is. I have used the ds18b20 for over a year now. With an update every 20min the battery holds for 6months

      posted in My Project
      Blom
      Blom
    • RE: My SHT21 and ds18b20 sensor

      @destos Its two holes in the enclousure

      posted in My Project
      Blom
      Blom
    • My SHT21 and ds18b20 sensor

      Here is my SHT21 and ds18b20 sensors DSC02234.JPGDSC02246.JPG DSC02236.JPG DSC02237.JPG DSC02239.JPG DSC02241.JPG

      posted in My Project
      Blom
      Blom