TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 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 (141419 times)
  2. FAT32 Library (74282 times)
  3. Network Ethernet Library (58813 times)
  4. USB Device Library (48890 times)
  5. Network WiFi Library (44677 times)
  6. FT800 Library (44198 times)
  7. GSM click (30928 times)
  8. mikroSDK (29781 times)
  9. PID Library (27388 times)
  10. microSD click (27312 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: 21 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

MIC24055 Click

0

MIC24055 Click is the buck regulator that can deliver continuous output current up to 8A and can step down voltages from up to 19V which makes this Click board easy to use with many power sources commonly available.

[Learn More]

Stepper 7 click

5

Stepper 7 click is a bipolar step motor driver. It features an H-bridge bipolar step motor driver, which supports full, half and micro-step control modes.

[Learn More]

Earthquake Click

0

Earthquake Click carries D7S, the world’s smallest high-precision seismic sensor from Omron. The Click is designed to run on either 3.3V or 5V power supply. It communicates with the target MCU over I2C interface, with additional functionality provided by the following pins on the mikroBUS™ line: PWM, INT, CS.

[Learn More]