Configuring MQ-series Gas Sensors and ADS1115 ADCs #piday #raspberrypi @Raspberry_Pi
Thanks to Phil for sharing this project with us. Check out more here.
I am finally getting around to configuring my box of MQ-series gas sensors from BangGood and ADS1115 16-bit analog to digital I2C converters from Adafruit. I had suggested I2C-compatible MQ-series sensors as a product for Adafruit, but LadyAda subtlely implied that I should go ahead and do that myself. 🙂 So here we are….
…I have nine MQ sensors to configure, and each one draws 150mA of power. To address this, I have a 10A 5v power supply from Adafruit, a 2.1mm screw terminal female jack wired with 22AWG wire to the breadboard power and ground strips, a 4-connector pigtail to split out the power to various components. This is destined for Laika, my rover, so I need to power the MQ sensors, the servo PWM driver, and the motor shield. Thus, the 1-4 pigtail. How to power all this in a portable package is a problem for another day (thinking lead acid AGM batteries at this point, which will give me 13.8v and a ton of amp hours to play with).
ADS1115 16-Bit ADC – 4 Channel with Programmable Gain Amplifier: For microcontrollers without an analog-to-digital converter or when you want a higher-precision ADC, the ADS1115 provides 16-bit precision at 860 samples/second over I2C. The chip can be configured as 4 single-ended input channels, or two differential channels. As a nice bonus, it even includes a programmable gain amplifier, up to x16, to help boost up smaller single/differential signals to the full range. We like this ADC because it can run from 2V to 5V power/logic, can measure a large range of signals and its super easy to use. It is a great general purpose 16 bit converter. Read more.
Assembled Pi T-Cobbler Plus – GPIO Breakout – for RasPi A+/B+/Pi 2/Pi 3: The Raspberry Pi B+, Pi 2 and Pi 3 have landed on the Maker World like a 40-GPIO pinned, quad-USB ported, credit card sized bomb of DIY joy. And while you can use most of our great Model B accessories by hooking up our downgrade cable, its probably a good time to upgrade your set up and accessorize using all of the Model B+’s, Pi 2’s and Pi 3’s 40 pins. Read more.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.