Navigation

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

    Mark Hansen

    @Mark Hansen

    1
    Reputation
    2
    Posts
    127
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Mark Hansen Follow

    Best posts made by Mark Hansen

    • RE: 💬 Atmospheric Pressure Sensor

      Heads-up: I've observed my sensor trying to sleep for 4 billion ms when running the sample code:

      60082 MCO:SLP:MS=4294967214,SMS=0,I1=255,M1=255,I2=255,M2=255
      

      That's 2^32-82. So I think there's an underflow with this line:

      unsigned long sleeptime = BME280measurementSleepTime - (quicktimecheck - previousBME280Millis);
      

      Not sure where exactly though. I've changed my code to simply sleep for a constant 60s.

      posted in Announcements
      Mark Hansen
      Mark Hansen

    Latest posts made by Mark Hansen

    • RE: 💬 Air Humidity Sensor - Si7021

      Vice-versa, the link to the 5V module leads to a 3V (well, 1.9V to 3.6V) sensor unit

      posted in Announcements
      Mark Hansen
      Mark Hansen
    • RE: 💬 Atmospheric Pressure Sensor

      Heads-up: I've observed my sensor trying to sleep for 4 billion ms when running the sample code:

      60082 MCO:SLP:MS=4294967214,SMS=0,I1=255,M1=255,I2=255,M2=255
      

      That's 2^32-82. So I think there's an underflow with this line:

      unsigned long sleeptime = BME280measurementSleepTime - (quicktimecheck - previousBME280Millis);
      

      Not sure where exactly though. I've changed my code to simply sleep for a constant 60s.

      posted in Announcements
      Mark Hansen
      Mark Hansen