Skip to content
  • 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
  1. Home
  2. Hardware
  3. Figaro TGS5042 Carbon Monoxide Sensor & Op Amp
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Figaro TGS5042 Carbon Monoxide Sensor & Op Amp

Scheduled Pinned Locked Moved Hardware
figarooperational amplifiercarbon monoxideop ampsensor
6 Posts 3 Posters 5.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Samuel235
    Hardware Contributor
    wrote on last edited by Samuel235
    #1

    I'm currently trying to set a circuit up for a Figary TGS5042 Carbon Monoxide sensor using an Op Amp in a non-inverting configuration but having no luck what so ever, i think anyway.

    I have configured my circuitry in two seperate ways trying to figure this out. I have recently found a little 'review/guide' blog post which i've read through with no joy either, here. This is my Op Amp datasheet. Am i correct in expecting to receive 0v on the output pin when there is nothing detected, just like the video in the linked blog post shows?

    So, the first circuit i tried is that specified by the datasheet;

    alt text.

    All i'm getting here is a voltage readout on the output pin in relation to gnd is 4.35v with no movement what so ever.

    So i then go on to consider his own circuit of;

    alt text

    Still nothing. And more specifically, i get the same reading of 4.35v.

    At this point i'm starting to think that either i have done something in correct in terms of wiring. Am i even measuring it correctly? Multimeter COM lead on gnd, and the Vma lead on the output pin. I do know that if the sensor is not connected to anything it should be shorted out, and more specifically it should be shorted out for transport, as the datasheet reads "When the sensor is shipped, the working electrode and counter electrode are connected (i.e. short circuited) by mounting on conductive mat (-A00) or a metal ribbon (-B00) in order to avoid polarization of the electrodes." Now, this is all that it was shipped in, does this count as the conductive mat and therefor could it be that the sensor is actually faulty?

    0_1462014210813_image.jpg

    Here is my breadboard image, if you can workout what goes where, please ask questions if more information is needed....

    0_1462014136689_image.jpg

    MySensors 2.1.1
    Controller - OpenHAB (Virtual Machine)
    Gateway - Arduino Mega MQTT Gateway W5100

    DwaltD 1 Reply Last reply
    0
    • S Offline
      S Offline
      Samuel235
      Hardware Contributor
      wrote on last edited by
      #2

      The second circuitry with the fixed load resistor is giving me some hope with this sensor, i'm able to get a very small movement on the current of the sensor over the fixed load resistor. So i think it is safe to assume that the sensor is in working order and therefor something that i am doing in correctly to get the OP AMP solution working. Does anyone have any OP AMP experience to shine any light onto my issues here?

      MySensors 2.1.1
      Controller - OpenHAB (Virtual Machine)
      Gateway - Arduino Mega MQTT Gateway W5100

      1 Reply Last reply
      0
      • S Samuel235

        I'm currently trying to set a circuit up for a Figary TGS5042 Carbon Monoxide sensor using an Op Amp in a non-inverting configuration but having no luck what so ever, i think anyway.

        I have configured my circuitry in two seperate ways trying to figure this out. I have recently found a little 'review/guide' blog post which i've read through with no joy either, here. This is my Op Amp datasheet. Am i correct in expecting to receive 0v on the output pin when there is nothing detected, just like the video in the linked blog post shows?

        So, the first circuit i tried is that specified by the datasheet;

        alt text.

        All i'm getting here is a voltage readout on the output pin in relation to gnd is 4.35v with no movement what so ever.

        So i then go on to consider his own circuit of;

        alt text

        Still nothing. And more specifically, i get the same reading of 4.35v.

        At this point i'm starting to think that either i have done something in correct in terms of wiring. Am i even measuring it correctly? Multimeter COM lead on gnd, and the Vma lead on the output pin. I do know that if the sensor is not connected to anything it should be shorted out, and more specifically it should be shorted out for transport, as the datasheet reads "When the sensor is shipped, the working electrode and counter electrode are connected (i.e. short circuited) by mounting on conductive mat (-A00) or a metal ribbon (-B00) in order to avoid polarization of the electrodes." Now, this is all that it was shipped in, does this count as the conductive mat and therefor could it be that the sensor is actually faulty?

        0_1462014210813_image.jpg

        Here is my breadboard image, if you can workout what goes where, please ask questions if more information is needed....

        0_1462014136689_image.jpg

        DwaltD Offline
        DwaltD Offline
        Dwalt
        wrote on last edited by
        #3

        @Samuel235 said:

        ...does this count as the conductive mat

        Conductive foam is impregnated with carbon and is generally black in color and denser than styrofoam. The pink foam common in packaging is 'anti-static' but not conductive. Methinks that is simple packaging styrofoam. As a side note, conductive foam is very useful for making pressure sensors, never throw it away.

        Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

        1 Reply Last reply
        1
        • S Offline
          S Offline
          Samuel235
          Hardware Contributor
          wrote on last edited by
          #4

          I can confirm the sensor is working by using the basic measurement circuit.

          So this circuit is simply a 1k resistor connecting the two terminals of the sensor together with the 'counter' terminal also connected to GND. With this circuit i have sensed the following voltages;

          1K resistor - 5 minute settling time - 0.3mV
          1K resistor - 2 minutes 30 seconds exposed to burning paper - 1.5mV

          By doing this basic test we can assume that the sensor is working now. However what i'm still struggling to get to work it integrating it with a OP AMP, these are the steps i have taken to get from this basic circuit to the OP AMP attempt.

          1. I have left the 1k Resistor in to enable the sensor to stay safe as instructed by the datasheet to not allow the terminals to get polarized.
          2. Switched the sensor orientation around.
          3. Connected counter terminal to the non-inverting supply (- pin on op amp)
          4. Connected working terminal to the inverting supply (+ pin on op amp)
          5. Connected supply voltage (5V) to the V+ pin on op amp.
          6. Connected V- and inverting pin on op amp to GND.
          7. Connected op amp output pin back to the non-inverting input with a feedback resistor of 5.6K resistor and 1uF cap.

          So the entire circuit looks like;

          0_1462089260715_Untitled-1.jpg

          However, the multimeter in this simulation is showing 2.47V where in the exact setup to compare the simulation to my circuit i get 4.2V without the sensor attached.

          I do suspect this to be an incorrect op amp selection as the app note for the figaro sensor does specify a rail to rail op amp, however the op amp they show doesn't state it is a rail to rail device.

          Would the slew rate of the op amp have any effect on this?

          I also am very aware, although not sure how to calculate exact figures, that with this op amp not being a rail to rail device it will not allow the output voltage to go close to V- or V+ (GND or 5V in this case).

          MySensors 2.1.1
          Controller - OpenHAB (Virtual Machine)
          Gateway - Arduino Mega MQTT Gateway W5100

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Samuel235
            Hardware Contributor
            wrote on last edited by
            #5

            I since purchased some TLC272CP OP AMPS and with the basic measurement circuit, specified by the datasheet of the Figaro Sensor, i can confirm this sensor is working perfectly!

            MySensors 2.1.1
            Controller - OpenHAB (Virtual Machine)
            Gateway - Arduino Mega MQTT Gateway W5100

            S 1 Reply Last reply
            1
            • S Samuel235

              I since purchased some TLC272CP OP AMPS and with the basic measurement circuit, specified by the datasheet of the Figaro Sensor, i can confirm this sensor is working perfectly!

              S Offline
              S Offline
              sharathb
              wrote on last edited by
              #6

              @Samuel235 Nice with the same circuit right??
              which is in 2nd pic?

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              15

              Online

              11.7k

              Users

              11.2k

              Topics

              113.0k

              Posts


              Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

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