Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here
Showcase

16-channel data acquisition system

A few months ago I was asked by a researcher here at the Stroud Water Research Center to come up with an automated way to measure the voltage of 8 fuel cells.  The cells need to be electrically isolated from each other, so that requires differential measurements instead of the more common method of using a common ground for everything and then just doing single-ended measurements.  I looked into commercial options for measuring 8 differential pairs, but everything I found was either too expensive if you wanted on-board storage and standalone operation, or the cheaper options had simpler hardware but required a dedicated computer to do the actual data collection

P1050138-001 P1050139-001

Since I already have an online MySQL database for collecting our streaming dataloggers, I decided to base this data acquisition (DAQ) system on an Arduino Uno Ethernet.  At $65, it’s a inexpensive and easy way to build an sensor-interfacing system with the added benefit of being able to send the data via the internet.  I also used an Adafruit datalogger shield because it has it’s own realtime clock and SD card slot.  With these two features, the DAQ can operate without an internet connection because it will always know what time it is and can store the data on the SD card.

P1050149-001 P1050148-001

For the actual voltage measurements, I chose the Adafruit ADS1015 12-bit ADC breakout board.  These boards are great because they can do 4 single-ended measurements or 2 differential.  They also can be assigned 4 different I2C address allowing 4 boards to be connected to the same I2C bus.  This gave me the 8 differential measurement pairs I needed, and because I used header sockets on the boards, it also gives me the flexibility to swap out these boards for the ADS1115 boards if I want 16-bit resolution later.

P1050140-001 P1050141-001

The shield on the top is mainly to break out the pins of the ADC boards to the screw terminals.  I also added a ribbon cable header socket for the ADC pins, a dual opto-isolator for controlling switched 5v or external power for optional sensors, and a connection for a DS18B20 digital temperature sensor.  It all fit inside an enclosure that I carefully selected to make sure the top row of the screw terminals was flush with the lid, but was large enough inside to fit all the boards when stacked together.

The total cost for everything was around $250, and took about a week from start to finish, thanks to the great service and fast shipping of Adafruit, and the quick production of the PCB boards I got from ExpressPCB.  The system has been running non-stop for the past two months and has been recording and uploading the data to our database system where we graph the live data.

P1050131-001 P1050153-001

0 0 votes
Article Rating
Subscribe
Notify of
5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
neilh20
8 years ago

Hey nice article. Thanks for posting.
I’m curious – what sort of target voltages where you measuring and what measurement accuracy where you looking for? and over what temperature range. ?

neilh20
8 years ago

Nice – The ADS1015 handles a lot.
A lot of onboard ADCs need careful looking at – they are improving.
Numbers need confidence/traceability analysis, the errors typically need all adding, the Vref error, temperature drift error across temperature range, the ADC error, and then any external circuitry – so that was why I was curious as to how you were checking it out.
I’m on the Nerds4Natrure.org Maker Fair San Mateo May15 and going to be showing/discussing errors and traceability for depth measuring sensors

http://blog.nerdsfornature.org/post/115703686099/nature-nerds-maker-faire-2015

5
0
Click to jump to comments section.x