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]
Not published
Rating:
Author: MIKROE
Last Updated: 2018-06-27
Package Version: 1.0.0.0
Category: Measurement
Downloaded: 17 times
Not followed.
License: MIT license
...
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".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1530097083_remote_pressure__mikroc_arm.zip [1.09MB] | mikroC PRO for ARM |
|
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:
+ New Mikromedia board definition package
​
Instructions :
_GPIO_MODULE_I2C2_PF0_1 = {
{_GPIO_I2C2_SCL_PF1, _GPIO_I2C2_SDA_PF0, -1},
{_I2C_CONFIG, _I2C_CONFIG, -1}
},
_GPIO_MODULE_UART2_PA3_D5 = {
{_GPIO_USART2_TX_PD5, _GPIO_USART2_RX_PA3, -1},
{_USART_CONFIG, _USART_CONFIG, -1}
},