background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Программирование МК STM32. УРОК 45. Подключаем гироскоп LSM6DS0. Часть 2"

input logo icon
Table of contents
|

Table of contents

0:00
Введение
0:51
Напишем функцию снятия данных с гироскопа
3:06
Напишем функцию обработки данных и отправки их на ПК в текстовом виде
4:20
Проверим работу датчика с помощью встроенного зеленого светодиода и программы Hyper Terminal
9:40
Попробуем откалибровать показания осей и проверим затем в терминале
12:06
Исправим код программы, чтобы отследить показания в программе визуализации, показывающей в виде графика показания всех осей и посмотрим в ней показания датчика
16:52
Также увидим работу датчика с помощью другой программы с помощью вращения куба, повторяющего вращение отладочной платы.
Video tags
|

Video tags

HAL
HAL stm32
STM32F401RE-NUCLEO
STM32F401RE-NUCLEO stm32
LSM6DS0
гироскоп
MEMS
Микроконтроллеры STM32
32 CUBE MX
STM32F4
МК STM32
keil
Hardware abstraction layer
Программирование
Программирование МК
Программирование STM32
STM32 Cube MX
Программирование СИ
Программирование микроконтроллеров
Микроэлектромеханические системы
You already have UDL Helper installed You can download video in 1 click!
Installed
for
Google Chrome

Description:

STM32F401RE-NUCLEO Продолжаем работать с библиотекой HAL. Сегодня мы продолжаем цикл уроков по подключению к МК STM32 различных датчиков, в которых применена технология MEMS (Микроэлектромеханические системы). Изучаем датчики под названием "гироскопы". Данные устройства "умеют" измерять угловую скорость, поэтому измерение они ведут в градусах в секунду. Продолжаем работать с датчиком LSM6DS0, который мы уже с вами подключали в качестве акселерометра. Данный датчик установлен на плате расширения X-NUCLEO-IKS01A1. В сегодняшней части занятия мы напишем функции, отвечающие за снятие данных с датчика и, отображая их в различных программах визуализации, увидим на деле работу гироскопа. Отладочную плату Nucleo STM32F401RE можно приобрести здесь: http://ali.pub/1u80dx и здесь https://hz.ru.aliexpress.com/item/32815545595.html?af=36585_1&cv=23724416&cn=42sas2axyiqfsaz2lk8dts0lvzakljj7&dp=v5_42sas2axyiqfsaz2lk8dts0lvzakljj7&af=36585_1&cv=23724416&cn=42sas2axyiqfsaz2lk8dts0lvzakljj7&dp=v5_42sas2axyiqfsaz2lk8dts0lvzakljj7&product_id=32815545595&afref=&aff_fcid=977ad386dacb4ac99ccfaea6391eafef-1711158442203-07639-_9hwhcM&aff_fsk=_9hwhcM&aff_platform=portals-hotproduct&sk=_9hwhcM&aff_trace_key=977ad386dacb4ac99ccfaea6391eafef-1711158442203-07639-_9hwhcM&terminal_id=bc351baf1fae4562853cbb1c7911a7b0 Оценочную плату X-NUCLEO-IKS01A1 можно приобрести здесь https://hz.ru.aliexpress.com/item/32785904601.html?af=36585_1&cv=23893925&cn=42sas2axw38et1dj0dt85k8g4h1j4r28&dp=v5_42sas2axw38et1dj0dt85k8g4h1j4r28&af=36585_1&cv=23893925&cn=42sas2axw38et1dj0dt85k8g4h1j4r28&dp=v5_42sas2axw38et1dj0dt85k8g4h1j4r28&product_id=32785904601&afref=&aff_fcid=401baec7123542298d4999f1ec0f8f9a-1711158442304-03873-_9hwhcM&aff_fsk=_9hwhcM&aff_platform=portals-hotproduct&sk=_9hwhcM&aff_trace_key=401baec7123542298d4999f1ec0f8f9a-1711158442304-03873-_9hwhcM&terminal_id=1ef95b57d3bc446ba65338789a40de05 Навигация по видео: 00:00 Введение 00:51 Напишем функцию снятия данных с гироскопа 03:06 Напишем функцию обработки данных и отправки их на ПК в текстовом виде 04:20 Проверим работу датчика с помощью встроенного зеленого светодиода и программы Hyper Terminal 09:40 Попробуем откалибровать показания осей и проверим затем в терминале 12:06 Исправим код программы, чтобы отследить показания в программе визуализации, показывающей в виде графика показания всех осей и посмотрим в ней показания датчика 16:52 Также увидим работу датчика с помощью другой программы с помощью вращения куба, повторяющего вращение отладочной платы. Рекомендуется также перед просмотром данного урока просмотреть данное видео: УРОК 38. Знакомство с платой STM32F401RE-NUCLEO и оценочными платами https://www.youtube.com/watch?v=L-ta_BhW6CU УРОК 42. Подключаем акселерометр LSM6DS3. Часть 1 https://www.youtube.com/watch?v=jMKXOjJwOs4 УРОК 42. Подключаем акселерометр LSM6DS3. Часть 2 https://www.youtube.com/watch?v=UzXH_3b_Cis УРОК 45. Подключаем гироскоп LSM6DS0. Часть 1 https://www.youtube.com/watch?v=1Q6xc5d_Hns Текстовая версия данной части урока, исходный код и документация на плату и датчик, терминальная программа, а также 2 программы визуализации здесь https://narodstream.ru/stm-urok-45-podklyuchaem-giroskop-lsm6ds0-chast-2/ Группа в контакте 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

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Программирование МК STM32. УРОК 45. Подключаем гироскоп LSM6DS0. Часть 2" video?mobile menu icon

  • 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.

mobile menu iconWhich format of "Программирование МК STM32. УРОК 45. Подключаем гироскоп LSM6DS0. Часть 2" video should I choose?mobile menu icon

  • 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.

mobile menu iconWhy does my computer freeze when loading a "Программирование МК STM32. УРОК 45. Подключаем гироскоп LSM6DS0. Часть 2" video?mobile menu icon

  • 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.

mobile menu iconHow can I download "Программирование МК STM32. УРОК 45. Подключаем гироскоп LSM6DS0. Часть 2" video to my phone?mobile menu icon

  • 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.

mobile menu iconHow can I download an audio track (music) to MP3 "Программирование МК STM32. УРОК 45. Подключаем гироскоп LSM6DS0. Часть 2"?mobile menu icon

  • 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.

mobile menu iconHow can I save a frame from a video "Программирование МК STM32. УРОК 45. Подключаем гироскоп LSM6DS0. Часть 2"?mobile menu icon

  • 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.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • 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.