Your SlideShare is downloading. ×
  • Like
  • Save
Coal mine methane gas flow measurement - practical exercise 01
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Coal mine methane gas flow measurement - practical exercise 01

  • 648 views
Published

Practical exercise #01 – Calculating realtime gas flow using a Raspberry Pi, Arduino, & 4-20mA DP Sensor. …

Practical exercise #01 – Calculating realtime gas flow using a Raspberry Pi, Arduino, & 4-20mA DP Sensor.

Using 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.

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
648
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Coal Mine Methane Gas FlowMeasurementPractical exercise #01 – Calculatingrealtime gas flow using a Raspberry Pi,Arduino, & 4-20mA DP Sensor
  • 2. Session OutcomeBy the end of the session participants should beable to:“Use open-source electronics prototypingplatforms based on flexible, easy-to-usehardware and software to read a DifferentialPressure from a 4-20mA sensor in a classroomenvironment.”
  • 3. 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
  • 4. Raspberry Pi with Powered USB Huband Wifi dongle
  • 5. Arduino and 4-20mA DP Sensor
  • 6. Power Adapter 24V DC output with24v DC/DC Converter
  • 7. How to get started with theRaspberry Pi• Selecting the Distribution• Imaging the SD Card• Configuring Raspbian• Configure Raspberry Pi forRemote Shell, VNC, and FTP• Renaming the Raspberry Picomputer• Setup a Raspberry Pi with ahidden WiFi network• Working with DHCP• Simplified Setup for Arduinoon Raspberry Pi
  • 8. 4-20ma and loop powered• 24v DC Power source• 4-20mA Signal• Voltage dropped acrossthe 250 ohm resistor
  • 9. Arduino I/O Protection• Every I/O pin is to beprotected by a 5.1Vzener diode and 220ohm 30mA PTC(resettable fuse).• The equivalent circuit
  • 10. Arduino IDE• Initial test sketch• Uploading• Serial Monitor• Testing
  • 11. Arduino simple ModBus slave• Programming theArduino as a simpleModBus slave• Serial communications9600 8N1
  • 12. Symbolic Linking COM Ports• sudo ln -sf /dev/ttyACM0 /dev/ttyS3
  • 13. Qt• sudo apt-get installqtcreator
  • 14. ModBus Master• Compiling code in QtCreator• Testing with ModBusslave devices
  • 15. QModBus• Modifying make files• Compiling code in QtCreator• Testing with ModBusslave devices
  • 16. DP Sensor• 4-20mA signal• 220 ohm resister• ADC (0 – 1023)equivalent to 0 to 5 VDC
  • 17. Apache Tomcat & Java DevelopmentKit (JDK)• Installation of JDK• Installation of ApacheTomcat• Apache Tomcat WebApplication Manager
  • 18. ScadaBR• Installing WAR file inApache Tomcat• Configuring ScadaBR• Creating Data Sources• Using Watch Lists• Creating a simpleGraphic view
  • 19. Xively• Creating a DevelopmentDevice• Adding Channels• API Key, Feed ID, andDevice ID (aka Channel)• Configuring Publishersin ScadaBR
  • 20. Raspberry Pi Online Resourceshttp://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.phphttp://www.dafinga.net/2013/01/how-to-setup-raspberry-pi-with-hidden.htmlhttp://baldwisdom.com/simplified-setup-for-arduino-on-raspberry-pi/http://forums.debian.net/viewtopic.php?f=16&t=61943
  • 21. Arduino Online Resourceshttp://www.arduino.cc/http://ruggedcircuits.com/html/ancp01.htmlhttp://erdosmiller.com/products/arduino-4-20ma-shieldhttp://arduino.cc/en/Tutorial/ReadAnalogVoltagehttps://code.google.com/p/simple-modbus/
  • 22. M2M Mango• http://mango.serotoninsoftware.com/download.jsp• http://tomcat.apache.org/index.html• http://macgyverdev.blogspot.com.au/2012/08/raspberry-pi-how-to-get-ssh-and-tomcat.html
  • 23. • http://qmodbus.sourceforge.net/
  • 24. Hartowijaya® is a provider of technical, project, drilling services and operational support for coalseam gas development projects in Australia and Indonesia.PO Box 11763, Mackay Caneland, Queensland 4740, Australiawww.hartowijaya.com