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 (141243 times)
  2. FAT32 Library (74082 times)
  3. Network Ethernet Library (58702 times)
  4. USB Device Library (48814 times)
  5. Network WiFi Library (44521 times)
  6. FT800 Library (44072 times)
  7. GSM click (30802 times)
  8. mikroSDK (29646 times)
  9. PID Library (27353 times)
  10. microSD click (27250 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

BUCK Click

0

BUCK Click is a buck switching regulator that accepts a wide input voltage range of up to 40V and steps it down to 3.3V or 5V.

[Learn More]

WiFi 11 Click

0

WiFi 11 Click is a compact add-on board that contains a WiFi and Bluetooth module that has dual bands for WiFi communication. This board features the BW16, a low-power dual bands Wireless LAN (WLAN) and Bluetooth Low Energy SoC module from Ai-Thinker.

[Learn More]

Mikromedia 3 for Kinetis Capacitive

0

This project contains example for testing modules on Mikromedia 3 for Kinetis Capacitive.

[Learn More]