SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

En vedette

Summer training 2015
Summer training 2015Summer training 2015
Summer training 2015YK Rap
 
Mineral property valuation ags 2017 11feb17
Mineral property valuation ags 2017 11feb17Mineral property valuation ags 2017 11feb17
Mineral property valuation ags 2017 11feb17DALLAS DAVIS
 
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 HIMADRI BANERJI
 
Chemistry fuels and combustion
Chemistry  fuels and combustionChemistry  fuels and combustion
Chemistry fuels and combustionKkaran Karan
 
Deltas- types, formation, case studies
Deltas- types, formation, case studiesDeltas- types, formation, case studies
Deltas- types, formation, case studiesNishay Patel
 
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 gasificationDan Wilson
 
Fluvial/River Processes
Fluvial/River Processes Fluvial/River Processes
Fluvial/River Processes Noel Hogan
 
Underground Coal Gasification - India & Global
Underground Coal Gasification -  India & GlobalUnderground Coal Gasification -  India & Global
Underground Coal Gasification - India & Globalmohkab1
 
Coal To liquid
Coal To liquidCoal To liquid
Coal To liquidIshan Shah
 
Coal Liquefaction
Coal LiquefactionCoal Liquefaction
Coal Liquefactionmohkab1
 
Underground coal gasification
Underground coal gasificationUnderground coal gasification
Underground coal gasificationdevmehta10
 
River Channel Processes & Landforms
River Channel Processes & LandformsRiver Channel Processes & Landforms
River Channel Processes & LandformsMalia 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
 

En vedette (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...
 

Plus de Hartowijaya®

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 baraHartowijaya®
 
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...Hartowijaya®
 
Bab 6. degasifikasi lapisan batu bara
Bab 6. degasifikasi lapisan batu baraBab 6. degasifikasi lapisan batu bara
Bab 6. degasifikasi lapisan batu baraHartowijaya®
 
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 tanahHartowijaya®
 
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 longwallHartowijaya®
 
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 kontinyuHartowijaya®
 
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 terowonganHartowijaya®
 
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 pertambanganHartowijaya®
 
Hartowijaya membagi pengetahuan [indonesian]
Hartowijaya   membagi pengetahuan [indonesian] Hartowijaya   membagi pengetahuan [indonesian]
Hartowijaya membagi pengetahuan [indonesian] Hartowijaya®
 

Plus 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]
 

Dernier

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 AutomationSafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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...DianaGray10
 
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 2024Rafal Los
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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 TerraformAndrey Devyatkin
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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 Takeoffsammart93
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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 CVKhem
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Dernier (20)

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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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...
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Coal mine methane gas flow measurement - practical exercise 01