Вы находитесь на странице: 1из 10

DIY DAQ with an Arduino: Calibrating the Sensors

0 0

By Rolland Maro

Previous article:

DIY DAQ: Make an Arduino Data Acquisition System

Now that the components and layout have been covered, we will get our data acquisition system working and run some
experiments with it. Details for the integration of the components and program used can be found in the previous article
and the full report that is attached at the end of this project. The complete device is shown in the picture below.

converted by Web2PDFConvert.com
System Specifications
The system has two buttons: a reset button denoted by number 1 on the image and a start/stop button (6).
The device can be powered in three different ways: through a USB cable (2), through a 9Volt DC battery, and or through a 6 to 12
volt adapter (3).
The system has 4 temperature channels but can be expanded to 8 channels (there are free slots for temperature ADC inside on
number 9).
The minimum time between sampling of data is 4 seconds.
The device will tear the weighing scale each time it is stopped, reset or powered up.
The tearing scale has an ability to accommodate a 3 bridge load cell which is more accurate.

They can only accommodate type K thermocouples and can measure the temperature at a scale of 0 t0 1024C.

System Operation
A memory card is inserted into a memory card slot before starting the device.
Power is then turned on using a switch.
After 5 seconds, an LED indicator should turn on showing that the device is initialized correctly and every component is connected
and ready to start sampling.
To start taking data, button number 6 is pressed briefly and the LED indicator will start to pulsing showing that data is being taken.
The time between pulses is the rate of sampling.
To stop taking data, the same button is pressed again.

Arduino Code
This Arduino code will declare the pins that the sensors and SD card are connected to. It will also add the data
acquisition process to your Arduino.

Arduino Data Acquisition Code

Calibrating the Sensors and Other Equipment


Parameters that are calibrated in the DAQ system are temperature and weight. The flow sensor has a pre calibrated
library and therefore doesnt need calibration.

Temperature Calibration
The process of calibrating the thermocouple (type K) sensor was done using a liquid in glass thermometer with a range
of 0 to 200C. A linear curve is fitted to the data to obtain the best approximation as shown in the figure below.

converted by Web2PDFConvert.com
Thus the calibrating equation used to convert the instrument value to approximate temperature is:

T( )=0.2493x where x=instrument reading.

Weight Sensor Calibration


The calibration of weight scale is done using 4 standard masses: 100 g, 200g, 500g, and 1000g. A linear curve is fitted to
the data to obtain the best approximation as shown in the figure below.

Thus the calibrating equation used to convert the instrument value to approximate weight is:

Mass(g) = 0.3245x-29615.8707 where x = instrument reading

Briquette Experiment
Now that the data acquisition system is set up, were ready to run some experiments!

The first experiment measured the temperature of different compositions of briquettes. The investigation of briquettes

converted by Web2PDFConvert.com
was done by starting with a fixed amount of water (2 liters). Burning was done until all briquettes were converted into
ashes. The following graphs represent the burning of briquettes.

Fire, Water, and room temperature for Mkombozi briquette sample

The second briquette sample was from Siga. The highest temperature obtained here was 575C for fire temperature.

More Information and Experiments


This DAQ system and the associated experiments were part of my final project for my University. You can read the full
report here (PDF) if you would like any additional information!

Tags: Arduino, Calibration, Sensors, Temperature, Thermistor, Weight Sensor

R E C O M M E N D E D P O S T S

converted by Web2PDFConvert.com
H O W T O U S E T E L E G R A M I N S T A N T M E S S A G I N G

converted by Web2PDFConvert.com
C O N N E C T I N G R A S P B E R R Y P I I O T D E V I C E S

converted by Web2PDFConvert.com
A R D U I N O O L E D T E M P E R A T U R E D I S P L A Y W I T H

converted by Web2PDFConvert.com
D I Y W E A T H E R S T A T I O N W I T H A N E M O M E T E R A

L E A V E A C O M M E N T

LEAVE YOUR COMMENT

Name (Required)

Email (Required)

Math Captcha

converted by Web2PDFConvert.com
20 17 =

P O S T C O M M E N T

F O L L O W U S

R E C E N T P O S T S
How to Use Telegram Instant Messaging on Raspberry Pi

DIY Motion-Activated Sink: How to Make an IR-Controlled Tap

Cleaning Things Up: Noisy Signals and Proper Practice

Do-It-Yourself Insect Detector with an Electret Microphone and PIC18F1220

Connecting Raspberry Pi IoT Devices with MQTT

C A T E G O R I E S

3D Designing
Advanced
Analog
Arduino projects
Beginners
Blog
Collaboration tools
Cyber Security
Drones
eBooks
Electronics hacks
ESP8266
Home Automation
Intel Edison
Intermediate
Raspberry pi projects

converted by Web2PDFConvert.com
Resources
Robotics
Sensors
VR and AR

converted by Web2PDFConvert.com

Вам также может понравиться