Hi! How do you convert an ADC reading from an MQ3 sensor using ADS1115 to ppm? I am trying to measure the amount of alcohol.
This is the link to the datasheet of the MQ3 sensor https://www.sparkfun.com/datasheets/Sensors/MQ-3.pdf .
I am getting ADC values which ranges from 3000-4500 when not exposed to alcohol and up to 8000 when exposed to alcohol.
My MQ3 sensor is connected to the ADS1115 via A0 pin and my ADS1115 is connected to my Raspberry Pi via the SCL and SDA pins.
My code is basically:
import Adafruit_ADS1x15
adc = Adafruit_ADS1x15.ADS1115()
GAIN = 1
mq3reading = adc.read_adc(0, gain=GAIN)
Thank you very much!
This is the link to the datasheet of the MQ3 sensor https://www.sparkfun.com/datasheets/Sensors/MQ-3.pdf .
I am getting ADC values which ranges from 3000-4500 when not exposed to alcohol and up to 8000 when exposed to alcohol.
My MQ3 sensor is connected to the ADS1115 via A0 pin and my ADS1115 is connected to my Raspberry Pi via the SCL and SDA pins.
My code is basically:
import Adafruit_ADS1x15
adc = Adafruit_ADS1x15.ADS1115()
GAIN = 1
mq3reading = adc.read_adc(0, gain=GAIN)
Thank you very much!