This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Webench and the TIDA-00056 for an H2S Sensor

Other Parts Discussed in Thread: LMP91000, CC2541

I am trying to configure the TIDA-00056 as an H2S sensor (which it is supposed to be capable of) yet the directions do not explain how to configure the TIDA-00056 to work with an H2S Sensor.  After seraching everywhere I found a link to the Webench that makes a little more sense, but doesn't explain what hardware is needed or even what information is needed to update the firmware.  Please advise how I need to use the Webench Designer to integrate a Synkera H2S sensor into the TIDA-00056 Gas sensor.

  • Nicole,

    I apologize for the delay here, but have you seen the LMP91000 Sensor AFE Designer (link below)? From there, it will open up a tutorial that you can watch, followed by a sensor selection page. Unfortunately the Synkera sensors aren't listed, but you can add it by clicking the "NEW" button labeled at the top of the page. I would start with this process for the hardware, then follow the user guide about updating the firmware using the CC debugger.

    LMP91000 Webench: http://webench.ti.com/webench5/sensorafe/?part=LMP91000

    Eval Board User Guide: http://www.ti.com/lit/ug/snoa922/snoa922.pdf

    -Reagan

  • Reagan,
     
    I appreciate you finally answering the question I’ve had all along of “Do I need to reprogram the CC2541 microprocessor?”  The answer being yes.  But now I am having a tough time finding the application to download/purchase.  I don’t want to buy an application just to realize that I needed a different application and none of the applications on the website that Web bench sent me to strictly talk about the TIDA-00056 application.  I already have the debugger, but which program do I need to download/purchase to communicate with the CC2541.
     
    Best regards,
    Nicole Stanton
    Engineer
    Pacific Northwest National Laboratory
    902 Battelle Boulevard
    P.O. Box 999, MSIN K5-17
    Richland, WA  99352 USA
     
    Located in SEF Building
    Office: 509-371-7980
    Cell: 850-545-4579
     
     
     
    From: Reagan Revisore [mailto:bounce-3502116@mail.e2e.ti.com]
    Sent: Monday, May 12, 2014 4:41 PM
    To: analog_elab@mail.e2e.ti.com
    Subject: RE: [Webench Tools Forum] Webench and the TIDA-00056 for an H2S Sensor
     

    Nicole,

    I apologize for the delay here, but have you seen the LMP91000 Sensor AFE Designer (link below.) From there, it will open up a tutorial that you can watch, followed by a sensor selection page. Unfortunately the Synkera sensors aren't listed, but you can add it by clicking the "NEW" button labeled at the top of the page. I would start with this process for the hardware, then follow the user guide about updating the firmware using the CC debugger.

    LMP91000 Webench: http://webench.ti.com/webench5/sensorafe/?part=LMP91000

    Eval Board User Guide: http://www.ti.com/lit/ug/snoa922/snoa922.pdf

    -Reagan

  • Nicole,

    IAR is currently the only supported IDE for developing and debugging with the CC2541. Evaluation versions include a 30-day full-feature version, as well as a code-size limited one isn't time-limited.

    While IAR is used for development, we also have the SmartRF evaluation applications shown on the CC2541 page under Software>Development Tools (see link below). Features of these applications include a packet sniffer, flash programmer, and register configuration.

    http://www.ti.com/product/CC2541/toolssoftware

    -Reagan

     

  • Reagan,
     
    I have temporarily set aside my idea to use the Synkera sensors with the Gas Sensor platform, and I am now trying to use the approved CityTech H2S6E100. 
     
    Whenever I try to use Web bench, it sends me on a wild goose chase to find some offline tool.  I thought that this was the IAR (As you listed below.) and I have that downloaded (30 day trial) to my computer.  I have the debugger and I can communicate with the Gas sensor platform. 
     
    I tried to simply save the information from web bench, but the information that it exported was unlike anything in the firmware for the gas sensor platform.   The manual says that Web bench is the authority on sensors that are compatible with the gas sensor platform and so I am trying to work with it, but it seems to be lacking many of the variables that the Firmware requires.  Please see the attached reference list of variables that are needed to be filled according to the file “sensorservice.c” (as referenced by the manual).
     
    Please advise as to what values I should be using according to TI to communicate with the City Tech H2S3E100.
     
     
    Best regards,
    Nicole Stanton
    Engineer
    Pacific Northwest National Laboratory
    902 Battelle Boulevard
    P.O. Box 999, MSIN K5-17
    Richland, WA  99352 USA
     
    Located in SEF Building
    Office: 509-371-7980
    Cell: 850-545-4579
     
     
    From: Reagan Revisore [mailto:bounce-3502116@mail.e2e.ti.com]
    Sent: Monday, May 19, 2014 10:21 AM
    To: analog_elab@mail.e2e.ti.com
    Subject: RE: [Webench Tools Forum] Webench and the TIDA-00056 for an H2S Sensor
     

    Nicole,

    IAR is currently the only supported IDE for developing and debugging with the CC2541. Evaluation versions include a 30-day full-feature version, as well as a code-size limited one isn't time-limited.

    While IAR is used for development, we also have the SmartRF evaluation applications shown on the CC2541 page under Software>Development Tools (see link below). Features of these applications include a packet sniffer, flash programmer, and register configuration.

    http://www.ti.com/product/CC2541/toolssoftware

    -Reagan

     

  •  

    Hi

    I was the original designer for the TIDA-00056. The person who can really help you answer the City tech sensors is Domenico.Granozio@ti.com. He is really familiar with these.

    /Ajinder  

  • Hi,

    the only hardware change in the TIDA-00056 to accomodate a 3-lead gas sensor (such as the H2S) is related to the resistor R43 which shorts the RE to CE of the LMP91000.

    You have to remove that resistor, in this way the LMP91000 works as true potentiostat. The R43 resitor is used when 2-lead gas sensors (such as oxygen) are connected to the LMP91000.

    regards,

    Domenico

  • Thanks Domenico

     

    This is explained in the users guide as well. Please let us know if there are any pending questions

  • While knowing that I will need to modify the TIDA-00056 electronically is helpful, it had nothing to do with my question.  According to the user manual (http://www.ti.com/lit/ug/snoa922/snoa922.pdf#page=12&zoom=auto,0,691.9) I am supposed to update the sensorservice.c file.

    However, the Web bench (which is supposed to have those values is practically unpopulated).

    Now either you are trying to tell me that the firmware needs no updating (in which I have been given the runaround to buy the debugger and to work with your firmware code) or there is information lacking to allow me to use your supposedly compatible hardware.


    Lets make some easy questions then.

    To use the H2S sensor from City tech the H2S 3E 100 with the Gas Sensor Platform known as the TIDA-00056 do I need to update the firmware?

    If yes:

    Where do I find the parameters for the Citytech H2S 3E 100 (and please don't say the data sheet because I've already looked there) to fulfill the parameters for the sensorservice.c file?

    Do I need to remove Resistor 43 as was previously stated in your earlier email?

    Please understand that I am trying to make the firmware work right now.  Though if there is anything else that had almost no mention that I should know about, it would also be helpful.

    Best regards,

    Nicole Stanton

  • Hi Nicole

    Here are my responses. By default what we ship on e store has the firmware for 3 lead Amperoemetric Gas Sensor - like the CO sensor that we explain in the documentation.

    The City Sensoric H2S is also 3 lead ampereometric so we dont need to change anything in the hardware. So to answer your question.

    Do I need to remove Resistor 43 as was previously stated in your earlier email? >> No, the resistor is already removed as required for an ampereometric, so you dont need to do anything.

     

    Now lets address the firmware questions: As by default we support Ampereometric, then if you refer to page 5 of the documentation (design guide) where I have equations, then as far as Vref_div go lets keep it same as 20% of Vref so it will be 0.5V. As the VREF is 2.5V

    Lets keep the RTIA same as 7000 as the default firmware, now by this you DONT have to change anything in the firmware. The only concern I would have here is that the specification of the H2S sensor that you have, has its max current at full range (100ppm) would only produce a max voltage of 0.63V with a setting of 7000 RTIA setting.

    I am taking (750nAppm+150nA/ppm)*100*7000 = 0.63V

    So now your sensor range analog output would be from 0.5V (above) to 0.63V (very less dynamic range). Now if you can change the firmware to change RTIA to lets say 14kohms (page 14 of the LMP91000 datasheet) then you can get a dynamic range from 0.5V to 1.25V corresponding to 0ppm to 100ppm

     

    You may have to make adjustments to the IOS app for proper display of ppm

    Using the City Sensoric Data: The range is only 0-100pm as compared to 5000pom for the CO sensor

     

    Domenico pls comment if you want to add anything

     

     

  • So by adjusting the RTIA, do I also need to change the TIA_Gain to TIA_GAIN_14K_OHM?  And is R_load to stay the same?
     
     
    Thanks,
    Nicole
     
    From: Ajinder Singh [mailto:bounce-1411@mail.e2e.ti.com]
    Sent: Wednesday, June 25, 2014 2:36 PM
    To: analog_elab@mail.e2e.ti.com
    Subject: RE: [Webench Tools Forum] Webench and the TIDA-00056 for an H2S Sensor
     

    Hi Nicole

    Here are my responses. By default what we ship on e store has the firmware for 3 lead Amperoemetric Gas Sensor - like the CO sensor that we explain in the documentation.

    The City Sensoric H2S is also 3 lead ampereometric so we dont need to change anything in the hardware. So to answer your question.

    Do I need to remove Resistor 43 as was previously stated in your earlier email? >> No, the resistor is already removed as required for an ampereometric, so you dont need to do anything.

     

    Now lets address the firmware questions: As by default we support Ampereometric, then if you refer to page 5 of the documentation (design guide) where I have equations, then as far as Vref_div go lets keep it same as 20% of Vref so it will be 0.5V. As the VREF is 2.5V

    Lets keep the RTIA same as 7000 as the default firmware, now by this you DONT have to change anything in the firmware. The only concern I would have here is that the specification of the H2S sensor that you have, has its max current at full range (100ppm) would only produce a max voltage of 0.63V with a setting of 7000 RTIA setting.

    I am taking (750nAppm+150nA/ppm)*100*7000 = 0.63V

    So now your sensor range analog output would be from 0.5V (above) to 0.63V (very less dynamic range). Now if you can change the firmware to change RTIA to lets say 14kohms (page 14 of the LMP91000 datasheet) then you can get a dynamic range from 0.5V to 1.25V corresponding to 0ppm to 100ppm

     

    You may have to make adjustments to the IOS app for proper display of ppm

    Using the City Sensoric Data: The range is only 0-100pm as compared to 5000pom for the CO sensor

     

    Domenico pls comment if you want to add anything

     

     

  • When I said change RTIA, i meant change TIA_GAIN (or the register 0x10) bit [4:2] to 100

     

    You dont have to change RLOAD

  • Glad I asked.  Thanks a lot for clarifying.
     
    I think I have what I need.
     
    Nicole
     
    From: Ajinder Singh [mailto:bounce-1411@mail.e2e.ti.com]
    Sent: Friday, June 27, 2014 11:27 AM
    To: analog_elab@mail.e2e.ti.com
    Subject: RE: [Webench Tools Forum] Webench and the TIDA-00056 for an H2S Sensor
     

    When I said change RTIA, i meant change TIA_GAIN (or the register 0x10) bit [4:2] to 100

     

    You dont have to change RLOAD

  • Thanks for all your help so far.  I finally was able to connect to the microprocessor and to get my code working well however, as you predicted I’m having trouble scaling to the H2S 0 to 100ppm.  What variables should I adjust to correct this error?  I think I know which ones, but I might be missing something.
     
     
    Best regards,
    Nicole Stanton
    Engineer
    Pacific Northwest National Laboratory
    902 Battelle Boulevard
    P.O. Box 999, MSIN K5-17
    Richland, WA  99352 USA
     
    Located in SEF Building
    Office: 509-371-7980
    Cell: 850-545-4579
     
     
     
    From: Ajinder Singh [mailto:bounce-1411@mail.e2e.ti.com]
    Sent: Friday, June 27, 2014 11:27 AM
    To: analog_elab@mail.e2e.ti.com
    Subject: RE: [Webench Tools Forum] Webench and the TIDA-00056 for an H2S Sensor
     

    When I said change RTIA, i meant change TIA_GAIN (or the register 0x10) bit [4:2] to 100

     

    You dont have to change RLOAD

  • Nicole

    You should be able to change the ppm scale in the app itself. Let me know if you still have any questions.

    /Ajinder

  • Ajinder,

    I'm sorry to say that I am at my wits end.  for the life of me I cannot understand what I'm doing wrong however when I put the sensor in testing I cannot get a reading on any H2S.  Are there limitations to the TIDA-00056?  the sensor I am using is 0-100ppm H2S and I am testing it with 5ppm premixed certified gas.  Please advise.

    Nicole Stanton

  • Hi Nicole

    What I recommend is that you first try and look at the output voltage (analog output of the LMP91000)with an oscilloscope and see if it is changing in the environment. Please note that the iOS app may need adjustment for the ppm reading.

    You need to probe on pin 8 of the LMP91000 device or U5

    But key would be to first see that if the analog output voltage is changing as you change the H2S environment.

    /Ajinder