Integration of sensors
The prototyping area included within the board is divided into two regions: the pads area and the integrated circuits area.
This is a matrix of 16x8 pads of 1 mm diameter whose aim is to fit discrete components such as resistors, capacitors or DIP encapsulated integrated circuits. The metallised area of each pad is of a larger size to facilitate both welding the components to the pads and welding pads to each other.
On the upper part and the lower part of the matrix there are strips of pads that provide an output to all the mote's signals in the sensors' connectors. In the next figure and its adjoining table we can see which microprocessor pin corresponds to each pad.

Figure : Image of the Waspmote inputs and outputs
Pin | Description |
1 | Digital input/output signal DIGITAL8 |
2 | Digital input/output signal DIGITAL6 |
3 | Digital input/output signal DIGITAL4 |
4 | Digital input/output signal DIGITAL2 |
5 | Reserved |
6 | Digital input/output signal and analog input ANALOG6 |
7 | Digital input/output signal and analog input ANALOG4 |
8 | Digital input/output signal and analog input ANALOG2 |
9 | 3.3 V Power Supply (SENS_PW_3V3) |
10 | 3.3 V Power Supply (GPS_PW) |
11 | SDA (I2C bus signal) |
12 | SCL (I2C bus signal) |
13 | 5 V Power Supply (SENS_PW_5V) |
14 | Digital input/output signal and analog input ANALOG1 |
15 | Digital input/output signal and analog input ANALOG3 |
16 | Digital input/output signal and analog input ANALOG5 |
17 | Digital input/output signal and analog input ANALOG7 |
18 | Digital input/output signal DIGITAL1 |
19 | Digital input/output signal DIGITAL3 |
20 | Digital input/output signal DIGITAL5 |
21 | Digital input/output signal DIGITAL7 |
22 | Transmission Output UART 1 SERIAL_1_TX |
23 | Reception Input UART 1 SERIAL_1_RX |
24 | Reception Input UART 2 SERIAL_2_RX |
25 | Transmission Output UART 2 SERIAL_2_TX |
26 | Battery Supply Voltage |
27 | Ground GND |
28 | SCK (SPI bus signal) |
29 | High interrupt input signal RXD1 |
30 | Low interrupt input signal TXD1 |
31 | 3.3V Supply Voltage (SENS_PW_3V3) |
32 | MOSI (SPI bus signal) |
33 | MISO (SPI bus signal) |
Finally a series of pads connected to the 3.3 V supply, the 5 V supply and to ground are included. They can be seen in the folowing figure.

Figure : Image of the different power supply pads
Seven footprints have been added for SMD integrated circuits of different sizes: One 20 port SO type, one 24 port TSSOP, one 10 port micro-SOIC, two 6 port SOT-23 and two 6 port SC-70. Output is given to each of the footprint ports through a 1mm diameter pad, from which it is possible to access the circuit.
In the next 2 figures all the integrated circuit footprints and the pads which correspond to their output ports can be seen.

Figure : Image of the SO, TSSOP and SOT-23 circuit area

Figure : Image of the micro-SOIC and SC-70 circuit area
The Waspmote microcontroller incorporates a 10-bit analog-to-digital converter which can be accessed through any of the analog inputs within the main 2x12 pin connector. In the event of any application requiring a higher resolution, a 16-bit Sigma-Delta (ΣΔ) analog-to-digital converter has been added to the prototyping board, with a maximum conversion time of 23 ms (Linear model LTC2453). Communication with this device is carried out through the I2C, allowing a differential reading between its input IN+ and IN- (see section "API" about the board libraries for information on the necessary commands for communication).
Each of the inputs allows a range of voltage between 0 and 4.5 V, allowing therefore a differential measurement between -4.5V and 4.5 V. To obtain a more precise reading, the reference voltage for the conversion is fixed by a voltage reference of 4.5 V, model MAX6107. In the figure below there is a diagram of the connections which follow the converter circuit, and in the following figure the pads from which this is accessed can be seen.

Figure : Diagram of the integration of the analog-to-digital converter
Basic reading code:
{
float value;
SensorProtov20.ON();
delay(10);
value = SensorProtov20.readADC();
}
You can find a complete example code for reading the analog-to-digital converter at: https://development.libelium.com/prototyping-reading-the-adc/

Figure : Input pins to the analog-to-digital converter
Last modified 2yr ago