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

Download "Программирование МК PIC. Урок 14. Модуль CCP. Режим PWM"

input logo icon
Table of contents
|

Table of contents

0:00
Введение
3:31
Режим PWM модуля CCP
11:29
Практическая схема
14:45
Настроим режим PWM в проекте, а также инициализируем таймер TIMER2
16:55
Функция установки значения скважности PWM
19:04
Настроим определённую скважность и посмотрим результат в программе логического анализа
23:38
Напишем алгоритм плавной смены скважности и посмотрим результат в программе логического анализа
26:17
Добавим небольшую задержку и посмотрим результат нашей работы на практической схеме
Video tags
|

Video tags

Микроконтроллеры PIC
PWM
ШИМ
CCP
Timer
таймеры
PIC
МК PIC
MPLAB X IDE
MPLAB XC8
Программирование МК
Программирование PIC
PIC16F877A
Программирование СИ
Программирование микроконтроллеров
Программирование
You already have UDL Helper installed You can download video in 1 click!
Installed
for
Google Chrome

Description:

Продолжаем работу по программированию контроллеров PIC. В данном уроке мы познакомимся с третьим и последним режимом модуля CCP - PWM (Pulse-Width Modulation) или ШИМ (широтно-импульсная модуляция). Мы закрепим наш материал на практике с помощью логического анализатора с программой для логического анализа, а также визуально с помощью двух плавно мигающих светодиодов. Микроконтроллер мы будем использовать тот же - PIC16F877A, расположенный на удобной и недорогой отладочной плате. Приобрести программатор PICKit3 (неоригинальный) можно здесь http://ali.pub/24fd8t Приобрести программатор PICKit3 (оригинальный) можно здесь http://ali.pub/24fdzu Отладочную плату PIC Open18F4520-16F877A можно приобрести здесь https://hz.ru.aliexpress.com/item/32791110598.html?af=36585_1&cv=27138066&cn=46sbalpyp1bnv4kjjmjttukj558d0hju&dp=v5_46sbalpyp1bnv4kjjmjttukj558d0hju&af=36585_1&cv=27138066&cn=46sbalpyp1bnv4kjjmjttukj558d0hju&dp=v5_46sbalpyp1bnv4kjjmjttukj558d0hju&product_id=32791110598&afref=&aff_fcid=f12428b1c3224be2b2b7a3a6008c58d7-1712023414758-06546-_9hwhcM&aff_fsk=_9hwhcM&aff_platform=portals-hotproduct&sk=_9hwhcM&aff_trace_key=f12428b1c3224be2b2b7a3a6008c58d7-1712023414758-06546-_9hwhcM&terminal_id=a9006bf6d0ac4fe28d9712d4920cdda4 Логический анализатор 16 каналов можно приобрести здесь http://ali.pub/2i1ki5 Навигация по видео: 00:00 Введение 03:31 Режим PWM модуля CCP 11:29 Практическая схема 14:45 Настроим режим PWM в проекте, а также инициализируем таймер TIMER2 16:55 Функция установки значения скважности PWM 19:04 Настроим определённую скважность и посмотрим результат в программе логического анализа 23:38 Напишем алгоритм плавной смены скважности и посмотрим результат в программе логического анализа 26:17 Добавим небольшую задержку и посмотрим результат нашей работы на практической схеме Для более понятного просмотра данного видео предварительно рекомендуется посмотреть: Урок 2. Первый проект в MPLAB X IDE https://www.youtube.com/watch?v=P4CKlUionBo Урок 5. Таймеры https://www.youtube.com/watch?v=LmGGwtT3-i4 Урок 8. TIMER1 https://www.youtube.com/watch?v=YVBymwQ_OQw Урок 9. TIMER2 https://www.youtube.com/watch?v=24cRxKzEBxs Урок 12. Модуль CCP. Режим захвата. ИК-пульт. Часть 1 https://www.youtube.com/watch?v=UG4mlY6NLwE Урок 12. Модуль CCP. Режим захвата. ИК-пульт. Часть 2 https://www.youtube.com/watch?v=u05ijpdNS9k Урок 13. Модуль CCP. Режим сравнения https://www.youtube.com/watch?v=LXELtXmCdzI Текстовая версия урока и исходный код здесь https://narodstream.ru/pic-urok-14-modul-ccp-rezhim-pwm/ Группа в контакте 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 "Программирование МК PIC. Урок 14. Модуль CCP. Режим PWM" 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 "Программирование МК PIC. Урок 14. Модуль CCP. Режим PWM" 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 "Программирование МК PIC. Урок 14. Модуль CCP. Режим PWM" 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 "Программирование МК PIC. Урок 14. Модуль CCP. Режим PWM" 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 "Программирование МК PIC. Урок 14. Модуль CCP. Режим PWM"?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 "Программирование МК PIC. Урок 14. Модуль CCP. Режим PWM"?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.