26. Working environment
The first step is to install the Waspmote IDE (Integrated Development Environment) used to program Waspmote. This IDE can
be found on:
http://www.libelium.com/development/waspmote
The Waspmote IDE is based on open source Arduino platform compiler, following the same style of libraries and operation. It
is important to use the version found on the Waspmote website and no other version of the Arduino IDE. This is because the
version available on the Libelium website has been properly tested so we can assure optimum operation.
The Waspmote IDE includes all the API libraries necessary to compile the programs; it is valid for both Waspmote and Waspmote
Plug & Sense! platforms.
The file which contains the compiler and the libraries is called "waspmote-pro-ide-vxx" -<OS>" (xx corresponds to the version
name and OS to the operating system). This file contains a folder with the Waspmote compiler, which must be extracted to the
desired route. The Waspmote libraries are integrated in this folder, being available when the compiler is run.
To be able to run the compilation from a code successfully, a series of applications must be installed on the computer. The
applications to install vary according to the O.S. used.
The API is divided into two different folders: core and libraries. The core folder contains the basic files and the most common
utilities for the Waspmote device. The libraries folder contains the API related to the different modules and features Waspmote
can manage.
In order to update to future library versions, the API must be modified within the "hardware/cores" and "hardware/libraries"
folders found inside the previously unzipped folder.
The next step will be to install the Waspmote IDE. Libelium created a dedicated guide for this task. It is called "Waspmote IDE:
User Guide", and can be found on Libelium website software section:
http://www.libelium.com/development/waspmote/sdk_applications
This guide will explain in detail how to install the IDE, how to use it, to compile programs or upload sketches. There are details
on the libraries structure too. We advise to read this guide carefully.
If it is the first time you plug a Waspmote on your PC and you are unable to see the proper USB port, maybe you should install
the latest FTDI drivers:
http://www.ftdichip.com/Drivers/D2XX.htm
Moreover, if you have troubles installing FTDI drivers and your computer is unable to recognize Waspmote, please follow the
installation guide for your operating system on your next link:
26.1. First steps
Waspmote comes from factory preconfigured with a program which lets you check the right operation of the device.
Steps:
1.
Install the Waspmote IDE on the computer (previous point).
2.
Connect the antennas and the rest of the desired components to Waspmote and Waspmote Gateway.
3.
Plug Waspmote Gateway to the USB port on the computer.
4.
Launch the serial monitor application and set the next parameters:
-
USB port:115200bps
-
8bits
-
1 bit stop
-
no parity setting
5.
Connect the batteries to the Waspmotes.
6.
Switch Waspmotes to the ON position.
When the program starts, it executes sequentially these actions:
http://www.ftdichip.com/Support/Documents/InstallGuides.htm
-127-
Working environment
v6.3
Need help?
Do you have a question about the Waspmote and is the answer not in the manual?