Navigation

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

    wasssu

    @wasssu

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

    wasssu Follow

    Best posts made by wasssu

    This user hasn't posted anything yet.

    Latest posts made by wasssu

    • CO2 Sensor Senseair S8 - big values read

      Hi,

      I installed a Senseair S8 senzor on a Raspberry Pi 4. In the first week it worked ok (values coming close to 400 ppm when I open the window) then it started to show big values, especially when I open the window, values like 65429 ppm. The reading interval is 15 seconds. I use this code to get the value from the sensor. Any idea what could be the problem?

          ser = serial.Serial("/dev/serial0",baudrate =9600,timeout = .5)
          ser.flushInput()
          time.sleep(1)
          ser.flushInput()
          ser.write(b"\xFE\x44\x00\x08\x02\x9F\x25")
          time.sleep(.5)
          resp = ser.read(7)
          high = resp[3]
          low = resp[4]
          co2 = (high*256) + low
      

      Thanks!

      posted in Hardware
      wasssu
      wasssu