2. Soldering the headers
Before using your click board , make sure
to solder 1x8 male headers to both left and
right side of the board. Two 1x8 male headers
are included with the board in the package. 1
4. Essential features
Barometer click
2 3
LPS25HB is a high precision sensor. Its suit-
able for adding barometer or altimeter func-
tion to your design (altitude measurement for
wearables, weather station equipment etc.).
In high resolution mode it can measure pres-
sure within 0.01 hPa RMS. A low resolution
mode can be implemented to reduce power
consumption. To further optimize power con-
sumption, a Data Ready function can be used
Turn the board upside down so that Turn the board upward again. Make sure to send an interrupt whenever the pressure
the bottom side is facing you upwards. to align the headers so that they are value changes. The interrupt can also be con-
Place shorter pins of the header into the perpendicular to the board, then solder the figured to send a signal whenever a specified
appropriate soldering pads. pins carefully. high or low pressure threshold is reached.
1. Introduction
3. Plugging the board in
Barometer click carries the LPS25HB IC,
click
which is a piezoresistive absolute pressure Once you have soldered the headers your
sensor with a measurement range from board is ready to be placed into the desired
BOARD
260 to 1260 hPa (with a 24-bit resolution mikroBUS socket. Make sure to align the cut in
www.mikroe.com
output). Barometer click communicates the lower-right part of the board with the
with the target board microcontroller markings on the silkscreen
2
either through mikroBUS I C (SCL, SDA) or at the mikroBUS socket.
Barometer click manual
ver 1.00
SPI pins (MISO, MOSI, SCK, CS). Addition- If all the pins are aligned
ally, theres a Data Ready Interrupt pin. Its correctly, push the board all
designed to use a 3.3V power supply only. the way into the socket. 01000000748798. Code examples
5. Schematic
Once you have done all the necessary
preparations, its time to get your click board
VCC-3.3V VCC-3.3V up and running. We have provided examples
VCC-3.3V for mikroC , mikroBasic and mikroPascal
R1
E1 C1 J1
2K2
1 compilers on our Libstock website. Just
VCC-3.3V
10uF 100nF I2C
PWR download them and you are ready to start.
CS_SEL 2
VCC-3.3V VCC-3.3V
U1 SPI_CS 3 SPI
AN PWM
R2 R3
DRDY
RST INT CS SEL.
4K7 4K7
SPI_CS
CS TX
SPI_SCK
SCK RX
1 7 DRDY I2C_SCL J2 .com
SPI_M ISO
1
Vdd DRDY MISO SCL I2C_SCL
SPI_M OSI I2C_SDA
MOSI SDA
SCL_SEL 2 6 CS_SEL I2C
SCL MODE +3.3V +5V SCL_SEL 2
GND GND
SPI_SCK 3 SPI
MIKROBUS DEVICE CONN.
SCL SEL.
9. Support
J3
I2C_SDA 1
I2C
2
SDA_SEL
MikroElektronika offers free tech support
VCC-3.3V SPI_M OSI 3 SPI
(www.mikroe.com/support) until the end of
SDA SEL.
J5
1 the products lifetime, so if something goes
1 J4
2 I2C_SA0 I2C_SA0 1 wrong, were ready and willing to help!
I2C
0 3 2
SA0_SEL
I2C ADR.
SPI_M ISO 3 SPI
SDA SEL.
6. Dimensions 7. SMD jumpers 10. Disclaimer
MikroElektronika assumes no responsibility
mm mils
or liability for any errors or inaccuracies
that may appear in the present document.
LENGTH
28.5 1122
Specification and information contained in
WIDTH 25.4 1000
the present schematic are subject to change
HEIGHT*
3.6 142 Barometer click features two sets of jumpers. at any time without notice.
Three jumpers for switching between SPI and
28.5 mm / 1122 mils
2 2
* without headers I C interfaces (soldered in I C by default), and Copyright 2015 MikroElektronika.
2 2
an I C ADD is for specifying the I C address. All rights reserved.
25.4 mm / 1000 mils
3 10
RSV VCC
SDA_SEL 4 9
SDA GND
SA0_SEL 5 8
SA0 GND