Description:
Сегодня мы продолжаем цикл уроков по подключению к МК STM32 различных датчиков, в которых применена технология MEMS (Микроэлектромеханические системы). И в этот раз мы попытаемся поработать над такими датчиками, как датчики, измеряющие атмосферное давление (pressure sensors), которые очень широко используются в современной электронике. Подключим мы датчик давления LPS25HB, который установлен на плате расширения X-NUCLEO-IKS01A1, которую мы подключаем к отладочной плате STM32F401RE-NUCLEO. Данный датчик не только успешно измеряет давление, но не менее профессионально измеряет и температуру окружающего воздуха. В сегодняшней первой части занятия мы добавим все макросы, которые вносят удобства в чтение и написание кода, а также считаем идентификатор датчика. Отладочную плату Nucleo STM32F401RE можно приобрести здесь: http://ali.pub/1u80dx и здесь https://hz.ru.aliexpress.com/item/32815545595.html?af=36585_1&cv=23724416&cn=46sb3829swrsnk92kwt3thkg5t94d4qy&dp=v5_46sb3829swrsnk92kwt3thkg5t94d4qy&af=36585_1&cv=23724416&cn=46sb3829swrsnk92kwt3thkg5t94d4qy&dp=v5_46sb3829swrsnk92kwt3thkg5t94d4qy&product_id=32815545595&afref=&aff_fcid=7b5001ba1c6c431fad2fb5b9347ecab6-1711679121849-05515-_9hwhcM&aff_fsk=_9hwhcM&aff_platform=portals-hotproduct&sk=_9hwhcM&aff_trace_key=7b5001ba1c6c431fad2fb5b9347ecab6-1711679121849-05515-_9hwhcM&terminal_id=bd306f0ae593439a96c03912665ce20d Оценочную плату X-NUCLEO-IKS01A1 можно приобрести здесь https://hz.ru.aliexpress.com/item/32785904601.html?af=36585_1&cv=23893925&cn=46sb3829fp351uo1bw1fsd7kj8n5phl9&dp=v5_46sb3829fp351uo1bw1fsd7kj8n5phl9&af=36585_1&cv=23893925&cn=46sb3829fp351uo1bw1fsd7kj8n5phl9&dp=v5_46sb3829fp351uo1bw1fsd7kj8n5phl9&product_id=32785904601&afref=&aff_fcid=636d492764b84e24bacdd92e3d6d08e8-1711679121846-00615-_9hwhcM&aff_fsk=_9hwhcM&aff_platform=portals-hotproduct&sk=_9hwhcM&aff_trace_key=636d492764b84e24bacdd92e3d6d08e8-1711679121846-00615-_9hwhcM&terminal_id=3fbfa33be2c34d989527cd9a50ab9184 Навигация по видео: 00:00 Введение 00:37 Краткое знакомство с датчиком давления и температуры LPS25HB 05:50 Создадим, запустим и настроим проект в Cube MX 10:44 Сгенерируем проект для Keil, откроем его, настроим, добавим макросы 13:22 Исправим некоторые функции в файле библиотеки функций датчика 18:59 Проверим считывание идентификатора на живом датчике и контроллере Рекомендуется также перед просмотром данного урока просмотреть данное видео: УРОК 38. Знакомство с платой STM32F401RE-NUCLEO и оценочными платами https://www.youtube.com/watch?v=L-ta_BhW6CU УРОК 51. Подключаем магнитометр LIS3MDL. Часть 1 https://www.youtube.com/watch?v=it-Man16MZo УРОК 51. Подключаем магнитометр LIS3MDL. Часть 2 https://www.youtube.com/watch?v=49_i4cHp2Oo Текстовая версия данной части занятия здесь https://narodstream.ru/stm-urok-52-datchik-davlenija-lps25hb-chast-1/ Группа в контакте http://vk.com/club116656325 Группа в Одноклассниках http://ok.ru/group/52987126153436 Группа в Facebook https://www.facebook.com/unsupportedbrowser Мой сайт "Программирование МК" https://narodstream.ru/ Форум https://narodstream.ru/forum/ Вы можете помочь проекту: ЮMoney https://yoomoney.ru/to/41001176473465 Webmoney Z341906933112 Карта Сбербанка (МИР) 2202201799288929 Можно в USDT 1) Сеть:TRC20 Адрес: TBBPFk5Widf1CYvF7Xk5ssKXeiPJHwtMgS 2) Сеть: BSC BNB Smart Chain (BEP20) (комиссия намного меньше) Адрес: 0x2e38754DF1e54649Bf0D5CD6fD6D8c96a9f22f17 3) Сеть: Huobi ECO Chain (HECO) (комиссия еще меньше) Адрес: 0x2e38754DF1e54649Bf0D5CD6fD6D8c96a9f22f17
Preparing download options
http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.
The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.
UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.
UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.
The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.
The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.
You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.
The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.
This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.
It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.