Aspire :: Bundles :: Velleman DVM 1200 Producer
- 1 Context
- 2 Dependencies
- 3 Build
- 4 Installation
- 5 Test
- 6 Configuration
- 7 Data
- 8 Troubleshooting
- 9 Links
- 10 Gallery
This section describes the bundle for USB Multimeter Velleman DVM 1200 sensor
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.2 Dependencies
This bundle requires :- OSGi R4 Compendium, available from OBR in Felix Shell
- RXTX, available from Aspire SVN Repository/bundles/common/rxtx
3 Build
3.1 Sources
4 Installation
You must install previously the driver for the (optical) Serial-to-USB adapter (Sunplus SPCP 825).5 Test
You can test with the RXTX command available from Aspire SVN Repository/bundles/common/rxtx.cmd-> 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 Nonerxtx (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
6 Configuration
In src/main/resources/IPOJO-INF/metadata.xml- portName
7 Data
The producer produces org.osgi.util.measurement.Measurement with the following units Unit.K, Unit.V, Unit.A, Unit.F, Unit.Hz, Unit.Ohm, Unit.Unity8 Troubleshooting
Sometime, the OSGi platform must be shutdown when the bundle is updated.9 Links
- DVM1200 User manual http://www.velleman.eu/downloads/1/dvm1200gbnlfresdplit.pdf
- Other Velleman USB-Serial multimeters
- 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