Consortium
Activities
Projects
Forge
Events
Log-in
Register
Aspire :: Bundles :: Velleman DVM 1200
Space Menu
Consortium
|
Solutions
|
Middleware
|
Forge
|
MyObjectWeb
|
PDF
|
History
|
More Actions
View
Code
|
XML
|
Help
Documentation
|
XWiki Syntax
|
1 Aspire :: Bundles :: Velleman DVM 1200 Producer ---- #toc("" "" "true") ---- This section describes the bundle for USB Multimeter Velleman DVM 1200 sensor 1.1 Context The USB Multimeter Velleman DVM 1200 is a USB-to-serial multimeter. It can measure current (AC/DC), voltage (AC/DC), frequency, resistance, temperature, capacitance ... The DVM1200 costs approx. 60 euros VAT. The DVM1200MultimeterProducer bundle registers one Producer service producing Measurement, Double or String objects (unit is V, TBD). This producer can be used for Green Computing managers such as the [VOVOJavaEE>http://ecom.ow2.org/xwiki/bin/view/Main/engreenit]. 1.1 Dependencies This bundle requires : * OSGi R4 Compendium, available from OBR in Felix Shell * RXTX, available from Aspire SVN Repository/bundles/common/rxtx 1.1 Build 1.1.1 Sources * [here>http://websvn.ow2.org/listing.php?repname=aspire&path=%2Ftrunk%2Fbundles%2Fsensors%2Fvellemandvm1200producer%2F] 1.1 Installation You must install previously the [driver for the (optical) Serial-to-USB adapter>http://www.velleman.eu/distributor/support/downloads/?code=DVM1200] (Sunplus SPCP 825). 1.1 Test You can test with the RXTX command available from Aspire SVN Repository/bundles/common/rxtx.cmd {code} -> rxtx list Stable Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 ... -> rxtx iowrapper org.ow2.aspirerfid.vellemandvm1200.wrapper.DVM1200MultimeterWrapper -> rxtx open COM15 2400 None None 8 1 None rxtx (226 bytes received): 0.22 A (error=+/-0.0) AC rxtx (14 bytes received): 0.221 A (error=+/-0.0) AC rxtx (14 bytes received): 0.221 A (error=+/-0.0) AC rxtx (14 bytes received): 0.22 A (error=+/-0.0) AC rxtx (14 bytes received): 0.219 A (error=+/-0.0) AC rxtx (14 bytes received): 0.219 A (error=+/-0.0) AC ... rxtx close {code} 1.1 Configuration In src/main/resources/IPOJO-INF/metadata.xml * portName 1.1 Data The producer produces [org.osgi.util.measurement.Measurement>http://www.osgi.org/javadoc/r4v42/org/osgi/util/measurement/Measurement.html] with the following [units>http://www.osgi.org/javadoc/r4v42/org/osgi/util/measurement/Unit.html] Unit.K, Unit.V, Unit.A, Unit.F, Unit.Hz, Unit.Ohm, Unit.Unity 1.1 Troubleshooting Sometime, the OSGi platform must be shutdown when the bundle is updated. 1.1 Links * DVM1200 User manual http://www.velleman.eu/downloads/1/dvm1200gbnlfresdplit.pdf * Other Velleman USB-Serial multimeters ** [DVM2000>http://www.velleman.eu/distributor/support/downloads/?code=DVM2000] : the data format for the DVM2000 is probably similar to the DVM1200 one. Please could you report this to the mailing list if you have a DVM2000. * Other Velleman USB-Serial scopes ** [HPS40>http://www.velleman.eu/distributor/support/downloads/?code=HPS40] ([protocol>http://www.velleman.eu/images/tmp/hps40serialprotocols.txt)] ** [HPS50>http://www.velleman.eu/distributor/support/downloads/?code=HPS50] ** [APS230>http://www.velleman.eu/distributor/support/downloads/?code=APS230] ** [PPS10>http://www.velleman.eu/distributor/support/downloads/?code=PPS10] 1.1 Gallery {image:dvm1200.jpg}