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 (141547 times)
  2. FAT32 Library (74492 times)
  3. Network Ethernet Library (59029 times)
  4. USB Device Library (49023 times)
  5. Network WiFi Library (44793 times)
  6. FT800 Library (44371 times)
  7. GSM click (31048 times)
  8. mikroSDK (29914 times)
  9. PID Library (27473 times)
  10. microSD click (27464 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

IR reflect Click

0

IR reflect Click carries a GP2S700HCP reflective photointerrupter and an onboard potentiometer. On this type of photointerrupter the infrared emitter and receiver are facing the same direction.

[Learn More]

Accel 12 Click

0

Accel 12 Click is an advanced 3-axis motion tracking Click board™, which utilizes the MC3216, a low-noise, and low power 3-axis accelerometer.

[Learn More]

ADC 18 Click

0

ADC 18 Click is a compact add-on board that contains a high-performance data converter. This board features the MAX22005, an SPI-configurable twelve-channel 24-bit analog-to-digital converter (ADC) from Analog Devices.

[Learn More]