LPS22HB Click

12,00
(14,88 με ΦΠΑ)
075.0040
Άμεση
+
Προσθήκη στα αγαπημένα

LPS22HB click is an easy solution for adding a digital barometer to your design. It carries the LPS22HB MEMS nano pressure sensor.

The click is designed to run on a 3.3V power supply. LPS22HB click communicates with the target microcontroller over I2C or SPI interface.


LPS22HB click is an easy solution for adding a digital barometer to your design. It carries the LPS22HB MEMS nano pressure sensor. The click is designed to run on a 3.3V power supply. LPS22HB click communicates with the target microcontroller over I2C or SPI interface.

HOW THE CLICK WORKS 

LPS22HB click carries the pressure sensor that measures 260-1260 hPa absolute pressure. Pressure values are then read out from the IC’s registers, through I2C or SPI communication.


LPS22HB SENSOR FEATURES

The LPS22HB is an ultra-compact piezoresistive absolute pressure sensor which functions as a digital output barometer.

The sensing element, which detects absolute pressure, consists of a suspended membrane. When pressure is applied, the membrane deflection induces an imbalance in the Wheatstone bridge piezoresistances, whose output signal is converted by the IC interface.

The sensor has a 24-bit pressure data output and a 16-bit temperature data output.


SPECIFICATIONS

TypePressure,Altitude
ApplicationsBarometers for portable devices, GPS applications, Weather station equipment, etc.
On-board modulesLPS22HB pressure sensor
Key Features260 to 1260 hPa absolute pressure range
InterfaceI2C,GPIO,SPI
Input Voltage3.3V
CompatibilitymikroBUS
Click board sizeM (42.9 x 25.4 mm)


PINOUT DIAGRAM

This table shows how the pinout on LPS22HB click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

NotesPinMikrobus logo.pngPinNotes
NC1ANPWM16NC
NC2RSTINT15INTInterrupt or Data Ready
SPI enableCS3CSTX14NC
SPI ClockSCK4SCKRX13NC
SPI serial data outputSDO5MISOSCL12SCLI2C serial clock
SPI serial data inputSDI6MOSISDA11SDAI2C serial data
Power supply+3.3V73.3V5V10NC
GroundGND8GNDGND9GNDGround


MAXIMUM RATINGS

DescriptionMinTypMaxUnit
Supply VOltage (Vdd)1.73.6V
IO supply voltage(Vdd_IO)1.7Vdd+0.1V
Overpressure2MPa
Operating pressure range2601260hPa
Pressure sensitivity4096LSB/hPa


JUMPERS AND SETTINGS

DesignatorNameDefault PositionDefault OptionDescription
JP1COM SELRightSCL(I2C)Clock communication line Selection SCK/SCL, left position SCK, right position SCL
JP2COM SELRightSDA(I2C)Data communication line Selection SDI/SDA, left position SDI, right position SDA
JP3COM SELRightADD(I2C)Communication Interface lines Selection SDO/ADD, left position SDO, right position ADD
JP4ADD SELRight0Less significant bit of the I2C slave address selection 1/0, left position 1, right position 0.
JP5COM SELRightI2CCommunication interface selection CS/I2C, left position CS, right position I2C


LEDS AND BUTTONS

DesignatorNameTypeDescription
PWRPWRLEDPower LED, lights green when Board is powered.


PROGRAMMING

Code examples for MCP1664 click, written for MikroElektronika hardware and compilers are available on Libstock.


CODE SNIPPET

The following code snippet shows the main function of the example, which first calls the initialization functions, and then reads and outputs temperature and pressure values every 5 seconds

01 void main()
02 {
03     char uartTxt [20];
04     systemInit();
05     LPS22HB_initDriver (0x5C, I2C1_Start, I2C1_Write, I2C1_Read );
06     Uart1_Write_Text ("rnInitialized");
07     08    while( 1 )
09     {
10          Uart1_Write_Text ("rnTemperature: ");
11          FloatToStr ( LPS22HB_readTemperature (), uartTxt);
12          uartTxt [5] = '';
13          Uart1_Write_Text (uartTxt);
14 15         Uart1_Write_Text ("    Pressure: ");
16          FloatToStr ( LPS22HB_readPressure (), uartTxt);
17          uartTxt [8] = '';
18          Uart1_Write_Text (uartTxt);
19         20          Delay_ms (5000);
21     }
22 }


DOWNLOADS

 mikroBUS™ Standard specification 
 LibStock: LPS22HB click library 
 LPS22HB sensor datasheet
 LPS22HB click schematic
 Click Boards™ Catalog