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
W

wasssu

@wasssu
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CO2 Sensor Senseair S8 - big values read
    W wasssu

    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!

    Hardware
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular