Help regarding registering sensor data - Page 1
Forum section: electronics / beginners

author: amangg
author_rank: Newbie
timestamp: April 20, 2017, 12:12:02 pm
content: Hey everyone,I have been working on a project on quantifying the changes in the properties of fruits/vegetables to measure the shelf life. I had recently bought an ethylene gas sensor from china but am facing certain issues with it (being new to the field sensors and board designs). The sensor is as follows :-http://www.winsen-sensor.com/products/4-series-electrochemical-toxic-gas-sensor/me3-c2h4.htmlAs per the datasheet, the concentration of ethylene is reflected by changes in the current produced so to measure the current produced I am using ACS712 chip on the board and the output shall be routed to ADC chip which will be connected to the raspberry pi (along with other sensors).I am finding trouble with the ACS712 chip as it has rounded input :-Could you help me out with the working of the ACS712 chip ? If I have a single output from the ethylene sensor that how to connect it to the ACS712 ?thanks in advance.

author: danadak
author_rank: Super Contributor
timestamp: April 20, 2017, 12:47:31 pm
content: Since your ethylene chip is single ended output ground theIP- pins and feed your output to the IP+ pins. Note the sens-itivity of the 712 is 66 - 185 mV/A. So what is the currentrange out of the ethylene sensor ?Also note the absolute accuracy of the 712 OK, but ifyou need more absolute accuracy you would mux a known currentreference into the 712 so that you could remove offset and Gerror in the 712. A PSOC would be a good possibility for this.See next post.Regards, Dana.

author: danadak
author_rank: Super Contributor
timestamp: April 20, 2017, 12:54:47 pm
content: Example use of PSOC onchip reference and current source -Mux example -https://duckduckgo.com/?q=psco+creator+images+current&atb=v58-5_a&iar=images&iax=1&ia=images&iai=http%3A%2F%2Fwww.cypress.com%2Fsites%2Fdefault%2Ffiles%2Finline%2FfckImages%2Fmyresources%2FKBA85474.jpgFor me what stands out is -1) Routability2) Fast 12 bit SAR A/D and slow 20 bit DelSig3) DFB (Digital Filter Block) that is dual channel, handle FIR or IIR filters, or DFBcan be used as a GP fast processor block, similar to RISC block4) MSI logic elements GUI based and/or the UDB Verilog capability. Eg. the FPGAlike capability5) Onboard Vref6) IDAC, VDAC, OpAmps (up to 4), comparator, mixer, switch cap, analog mux....7) LCD, COM, UART, I2C, I2S, One Wire, SPI, Parallel, LIN, CAN, BLE, USB9) Custom components capability, create with schematic capture or Verilog10) DMA to offload processes like filters, COM, Display11) ARM M0 (PSOC 4) or M3 (PSOC 5LP) or 8051 core(PSOC 3)12) Extensive clock generation capabilities13) All components supported by extensive prewritten APIshttps://www.element14.com/community/thread/23736/l/100-projects-in-100-days?displayFullThread=truehttp://www.cypress.com/documentation/code-examples/psoc-345-code-examplesGreat video libraryAttached component list. A component is an on chip HW resource.Free GUI design tool with schematic capture, "Creator". Components have rich API library attachedto each component. Compilers free as well.PSOC 4 is low end of family, consider 5LP parts as well. PSOC 4 also has arduino footprint boards (pioneer) as wellhttps://www.elektormagazine.com/labs/robot-build-with-cypress-psochttp://www.cypress.com/products/32-bit-arm-cortex-m-psocRegards, Dana.