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
S

Siddharth Velappan

@Siddharth Velappan
Unfollow Follow
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MH Z19b - Running CO2 sensor on batteries
    S Siddharth Velappan
    Hardware sensors co2 z19 battery sensor z19b battery mh z19b mh z19 co2 sensors mhz19b battery powered mhz19

    I'm trying to run the MH Z19b CO2 sensors interfaced by a PIC microcontroller, powered by 3.6V batteries.
    I would like to get the most out of the battery life. So, I have used a transistor and a GPIO pin from PIC to control the power supply to the CO2 sensor programmatically.

    Please find below, the pseudo code of the programming logic I had used to take CO2 measurements from the MH Z19b sensor. I would like to know if this logic will provide me valid measurements. I am trying to measure the CO2 concentration once in every 15 minutes.

    start_PIC();
    while(true) {
        MHZ19_power_on();
        PIC_sleep(120 seconds);
        /** Till 120 seconds, CO2 sensor was giving 400ppm and only after that I started getting realtime values **/
        MHZ19_get_CO2_concentration_value();
        MHZ19_power_off();
        PIC_sleep(900 seconds);
    }
    
  • Login

  • Don't have an account? Register

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