Libelium Waspmote Manual de usuario

4-20 mA Current Loop
Sensor Board

-2-
v7.1
Index
Document version: v7.1 - 02/2017
© Libelium Comunicaciones Distribuidas S.L.
INDEX
1. General ................................................................................................................................................ 4
1.1. General and safety information..............................................................................................................................................4
1.2. Conditions of use .........................................................................................................................................................................4
2. Waspmote Plug & Sense!..................................................................................................................... 5
2.1. Features ...........................................................................................................................................................................................5
3. General view ........................................................................................................................................ 6
3.1. Specications ................................................................................................................................................................................6
3.2. Parts included................................................................................................................................................................................9
3.3. Identication...............................................................................................................................................................................10
4. Sensor probes .................................................................................................................................... 12
5. Solar powered.................................................................................................................................... 12
6. Programming the Nodes................................................................................................................... 14
7. Radio interfaces................................................................................................................................. 16
8. Industrial Protocols ........................................................................................................................... 17
9. Introduction....................................................................................................................................... 20
9.1. The standard ...............................................................................................................................................................................20
9.2. Power Supply..............................................................................................................................................................................20
9.3. Transmitters categories...........................................................................................................................................................21
9.3.1. Type 2 loop current....................................................................................................................................................21
9.3.2. Type 3 loop current....................................................................................................................................................21
9.3.3. Type 4 loop current....................................................................................................................................................22
10. Hardware.......................................................................................................................................... 23
10.1. Electrical characteristics....................................................................................................................................................... 23
10.2. Connection diagram..............................................................................................................................................................24
10.3. Channel wiring for Plug & Sense!......................................................................................................................................25
10.4. Sensor connection on Plug & Sense! ..............................................................................................................................26
10.4.1. Terminal box probe.................................................................................................................................................26
10.4.2. DB9 probe...................................................................................................................................................................27
10.5. Consumption ...........................................................................................................................................................................27
10.6. Connectors................................................................................................................................................................................ 28
10.7. Powering sensors from the 4-20 mA Board ..................................................................................................................28

-3-
v7.1
11. Applications..................................................................................................................................... 29
12. Libelium library ............................................................................................................................... 30
13. Library functions ............................................................................................................................. 31
13.1. Library constructor ................................................................................................................................................................31
13.2. Switching the board on........................................................................................................................................................31
13.3. Switching the board o........................................................................................................................................................31
13.4. Reading data ............................................................................................................................................................................32
13.5. Current loop state...................................................................................................................................................................32
14. Real application example ............................................................................................................... 33
15. Code examples and extended information................................................................................... 35
16. API changelog.................................................................................................................................. 37
17. Documentation changelog............................................................................................................. 38
18. Certications.................................................................................................................................... 39
Index

-4-
v7.1
General
1. General
1.1. General and safety information
• In this section, the term “Waspmote”encompasses both the Waspmote device itself and its modules and sensor boards.
• Read through the document “General Conditions of Libelium Sale and Use”.
• Do not allow contact of metallic objects with the electronic part to avoid injuries and burns.
• NEVER submerge the device in any liquid.
• Keep the device in a dry place and away from any liquid which may spill.
• Waspmote consists of highly sensitive electronics which is accessible to the exterior, handle with great care and avoid
bangs or hard brushing against surfaces.
• Check the product specications section for the maximum allowed power voltage and amperage range and consequently
always use a current transformer and a battery which works within that range. Libelium is only responsible for the correct
operation of the device with the batteries, power supplies and chargers which it supplies.
• Keep the device within the specied range of temperatures in the specications section.
• Do not connect or power the device with damaged cables or batteries.
• Place the device in a place only acºcessible to maintenance personnel (a restricted area).
• Keep children away from the device in all circumstances.
• If there is an electrical failure, disconnect the main switch immediately and disconnect that battery or any other power
supply that is being used.
• If using a car lighter as a power supply, be sure to respect the voltage and current data specied in the “Power Supplies”
section.
• If using a battery in combination or not with a solar panel as a power supply, be sure to use the voltage and current data
specied in the “Power supplies” section.
• If a software or hardware failure occurs, consult the Libelium Web Development section.
• Check that the frequency and power of the communication radio modules together with the integrated antennas are
allowed in the area where you want to use the device.
• Waspmote is a device to be integrated in a casing so that it is protected from environmental conditions such as light, dust,
humidity or sudden changes in temperature. The board supplied “as is” is not recommended for a nal installation as the
electronic components are open to the air and may be damaged.
1.2. Conditions of use
• Read the “General and Safety Information” section carefully and keep the manual for future consultation.
• Use Waspmote in accordance with the electrical specications and the environment described in the “Electrical Data”
section of this manual.
• Waspmote and its components and modules are supplied as electronic boards to be integrated within a nal product. This
product must contain an enclosure to protect it from dust, humidity and other environmental interactions. In the event of
outside use, this enclosure must be rated at least IP-65.
• Do not place Waspmote in contact with metallic surfaces; they could cause short-circuits which will permanently damage it.
Further information you may need can be found at: http://www.libelium.com/development/waspmote
The “General Conditions of Libelium Sale and Use” document can be found at:
http://www.libelium.com/development/waspmote/technical_service

-5-
v7.1
Waspmote Plug & Sense!
2. Waspmote Plug & Sense!
The Waspmote Plug & Sense! line allows you to easily deploy Internet of Things networks in an easy and scalable way, ensuring
minimum maintenance costs. The platform consists of a robust waterproof enclosure with specic external sockets to connect
the sensors, the solar panel, the antenna and even the USB cable in order to reprogram the node. It has been specially designed
to be scalable, easy to deploy and maintain.
Note: For a complete reference guide download the “Waspmote Plug & Sense! Technical Guide” in the Development section of
the Libelium website.
2.1. Features
• Robust waterproof IP65 enclosure
• Add or change a sensor probe in seconds
• Solar powered with internal and external panel options
• Radios available: 802.15.4, 868 MHz, 900 MHz, WiFi, 4G, Sigfox and LoRaWAN
• Over the air programming (OTAP) of multiple nodes at once (via WiFi or 4G radios)
• Special holders and brackets ready for installation in street lights and building fronts
• Graphical and intuitive programming interface Code Generator (coming in 2017)
• Built-in, 3-axes accelerometer
• External, contactless reset with magnet
• External SIM connector for the 4G models
• Fully certied: CE (Europe), FCC (USA), IC (Canada), ANATEL (Brazil), RCM (Australia), PTCRB (USA, cellular connectivity),
AT&T (USA, cellular connectivity)
Figure: Waspmote Plug & Sense!

-6-
v7.1
General view
3. General view
This section shows main parts of Waspmote Plug & Sense! and a brief description of each one. In later sections all parts will be
described deeply.
3.1. Specications
• Material: polycarbonate
• Sealing: polyurethane
• Cover screws: stainless steel
• Ingress protection: IP65
• Impact resistance: IK08
• Rated insulation voltage AC: 690 V
• Rated insulation voltage DC: 1000 V
• Heavy metals-free: Yes
• Weatherproof: true - nach UL 746 C
• Ambient temperature (min.): -10 °C
• Ambient temperature (max.): 50 °C
• Approximated weight: 800 g
In the pictures included below it is shown a general view of Waspmote Plug & Sense! main parts. Some elements are dedicated
to node control, others are designated to sensor connection and other parts are just identication elements. All of them will be
described along this guide.
164 mm
124 mm
175 mm
410 mm
160 mm
122 mm
85 mm
Figure : Main view of Waspmote Plug & Sense!

-7-
v7.1
General view
Figure : Control side of the enclosure
Figure : Control side of the enclosure for 4G model
Figure : Sensor side of the enclosure

-8-
v7.1
General view
Figure : Antenna side of the enclosure
Figure : Front view of the enclosure
Figure : Back view of the enclosure

-9-
v7.1
General view
Figure : Warranty stickers of the enclosure
Important note: Do not handle black stickers seals of the enclosure (Warranty stickers). Their integrity is the proof that Waspmote
Plug & Sense! has not been opened. If they have been handled, damaged or broken, the warranty is automatically void.
3.2. Parts included
Next picture shows Waspmote Plug & Sense! and all of its elements. Some of them are optional accessories that may not be
included.
1
2
3
4
5
7
6
8
9
10
Figure : Waspmote Plug & Sense! accessories: 1 enclosure, 2 sensor probes, 3 external solar panel, 4 USB cable, 5 antenna, 6 cable ties, 7 mounting feet
(screwed to the enclosure), 8 extension cord, 9 solar panel cable, 10 wall plugs & screws

-10-
v7.1
General view
3.3. Identication
Each Waspmote model is identied by stickers. Next gure shows front sticker.
Model identication colour
Enclosure model
Figure : Front sticker of the enclosure
There are many congurations of Waspmote Plug & Sense! line, all of them identied by one unique sticker. Next image shows
all possibilities.
Figure : Dierent front stickers
Otros manuales para Waspmote
4
Este manual sirve para los siguientes modelos
1
Tabla de contenidos
Otros manuales de Accesorios de Libelium






















