SlideShare una empresa de Scribd logo
1 de 24
Coal Mine Methane Gas Flow
Measurement
Practical exercise #01 – Calculating
realtime gas flow using a Raspberry Pi,
Arduino, & 4-20mA DP Sensor
Session Outcome
By the end of the session participants should be
able to:
“Use open-source electronics prototyping
platforms based on flexible, easy-to-use
hardware and software to read a Differential
Pressure from a 4-20mA sensor in a classroom
environment.”
Class Equipment Required
• Raspberry Pi
• Powered USB Hub
• USB WiFi dongle
• Arduino
• Breadboard
• Zener diode, resistors and jumper wires
• Power Adapter 24V DC output
• 24v DC/DC Converter
• 4-20mA DP Sensor
Raspberry Pi with Powered USB Hub
and Wifi dongle
Arduino and 4-20mA DP Sensor
Power Adapter 24V DC output with
24v DC/DC Converter
How to get started with the
Raspberry Pi
• Selecting the Distribution
• Imaging the SD Card
• Configuring Raspbian
• Configure Raspberry Pi for
Remote Shell, VNC, and FTP
• Renaming the Raspberry Pi
computer
• Setup a Raspberry Pi with a
hidden WiFi network
• Working with DHCP
• Simplified Setup for Arduino
on Raspberry Pi
4-20ma and loop powered
• 24v DC Power source
• 4-20mA Signal
• Voltage dropped across
the 250 ohm resistor
Arduino I/O Protection
• Every I/O pin is to be
protected by a 5.1V
zener diode and 220
ohm 30mA PTC
(resettable fuse).
• The equivalent circuit
Arduino IDE
• Initial test sketch
• Uploading
• Serial Monitor
• Testing
Arduino simple ModBus slave
• Programming the
Arduino as a simple
ModBus slave
• Serial communications
9600 8N1
Symbolic Linking COM Ports
• sudo ln -sf /dev/ttyACM0 /dev/ttyS3
Qt
• sudo apt-get install
qtcreator
ModBus Master
• Compiling code in Qt
Creator
• Testing with ModBus
slave devices
QModBus
• Modifying make files
• Compiling code in Qt
Creator
• Testing with ModBus
slave devices
DP Sensor
• 4-20mA signal
• 220 ohm resister
• ADC (0 – 1023)
equivalent to 0 to 5 V
DC
Apache Tomcat & Java Development
Kit (JDK)
• Installation of JDK
• Installation of Apache
Tomcat
• Apache Tomcat Web
Application Manager
ScadaBR
• Installing WAR file in
Apache Tomcat
• Configuring ScadaBR
• Creating Data Sources
• Using Watch Lists
• Creating a simple
Graphic view
Xively
• Creating a Development
Device
• Adding Channels
• API Key, Feed ID, and
Device ID (aka Channel)
• Configuring Publishers
in ScadaBR
Raspberry Pi Online Resources
http://www.raspberrypi.org/
http://www.howtogeek.com/138281/the-htg-guide-to-getting-started-
with-raspberry-pi/
http://www.howtogeek.com/141157/how-to-configure-your-
raspberry-pi-for-remote-shell-desktop-and-file-transfer/
http://simonthepiman.com/how_to_rename_my_raspberry_pi.php
http://www.dafinga.net/2013/01/how-to-setup-raspberry-pi-with-
hidden.html
http://baldwisdom.com/simplified-setup-for-arduino-on-raspberry-pi/
http://forums.debian.net/viewtopic.php?f=16&t=61943
Arduino Online Resources
http://www.arduino.cc/
http://ruggedcircuits.com/html/ancp01.html
http://erdosmiller.com/products/arduino-4-20ma-shield
http://arduino.cc/en/Tutorial/ReadAnalogVoltage
https://code.google.com/p/simple-modbus/
M2M Mango
• http://mango.serotoninsoftware.com/downlo
ad.jsp
• http://tomcat.apache.org/index.html
• http://macgyverdev.blogspot.com.au/2012/08
/raspberry-pi-how-to-get-ssh-and-tomcat.html
• http://qmodbus.sourceforge.net/
Hartowijaya® is a provider of technical, project, drilling services and operational support for coal
seam gas development projects in Australia and Indonesia.
PO Box 11763, Mackay Caneland, Queensland 4740, Australia
www.hartowijaya.com

Más contenido relacionado

Destacado

Chemistry fuels and combustion
Chemistry  fuels and combustionChemistry  fuels and combustion
Chemistry fuels and combustion
Kkaran Karan
 
River Channel Processes & Landforms
River Channel Processes & LandformsRiver Channel Processes & Landforms
River Channel Processes & Landforms
Malia Damit
 
Minerals and Mineral Processing, Extractive Metallurgy, Ore Dressing, Mineral...
Minerals and Mineral Processing, Extractive Metallurgy, Ore Dressing, Mineral...Minerals and Mineral Processing, Extractive Metallurgy, Ore Dressing, Mineral...
Minerals and Mineral Processing, Extractive Metallurgy, Ore Dressing, Mineral...
Ajjay Kumar Gupta
 

Destacado (16)

Summer training 2015
Summer training 2015Summer training 2015
Summer training 2015
 
Delta formation
Delta formationDelta formation
Delta formation
 
Mineral property valuation ags 2017 11feb17
Mineral property valuation ags 2017 11feb17Mineral property valuation ags 2017 11feb17
Mineral property valuation ags 2017 11feb17
 
Clean Coal Technology:Indian Perspective by Himadri Banerji
Clean Coal Technology:Indian Perspective by Himadri Banerji Clean Coal Technology:Indian Perspective by Himadri Banerji
Clean Coal Technology:Indian Perspective by Himadri Banerji
 
Chemistry fuels and combustion
Chemistry  fuels and combustionChemistry  fuels and combustion
Chemistry fuels and combustion
 
Deltas- types, formation, case studies
Deltas- types, formation, case studiesDeltas- types, formation, case studies
Deltas- types, formation, case studies
 
Coal bed methane and underground coal gasification
Coal bed methane and underground coal gasificationCoal bed methane and underground coal gasification
Coal bed methane and underground coal gasification
 
Fluvial/River Processes
Fluvial/River Processes Fluvial/River Processes
Fluvial/River Processes
 
Coal bed methane
Coal bed methaneCoal bed methane
Coal bed methane
 
Underground Coal Gasification - India & Global
Underground Coal Gasification -  India & GlobalUnderground Coal Gasification -  India & Global
Underground Coal Gasification - India & Global
 
Coal To liquid
Coal To liquidCoal To liquid
Coal To liquid
 
Coal bed methane
Coal bed methaneCoal bed methane
Coal bed methane
 
Coal Liquefaction
Coal LiquefactionCoal Liquefaction
Coal Liquefaction
 
Underground coal gasification
Underground coal gasificationUnderground coal gasification
Underground coal gasification
 
River Channel Processes & Landforms
River Channel Processes & LandformsRiver Channel Processes & Landforms
River Channel Processes & Landforms
 
Minerals and Mineral Processing, Extractive Metallurgy, Ore Dressing, Mineral...
Minerals and Mineral Processing, Extractive Metallurgy, Ore Dressing, Mineral...Minerals and Mineral Processing, Extractive Metallurgy, Ore Dressing, Mineral...
Minerals and Mineral Processing, Extractive Metallurgy, Ore Dressing, Mineral...
 

Más de Hartowijaya®

Más de Hartowijaya® (9)

Bab 8. memprakirakan emisi gas untuk penerapan keamanan tambang batu bara
Bab 8. memprakirakan emisi gas untuk penerapan keamanan tambang batu baraBab 8. memprakirakan emisi gas untuk penerapan keamanan tambang batu bara
Bab 8. memprakirakan emisi gas untuk penerapan keamanan tambang batu bara
 
Bab 7. menangani kelebihan emisi gas yang berkaitan dengan karakteristik geol...
Bab 7. menangani kelebihan emisi gas yang berkaitan dengan karakteristik geol...Bab 7. menangani kelebihan emisi gas yang berkaitan dengan karakteristik geol...
Bab 7. menangani kelebihan emisi gas yang berkaitan dengan karakteristik geol...
 
Bab 6. degasifikasi lapisan batu bara
Bab 6. degasifikasi lapisan batu baraBab 6. degasifikasi lapisan batu bara
Bab 6. degasifikasi lapisan batu bara
 
Bab 5. sistem bleeder dalam tambang batu bara bawah tanah
Bab 5. sistem bleeder dalam tambang batu bara bawah tanahBab 5. sistem bleeder dalam tambang batu bara bawah tanah
Bab 5. sistem bleeder dalam tambang batu bara bawah tanah
 
Bab 4. mencegah penyalaan metan di permukaan longwall
Bab 4. mencegah penyalaan metan di permukaan longwallBab 4. mencegah penyalaan metan di permukaan longwall
Bab 4. mencegah penyalaan metan di permukaan longwall
 
Bab 3. pengendalian metan di sub bagian mesin penambang kontinyu
Bab 3. pengendalian metan di sub bagian mesin penambang kontinyuBab 3. pengendalian metan di sub bagian mesin penambang kontinyu
Bab 3. pengendalian metan di sub bagian mesin penambang kontinyu
 
Bab 2. pembuatan sampel metan dalam pertambangan dan terowongan
Bab 2. pembuatan sampel metan dalam pertambangan dan terowonganBab 2. pembuatan sampel metan dalam pertambangan dan terowongan
Bab 2. pembuatan sampel metan dalam pertambangan dan terowongan
 
Bab 1. fakta tentang metan yang penting bagi keamanan pertambangan
Bab 1. fakta tentang metan yang penting bagi keamanan pertambanganBab 1. fakta tentang metan yang penting bagi keamanan pertambangan
Bab 1. fakta tentang metan yang penting bagi keamanan pertambangan
 
Hartowijaya membagi pengetahuan [indonesian]
Hartowijaya   membagi pengetahuan [indonesian] Hartowijaya   membagi pengetahuan [indonesian]
Hartowijaya membagi pengetahuan [indonesian]
 

Último

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Coal mine methane gas flow measurement - practical exercise 01