Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (354 codes)
  2. Shawon Shahryiar (226 codes)
  3. Alcides Ramos (92 codes)
  4. Dany (66 codes)
  5. O B (60 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Roman Toropov (25 codes)
  9. Alberto Trasimeni (25 codes)
  10. Arezki YOUYOU (23 codes)

Most Downloaded

  1. Timer Calculator (67950 times)
  2. Network Ethernet Library (34531 times)
  3. FAT32 Library (32314 times)
  4. USB Device Library (25786 times)
  5. Network WiFi Library (25503 times)
  6. FT800 Library (17807 times)
  7. GSM click - Example (17501 times)
  8. PID Library (17469 times)
  9. microSD click - Example (14651 times)
  10. GPS click - Example (11659 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
Example

Altitude click Example

Rating:

Author: MikroElektronika Team

Last Updated: 2013-10-28

Category: Measurement

Downloaded: 1622 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

Download Example [42.33KB]

Version 1.0.0.0

DOWNLOAD LINK RELATED COMPILER CONTAINS
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

ALSO FROM THIS AUTHOR

CAN SPI 3.3V click - Example

This is code that shows simple connection of two CAN SPI modules with SN65HVD230.
Messages are sent by pressing PortB buttons and received message can be seen on PortD LEDs.

[Learn More]

FM click - Example

This project is a simple demonstration of working with FM tunner Si4703 Communication with FM module is established via I2C. Example demonstrates user interface which allows easy control of the module.

[Learn More]

CAN SPI 5V click - Example

This is code that shows simple connection of two CAN SPI modules with MCP2551.
Messages are sent by pressing PortB buttons and received message can be seen on PortD LEDs.

[Learn More]