TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (388 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 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 (140356 times)
  2. FAT32 Library (72752 times)
  3. Network Ethernet Library (57875 times)
  4. USB Device Library (48022 times)
  5. Network WiFi Library (43607 times)
  6. FT800 Library (43033 times)
  7. GSM click (30172 times)
  8. mikroSDK (28845 times)
  9. PID Library (27073 times)
  10. microSD click (26604 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: 17 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

Current 2 Click

0

Current 2 Click is an accurate current sensing Click board™ suitable for a very accurate measurement of the current through the load.

[Learn More]

Buck-Boost 2 click

5

Buck-Boost 2 click is an advanced DC-DC step-down/step-up regulator (buck/boost), which is able to provide regulated 5V on its output, regardless of the input voltage. The input voltage can range from 2.7V up to 40V.

[Learn More]

CAN Bus Click

0

CAN Bus Click is a compact add-on board that provides a link between the CAN protocol controller and the physical wires of the bus lines in a control area network (CAN). This board features the MAX13054, an industry-standard, high-speed CAN transceiver with extended ±80V fault protection from Maxim Integrated.

[Learn More]