TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (404 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141096 times)
  2. FAT32 Library (73896 times)
  3. Network Ethernet Library (58539 times)
  4. USB Device Library (48722 times)
  5. Network WiFi Library (44368 times)
  6. FT800 Library (43966 times)
  7. GSM click (30715 times)
  8. mikroSDK (29470 times)
  9. PID Library (27281 times)
  10. microSD click (27090 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
Project

Remote pressure and temperature station

Not published

Rating:

0

Author: MIKROE

Last Updated: 2018-06-27

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 19 times

Not followed.

License: MIT license  

...

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Remote pressure and temperature station" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Remote pressure and temperature station" changes.

Do you want to report abuse regarding "Remote pressure and temperature station".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Add four Click boards™ to a mikromedia and you'll get an amazing pressure measurement and monitoring device. Here's how it works - Pressure 4 click measures absolute barometric pressure and temperature and sends the readings to you over GSM 2 click if the pressure measurements have dropped in the period of one hour.

* Pressure 4 click measures pressure and temperature and outputs the measurements on USB-UART and display.
RTC6 calculates current time, sets the alarm, and then checks if the alarm is activated.
If the alarm has been activated, the last measured data is taken into a calculation of the pressure drop.

Date and time data along with temperature and pressure data get logged on the memory card.
In order to stop logging, it is necessary to press the button on Button R click.
It is also necessary to stop the logging before taking out the memory card.
If the pressure has been dropping for the past hour - which is calculated using this formula: 
(x(seconds) * 21(measurement)), GSM 2 click sends an SMS message which says that the pressure has dropped in the past hour.

The user can monitor the changes in temperature and pressure on graphs which are updated on the display.

Hardware

- Mikromedia Plus for STM32F7
  + MikroBUS 1 - Pressure 4 click
  + MikroBUS 2 - RTC 6 click
  + MikroBUS 3 - GSM 2 click
  + MikroBUS 4 - Button R click
  + MicroSD card

Software requirements:

 

Pressure 4 click library

RTC 6 click library

GSM 2 click library

FAT32 library

+ New Mikromedia board definition package

​

Instructions :

  • Place click boards to appropriate mikroBUS sockets ( 1 -Pressure 4 click, 2 - RTC 6 click, 3 - GSm 2 click, 4 - Button R click)
  • Place I2C structure inside __Lib_GPIO_32F7xx_Defs.c (line 425)

_GPIO_MODULE_I2C2_PF0_1 = {
    {_GPIO_I2C2_SCL_PF1, _GPIO_I2C2_SDA_PF0, -1},
    {_I2C_CONFIG, _I2C_CONFIG, -1}
},

  • Place UART structure inside __Lib_GPIO_32F7xx_Defs.c (line 806)

_GPIO_MODULE_UART2_PA3_D5 = {
    {_GPIO_USART2_TX_PD5, _GPIO_USART2_RX_PA3, -1},
    {_USART_CONFIG, _USART_CONFIG, -1}
},

  • Format microSD card with FAT32
  • Install Mikromedia Board Definition downloaded with this project
  • Install all click libraries required
  • Compile and run

ALSO FROM THIS AUTHOR

Tilt 4 Click

0

Tilt 4 Click is a compact add-on board designed for reliable tilt detection applications. This board features the RB-231X2, a rolling ball tilt switch from C&K Components, ensuring accurate and safe tilt detection. The RB-231X2 features a compact, shielded design with a detection angle of up to 10° and an operating life of 100,000 cycles. It interfaces with the MCU using only the INT and LED pins, providing real-time interrupt signals and visual tilt indication through a red LED.

[Learn More]

MP3 click

5

Simple example which demonstrates working with <b>MP3 click</b> board in mikroBUS form factor. Example will play MP3 file "sound.mp3" located on the microSD card.<br />

[Learn More]

ECG click

5

This is an ECG (or EKG) machine on a click board. It measures the electrical activity of a beating heart through electrodes taped to the skin. It requires little setup, and the final measurement results can be displayed as an Electrocardiogram using a free PC app.

[Learn More]