📜 ⬆️ ⬇️

Portable hiking weather station MiniBTH

Good day. In this publication I will talk about a portable hiking weather station, which I had long conceived and recently implemented in hardware.

image

I often go to nature, both on long hikes and on short trips on weekends. On the one hand, instrumental observation will simply satisfy curiosity by answering the question “Is it warmer today than yesterday?”, Or “How cold was it at night?”, On the other hand, the presence of even primitive meteorological information can help predict the improvement or deterioration of weather or fog . Hence the desire to create an autonomous instrument for measuring, logging and displaying meteorological information suitable for marching use, and satisfying the following requirements:

It is worth noting that devices of a similar purpose in the form of clocks, key chains and individual devices are available on the market, but their ability to display the history of changes in meteorological information is, in my opinion, insufficient, and logging is usually absent altogether. Therefore, I decided to develop my own device.

Determination of future instrument


At the initial stage of design, it is necessary to determine the choice of the many available parts, components and technologies, and find the optimal combination of them. Consider the main components of the future instrument and the reasons for the choice of certain decisions.
')
Screen

For the proposed device, the color screen, in my opinion, is preferable, since on a color screen it is convenient to display several graphs on one coordinate grid, while on a monochrome screen such a picture will be difficult to read. Given the requirements of visibility to the sun, constant display, and moderate power consumption, the choice definitely falls on the transflective TFT display. The main problem here is to get an accessible display. A quick search showed that transflective screens announced in online stores are not available, the options available on alibaba have an inconvenient RGB interface, and the only available option is the screen from the good old Siemens CX / M / S65 phone. Of course, it’s not very good to count on a component with disassembly, but for a small-scale DIY project it will do. The advantages here are the fact that the screen is controlled by SPI (it will be easier to make a fee). Despite the fact that the screen is from the phone, information is available on how to manage this screen from Cristian Kranz (at the time of this writing, Christian’s site has been half a year already).

Sensors

For a start it is worth deciding on a set of measurable parameters and sensors for them. Three unconditionally required parameters - pressure, temperature, and humidity. You can still add a light sensor.

Now we define the criteria for selecting sensors. Sensors should be small in size, accurate and, if possible, do not require complication of the instrument design due to the specific features of the specific sensor piping. Ideally, all sensors are digital and operate on the same voltage. It is also desirable that pressure and humidity sensors that have direct contact with the atmosphere are protected from dirt and dust.

Pressure meter. From my experience with quadcopters, I came across BPM085 and MS5611 sensors, both with the I2C interface, and with built-in thermal compensation. Of these, the second one turned out to be more accurate and stable, with a small averaging it resolves 1 Pa pressure, which corresponds to approximately 10 cm of height. I initially chose it for the device, and later decided to use a protected version of this sensor, called MS5803.

Humidity sensor There are many options, both analog and digital. I liked the sension I2C sensors from the SHT2x family. Small, accurate, works in the same voltage range as the pressure sensor (1.8V-3.6V), and measures not only humidity, but also temperature. In addition, it comes with a dirt cap.

Temperature sensor. The above two sensors already measure the temperature, a separate sensor is not needed.

Light sensor. Here it is desirable to put the sensor with a very wide range of measurements. To measure from the light of the direct sun (100 thousand lux) and down to deep twilight and moonlit night (0.2lux), and better still less. Moreover, the sensor is desirable with factory calibration, because I have nothing to calibrate. There are options with photodiodes, but require additional strapping, although they can potentially have a large range of measurements. Therefore, my attention was attracted by a series of integrated I2C sensors max4400x. There are several similar sensors in the series, some are multispectral, some have an IR emitter and can work as a proximity sensor. One of the requirements for the measurement range, max44009. However, it is possible to install two sensors, a monochrome max44009 for high illumination, and an RGB sensor for max44008 for a small one. And the use of a dimming filter can extend the operating range of max44008 to the required 100 thousand. luxury We will select the simple variant with max44009 as the main one, and consider max44008 as a possible addition.

Processor and piping

Taking into account the fact that the screen and all sensors work from 3-3.3 volts, and SD cards work from 3.3v. It is advisable to use a processor running from 3-3.3v. I chose my usual AVR. Note that the choice of AVR allows you to use the Arduino IDE to build the project and use the library under the Arduino. In this project, the use of the library to work with the SD card is particularly relevant. Although, in principle, Arduin's libraries can be used in projects collected in AVR Studio, but this requires some tricks. Looking ahead, I will say that the only advantage of using the Arduino was the uploading of the program via UART.

According to the initial estimates, a 32kb ROM and 2kb RAM is enough for the project (about 600 bytes for working with SD, and almost everything else is the history of measurements) and, therefore, I chose the ATmega328p processor. Voltage in 3v dictates the clock frequency not higher than 8 MHz. I started writing a project under the Arduino IDE. When assembling for this processor and voltage, simply select target Arduino Pro mini 3.3v. Since real-time clock is needed to realize all the functions of the device, and RF quartz usually do not provide sufficient frequency stability, you must either use a clock quartz with a processor (in view of the features, the ATmega328p will be clocked from the RC oscillator) or use a separate real-time clock chip . In view of the latter circumstance, I decided to use a separate I2C chip with a DS1337 calendar clock. An additional argument in favor of a separate chip with RTC was the possibility of implementing battery change without losing the clock settings. However, subsequently the option of the device’s built-in batteries was chosen.

Control buttons

Although the device interface is planned to be simple, buttons are still needed to switch the display modes, set the time and altitude corrections. Since the mechanical buttons are difficult to hide in the pressure hulls, (for this you need to make holes in the body and put a flexible seal in them tightly, or insert a pusher through the seal) it was decided to make capacitive touch control buttons. With a touch pad area of ​​about 1 cm2, a wall thickness of 2-3 mm with a dielectric constant of about 2-4 (typical for plastics), it is necessary to make a device that reliably records the change in capacitance by the fraction of picofarads. Such a problem has several solutions. The first option is to install a specialized chip - touch controller. The second is to make touch buttons on pairs of processor legs, simply measuring the charging time of the input capacitance of the input line with the contact pad through the megohm resistor from the output line. The method is described on several resources, there are appropriate libraries. However, since I want to create a sensitive and noise-proof sensor, I chose the third option - the sensor on the phase detector. The idea is simple. Two RF signals are fed to the input of the phase detector. One directly from the source, and the second through an RC circuit, in which a sensor pad is used as a capacitor (and, of course, the parasitic capacitance of the input of the phase detector too). The signal from the output of the phase detector is averaged and measured using an ADC. Such a scheme will be much less sensitive to ambient noise, at least at frequencies other than the frequency of the test signal. As a source of RF signal, you can simply take the processor clock. For greater noise immunity, you can also introduce phase-code modulation of this signal, however, judging by the operating experience, this is overkill.

Housing design

One of the most difficult issues for DIY projects - creating a sealed enclosure. In this case, the design of the hull is largely determined by the available technological base. The only tool available for me to make a thermocase is a 3-axis CNC milling machine, suitable for milling plastics, wood and soft metals. It turns out that the body must be assembled from milled parts from plastic and aluminum. The question remains the choice of seals. Special sealing gum, and even the required length could not be found, but tape recorders can be used as sealing seals. This technology has already been tested earlier on other buildings. As a result, the body will consist of a central unit with grooves for seals, and the front and rear plastic covers, fixed clamping frames. The question remains the choice of materials. It is advisable to manufacture the central unit from corporal. In this plastic, you can reliably cut threads, like in metal, it is not brittle and wear-resistant. The front cover should be transparent and preferably not fragile. From the available options of transparent plastics, I chose polycarbonate. The disadvantages of this material are not very high transparency compared with polymethyl methacrylate. But it is plastic and not subject to cracking. There are no requirements for transparency to the back wall, in the end I settled on a variant of fiberglass laminate. Clamping frames should have sufficient rigidity to press the gum along the entire length. In addition, it is they who will account for most of the possible body attacks on surrounding objects. Therefore, it was decided to make them from aluminum alloy.

Sensor placement

Pressure and humidity pressure sensors should communicate with the atmosphere, have good thermal contact with it. In addition, they should be relatively thermally insulated from the case to reduce the response time to temperature changes. It is advisable to place them in such a way as to protect them from possible impacts and dirt. Therefore, the layout of the sensors on the T-shaped protrusion in the recess of the housing looks promising.

sensor layout

The light sensor will be placed behind the transparent front panel, near the screen. The effect of wall transparency can be taken into account by calibrating the sensitivity of the sensor.

Power supply

There is little choice, either lithium-ion batteries or metal hydride. Metal hydride work a little better at low temperatures, and this is where the advantages end. By energy intensity, lithium is more profitable. In the end, I chose lithium-ion, although this choice was made at a fairly late stage of the project. For myself, I defined the following requirements for battery life:

Based on these requirements, the battery capacity will be determined.

Electronic part development


According to the solutions described above, the design of the instrument was developed.

schematic diagram of the device

Chip 78HC03 stabilizes the supply voltage for the controller and sensors. On the 74AC00 and 74AC86 microcircuits, a touch button controller is built. The first one is designed to turn on / off the supply of 8 MHz signal to the sensor plates, the second one contains 3 phase detectors. The voltage converter for the backlight is made on the chip of the DC / DC converter with PWM control LM2733x and is powered by batteries, bypassing the stabilizer, the OS is made from the current of the LEDs. The operating voltage at the output is about 12V (in the backlight of the screen 4 LEDs connected in series). To protect the controller in case of removing the screen from the board, the zener diode works at 15v as a protective load. The backlight current is set by resistor R9, the voltage drop on which is 1.25V. The max1879 controller controls the charge of the batteries, the TS321 operational amplifier with strapping is used to measure the charge current. Real-time clock is made on a chip DS1337. During the development of the circuit and the board, the possibility of installing a backup battery for the clock was provided. However, when using non-removable batteries, the battery is not needed.

Wireless charger

The implementation of wireless charging turned out to be one of the most underestimated tasks in this device. For reasons of convenience, the layout of parts in the case, I chose W - shaped core W7x7. A larger core would lead to an increase in the already not small body, although the size the larger the better, so that the two halves at 1.5mm gap (rear wall thickness) dissipate the flow as little as possible. However, even with this size of the core and the thickness of the gap, the scattering of the flux is essential, therefore, the resonance phenomenon had to be used for more efficient energy transfer. Note that the split transformer can operate in several modes:

a) The device lies on the charging stand, the battery is charging, the transformer is loaded with a load from a steep CVC.
b) The device lies on the charging stand, the battery is charged or charged in PWM mode, the transformer is not loaded.
c) The device is removed from the charging cradle, but the primary winding of the transformer is connected to its own power source.
d) The intermediate position of parts of the transformer, briefly at the time of installation and removal of the device.

It is necessary that the charger can operate in all four states without overheating of the windings and overload of the keys. There are two options - either to make a complex driver with automatic frequency control and shutdown when there is no load or by selecting the parameters of the elements. It is impractical to make a resonant circuit out of the secondary winding, since in state b) when the transformer is not loaded, a large voltage will appear on the secondary winding, which can easily exceed the maximum allowable open-circuit voltage for max1879 and the key. Therefore, we will manage resonance only in the primary winding circuit. I managed to achieve quite good charging parameters using a very simple power scheme.

charger circuit

The primary winding is connected to an alternating voltage source consisting of an IR2153 generator-driver and two switches powered from 12V. In series with the primary winding, capacitor C7 is turned on, they form an oscillating circuit. Parallel to the primary winding, a neon lamp (in my case, a pair of opposite-connected lamps) with an ignition voltage of about 160V is turned on for protection against overloads. The oscillator frequency (about 100 kHz) is set by the construction resistor R1 and is adjusted so that in mode a) the circuit works very close to resonance. In this case, the amplitude value of the voltage on the primary winding reaches 100-110v, and the average current of the secondary winding (battery charge current is about 600 mA). In mode b), when the load is switched off the circuit goes out of resonance (the resonant frequency of the circuit when the secondary winding is not loaded is lower than the generator frequency), the voltage on the primary winding falls below 60V, and accordingly the useless losses in ferrite also fall, and the amplitude value of the secondary winding voltage does not exceed 14B. In mode c) the inductance of the “half” of the transformer is less, the resonant frequency of the circuit is higher than the frequency of the generator, the voltage on the primary winding drops, and the loss in ferrite is small. In mode d), the unloaded primary circuit can get into resonance, and for this, a neon lamp is used as a “protective” load. The primary winding (in the charger) contains 32 turns of the PEV-1 wire 0.6 and the secondary winding (in the instrument) 32 turns of the PEV-1 0.3. It should be noted that the quality factor of the circuit and, accordingly, the maximum power transferred to the load is limited by the loss in ferrite. Parallel to the secondary winding, 15c p6ke15ca suppressors are activated to protect the charge circuit from voltage surges. With the selected parameters of the scheme in operating modes, the suppressors do not heat up.

Software development


For Arduino there are many libraries to work with sensors, and other peripherals, but many of them are inconvenient and cumbersome. In the development process, I came to the conclusion that other small libraries should be used to a minimum, implementing simple functionality independently. This saves several controller resources and the amount of ROM used, although it slows down development. Native Arduino libraries were cumbersome and inconvenient. As a result, the only third-party library used on the project was SdFatLib by William Greiman . The module for working with i2c sensors sht21 and max44009 and RTC was written from scratch, work with ms5611 / 5803 was borrowed from the multiwii project and refined. The x65 by Christian Kranz screen module has been redesigned to fit the needs of a specific project. There are 3 types of screens in siemens x65 with different controllers: Epson L2F50, Sharp LS020, and Hitcah LPH88. I managed to get only the first two samples, so while my project supports only two types of display controllers. The specific type is set in configs. It is also worth noting that the FUSES configuration, which is non-standard for the Arduino, is necessary for the device to operate - switching the CLKO line and setting the brownout detector to 2.7 volts.

Work with sensors

There were no particular difficulties with interrogating the sensors, they (and the clock too) are interrogated continuously in the main program loop, the duration of the main cycle is approximately equal to about 180 ms. It is worth noting one feature of the sensors MS5611 / 5803. They sometimes "freeze" testimony after several thousand measurements. This feature was noticed by me while debugging multiwii, and here I ran into it again. The way out of the situation is trivial: once in 256 polls, I simply reset the sensor, and problems with fading no longer arise. The last digits in the pressure sensor readings constantly fluctuate within 3-4 Pa (the sensor resolution is 1 Pa), but averaging the results of the last 16 measurements makes it possible to remove the fluctuations completely. And this is not all the features of the MS5611, it also turned out to be photosensitive, which required the installation of a light cap. The rest of the sensors worked without surprises.

Information display

The question of what the displayed information should look like at first seemed uneasy. But at the initial stage of development a simple mapping principle was laid, and then it was only improved. The principle is simple - the device has two display modes. The first shows a graph with meteorological information, and basic data read from the sensors in digital form.

screenshot

In the second mode, the screen displays all information about the current state of the device and sensors: battery voltage and charge current, temperature from two sensors, humidity, pressure, calculated dew point and barometric altitude, zero height pressure, illuminance, time, date. It also has the ability to set the clock and pressure at the altimeter zero mark. With a screen size of 132x176 pixels, the size of the graphic was made 96x100, while there was room for the signature of the scales in the font of the smallest possible size, and for placing 4 hours of current information in the 8x14 font. The temperature curve is aligned to the bottom of the coordinate system, the pressure curve to the top. The scale along the ordinates is adjusted automatically to the displayed data. Humidity is displayed proportionally fill the background of the graph with a light blue color. The position of the labels and grid lines of the y-axis is constant, only the labels' labels change. The grid and labels on the x-axis move with time, along with the graph. An important question is the choice of the available scales of the x-axis. Taking into account the available amounts of RAM, it was decided to stop at two scales - fast 2min / pixel (data for the last 3 hours and 10 minutes are displayed), and slow 30min / pixel (data for the last 48 hours are displayed). In the slow mode, the averaged data for the half-hour interval is displayed. In the mode, the current data is stored every two minutes at 0 seconds. This is done in order to remove the visible "lag" of data on the fast graph relative to the current. For each graph display mode, 96 counts of pressure, humidity and temperature are stored. Moving on the schedule back in time is not provided. Data is written to the card once per minute, but with averaging of all readings.

Work with touch buttons

To poll the touch buttons, periodically (once per main cycle), they receive a test RF signal (8 MHz from the output of the CLKO processor) for 5 ms, after which the values ​​of the signal at the outputs of the phase detectors are read. The ADC has 10 digits, the output values ​​vary from 0 to 1023. With the selected values ​​of R1-R3, for free sensor plates 8x10mm in size, the values ​​are 500-700, when you lift a finger to the plate located 1.5mm thick behind the PCB, the values ​​change to 70-150 counts in a big way. On the one hand, this indicates a large input capacitance of the 74AC86 logic elements, on the other hand, the signal change is more than enough to reliably determine the touch and adjust the threshold, even if the dielectric thickness is increased to 2-3 mm. To determine the logical state of the touch buttons, the currently read value is compared with the average over the last several reads. If their difference exceeds the threshold, the sensor state is fixed as “pressed”. If the difference falls below the vacation threshold, the state is fixed as “released”. The thresholds for each sensor are set separately; this makes it easy to make the sensors sensitive enough to avoid false alarms. Adaptive comparison circuit ensures reliable operation of the touch buttons with changing temperature and possible contamination of the case.

The buttons are designed to perform routine actions for switching modes, as well as critical actions, such as setting the clock. To activate critical actions, you need to select a special "initiating" combination of buttons that is difficult to press randomly. Since the buttons are arranged in a row, the natural variant of such a combination is to keep the extremes with the average released. In this case, the remaining actions are performed by pressing and holding one button. When you press a pair of adjacent buttons, their action is blocked until the release of both. The initiating combination is also used to turn on the backlight. And if the illumination is less than the threshold of 100 lux, the initiating combination always turns on the backlight. Further, depending on the display mode, pressing this combination again either turns off the backlight or turns on the clock setting mode. To confirm the entered time and date, you must click the initiating combination again. For the convenience of searching for buttons in the dark, special projections are made on the top cover.

Energy saving measures

After writing the main part of the measurement program, it was shown that, on average, when the backlight is off, the device consumes about 7.5 mA, of which about 3 m consumes the display. The rest of the consumption falls mainly on the processor, on the controller of the touch buttons, the microSD card, and a little on the sensors. , «» , . , , . , ADC Noise reduction (. myadc). , , , . , . 6. , sleep modes , 5.5, , , , . 3.5 . . , SD , 2.

Housing design


At the initial stage of development, it became clear that the case would consist of two main volumes of an airtight compartment with an electronic part, and a ventilated recess for accommodating sensors. The sensors are small and their layout does not cause problems. With the main board more difficult. It should have a screen, touch pads (under the right arm - to the right of the screen), a light sensor (above the screen). It is rational to make a deepening with sensors from above, then when the device is on a support (table, ground, stone, ...) - the sensors will be on top. And the mount for hanging the device on the neck should be made from below, then it will be more convenient to look at the screen of the backpack hanging on the shoulder strap or the neck of the device.

The size of the case will be chosen according to the layout of the batteries and the charging transformer. Batteries are selected based on the required operating time. When the current consumption is not more than 6mA and the operating time voiced above, the capacity of the battery should be about 6000 mAh. In this case, it is advisable to choose batteries in such a way that as closely as possible to assemble the instrument compartment. After analyzing the available batteries, I stopped at the option of two Panasonic NCR18650B. At the same time, the size of the pressurized hull of the case and the board can be made 70x50mm. In turn, this size determines the length of the sealing gum (semi-perimeter 70 + 50 + stock = 125mm) and the size of the body. Since the rubber elastic from the belt is tough, you will need a lot of clamping screws.The required number of clamping screws can either be calculated by solving the problem of deformation of the gum and body by the method of finite elements, or determined experimentally. I chose the second option and experimentally determined that 8 screws is enough. With the size of the case did not save much to make a more simple form. The size of the niches containing the sensors is also made with a margin for better ventilation. As a result, the size of the central unit turned out to be 103x68mm, and the pressure frames even more. Then I will give a photo of the elements of the body, and the link at the end of the article you can download the archive with the drawings of the boards, and curves, and a description of the operations for the milling of the body.to make a simpler form. The size of the niches containing the sensors is also made with a margin for better ventilation. As a result, the size of the central unit turned out to be 103x68mm, and the pressure frames even more. Then I will give a photo of the elements of the body, and the link at the end of the article you can download the archive with the drawings of the boards, and curves, and a description of the operations for the milling of the body.to make a simpler form. The size of the niches containing the sensors is also made with a margin for better ventilation. As a result, the size of the central unit turned out to be 103x68mm, and the pressure frames even more. Then I will give a photo of the elements of the body, and the link at the end of the article you can download the archive with the drawings of the boards, and curves, and a description of the operations for the milling of the body.

Fabrication and assembly of the device


The central unit is made of corporal by milling. The height of the central unit is 31mm. The dimensions of the groove for the sealing gum were pre-selected by trial and error. The test groove was milled in a soft material (PVC foam sheet), an elastic band was used on it, after which amendments were made to the dimensions of the groove. Inside the pressurized compartment there are two projections to which the main board of the device is attached.



The sensor block is mounted on top with two stainless steel M3x10 screws. The tracks leading to the sensors and the point of entry of wires into the case are insulated with silicone sealant. Stainless steel 0.5 mm washers are laid between the sensor board and the case. These washers set the thickness of the sealant layer covering the tracks at the time of pouring. The sealant also glues the SF2 cap over the humidity sensor. According to the documentation, only sealants should be used for mounting the cap and sealing the sensor, evaporation that does not cause irreversible damage to the sensor. One of these is the DOW Conring 732 acid silicone sealant. I used it to seal the sensor. (However, any other silicone is likely to work, but I decided to play it safe).After the sealant dries, the humidity sensor should be degassed, keeping at a temperature of 100-120 degrees Celsius for 10-12 hours, for which I used a regular hairdryer.



The front panel is milled from 2mm polycarbonate. Back panel of 1.5mm fiberglass. The pressure plates are milled from aluminum alloy (duralumin). The front plate differs from the back plate in that it has protrusions that facilitate the tactile search for sensor plates. The batteries and the charging transformer are fixed on the rear panel with two spacers milled from the capralon and the carbon pressure plate. The printed circuit board is manufactured using LUT technology, copper wires are soldered into the vias.



The MS5803 sensor used is water and dirt-protected, however, irradiating the sensor with bright light significantly affects the readings. Therefore, it was decided to close the sensor light cap. The cap is made of polystyrene by gluing with solvent. The inner part of the cap is made black, light-absorbing, and the outer white light-scattering, to prevent heating in the sun. The cap is glued to the sensor board with cyanoacrylate glue. Later it turned out that the light penetrates through the sensor board and illuminates the pressure sensor from below. For this, an additional light shielding plate was installed on top of the sensor board.

Plate with touch pads is installed near the screen flush with the future cover on several layers of thick double-sided tape.



Since the casing is sealed, it is necessary to ensure that the remaining air inside the casing is drained to avoid condensation at low temperatures. To do this, a small fabric bag filled with silica gel was placed in the case (in the photo at the bottom right of the battery).



The front and rear panels are fastened with eight stainless steel M3x12 screws. Flat cap hexagon 2mm selected for aesthetic reasons. The weight of the device assembly is 330g, overall dimensions 110x70x38mm (41mm for screw caps).

Operating experience of the device


The device was tested in the summer in a canoe trip in Karelia and the White Sea, and in the fall in a hiking trip in the mountain Crimea. While driving in a kayak, I put the device on the kayak from above, securing the rope to the frame. During the foot radial exits in Karelia, and during the hike in the Crimea, the device was constantly hanging on my neck. During parking and daytime, the device was hung in the shade of a tree branch. The general impressions of using the device are very positive: it seems that literally you have got another sense organ.

When driving in a kayak over a large lake or sea, the measured pressure graph actually corresponds to one height and allows you to judge the weather. An intensive decrease in pressure, as a rule, precedes the deterioration of the weather in 1-2 days, an intensive increase in pressure — an improvement in the weather. Intensive can be considered a change in pressure of about 10-20 mm Hg per day. During stable weather, the pressure changes much slower. On time scales of the order of a day, changes in pressure are significantly faster than 20 mm Hg per day I have not seen. However, once in a city during a storm, I observed a pressure surge of 1.5 mm Hg, which occurred within 2-3 minutes.

«» . , , , . , . , 1 10, 200 , , . , 50-300/, .

This is how the pressure graph looks like when climbing up the mountain (Mount Calicorva in Karelia):

image

. , . . , 20 , ( ). «» . , . , 2-4 . , 5-15 . . , , «» ( sht21 95%).

Photo of the device, hanging on a pine during the day:



Another frame, morning. During the day's transition last day, the device lay in a canoe and was heated by the sun to unrealistic temperatures.



. 60-90, 3-20, . , 9 (3 ) 30, 500-2000 . 10, 0.2 . , , , .

. – , . . — , , , , . , . , .

The device lies on a canoe:



During the autumn hike in the Crimea, the impressions of the device were somewhat different. If pressure information in Karelia allowed us to predict what the weather will change about the weather, in the Crimean mountains the pressure sensor is valuable solely as an altimeter. The presence of an altimeter allows you to learn new things, even about long-timed trails, and makes it possible to track which part of the ascent or descent you went through, if the height difference is known. Those "scraps" of the pressure chart that are recorded at the sites do not provide useful information about the weather. At least in the fall, when tomorrow you may be above the cloud, in a cloud, under a cloud, or there may be no clouds at all.

,

-, . , .
/ , .



, .

, , .

Finally, summarize the experience of using the device. It should be noted that all conceived technical solutions and all the planned measurement channels, which turned out to be more or less useful in the campaigns, were implemented. The idea of ​​displaying graphs that allow you to track how the temperature, pressure, and humidity have changed recently has fully justified itself. Touch buttons work reliably in any weather, including in the rain. The battery life of the device is sufficient. The screen readings are easily readable in any light, the graphs are easily distinguishable, despite the fact that there are three of them on the same coordinate system. The time interval of 2 minutes per countdown is enough to keep track of rapid changes in readings, including short stops when driving on an ascent or descent.For temperature or humidity, this frequency may seem excessive. Wireless charging works, but its use has not contributed to reducing the weight of the device.



:


As a result, a number of solutions are proposed for use in creating the second version of the device. Since one of the main drawbacks of the first version of the device is a large mass, a number of measures have been proposed to reduce weight and increase usability:


To expand the functionality of the device, it was decided to transfer the project to AVR Studio and GCC, to switch to using the ATmega1284p processor with 16kb of RAM and 128kb of ROM. This will complicate the program and realize the following features:


Boards, source codes, curves for milling, and other information can be downloaded here .

PS At the moment the second version of the device is assembled and is being tested. Soon there will be a sequel.

Source: https://habr.com/ru/post/253899/


All Articles