Use your forum account to login.


TOP Contributors

  1. MikroElektronika Team (436 codes)
  2. Shawon Shahryiar (246 codes)
  3. Alcides Ramos (96 codes)
  4. Dany (66 codes)
  5. O B (61 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Alberto Trasimeni (25 codes)
  9. Roman Toropov (25 codes)
  10. Arezki YOUYOU (24 codes)

Most Downloaded

  1. Timer Calculator (77371 times)
  2. Network Ethernet Library (37711 times)
  3. FAT32 Library (36414 times)
  4. USB Device Library (28353 times)
  5. Network WiFi Library (27120 times)
  6. FT800 Library (19780 times)
  7. PID Library (18898 times)
  8. GSM click - Example (18497 times)
  9. microSD click - Example (15828 times)
  10. GPS click - Example (12694 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back

Altitude click Example


Author: MikroElektronika Team

Last Updated: 2013-10-28

Category: Measurement

Downloaded: 1753 times

Not followed.

This is a simple example of using MPL3115A2 sensor to calculate the current altitude.
Resulting altitude in meters is displayed on the Lcd.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Altitude click Example" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Altitude click Example" changes.

Do you want to report abuse regarding "Altitude click Example".

  • Information
  • Comments (1)

Download Example [42.33KB]


mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Altitude click

Altitude click

Front and back view of Altitude click board designed in mikroBUS form factor.

View full image

The MPL3115A2 employs a MEMS pressure sensor with an I2C interface to provide accurate Pressure/Altitude and Temperature data. The sensor outputs are digitized by a high resolution 24-bit ADC (Analog Digital Conversion).

Examples are written for :

 - EasyPIC7 - PIC18F45K22

Altitude click board schematics

Altitude click board schematics

Board is set to use 3.3V power supply by default.

View full image


Bluetooth Switch

This example demonstrates wireless Bluetooth switch control, using clicker2 for STM32, Bluetooth click board and Android smart phone.

[Learn More]

IQRF click

IQRF click carries the DCTR-76DA RF transceiver, operating in the 868/916 MHz frequency. The click is designed to run on a 3.3V power supply. It communicates with the target microcontroller over SPI or UART interface.

[Learn More]

Hydrogen Click - Example

This example demonstrates usage of the Hydrogen click board in mikroBUS form factor. Hydrogen click is suitable for detecting Hydrogen concentration - Hydrogen checker. LCD shows PPM value of Hydrogen concentration.

[Learn More]