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

Download "Программирование МК AVR. Урок 11. Динамическая индикация. Часть 1"

input logo icon
"videoThumbnail Программирование МК AVR. Урок 11. Динамическая индикация. Часть 1
Table of contents
|

Table of contents

0:00
Интро
0:18
Динамическая индикация
2:10
Соберём схему в протеусе
5:14
Добавим транзисторы в схему
Video tags
|

Video tags

Микроконтроллеры AVR
AVR
МК AVR
Программирование МК
Программирование AVR
Программирование СИ
Программирование микроконтроллеров
LED индикатор
Программирование
Atmel Studio
Динамическая индикация
семисегментный индикатор
светодиодный индикатор
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:17
hello everyone, today we will continue our
00:00:21
lessons on programming
00:00:23
lr microcontrollers, today we will also
00:00:27
continue to work with
00:00:32
seven-segment LED indicators, today we are
00:00:36
trying to connect one more digit under
00:00:41
and use dynamic indication in
00:00:44
general, what is the difference between dynamic
00:00:46
indication and static one that we
00:00:48
used last time In general,
00:00:51
with static indication, the
00:00:52
common electrode of the indicator is where it is not
00:00:56
where the cathode is always connected to us,
00:00:59
but when
00:01:02
dynamic indication is used, we
00:01:06
turn on the common electrode alternately
00:01:09
and to, but thereby saving
00:01:13
microcontroller ports, that is, we are not all
00:01:16
common electrodes that are connected to
00:01:18
segments we parallel them to them on
00:01:21
all indicators and connect all eight
00:01:26
in total
00:01:28
8 electrodes all together for parallel
00:01:33
indicators we connect to one port
00:01:38
at all we do not use several of them
00:01:41
so this results in a real saving of
00:01:45
microcontroller legs. I decided to break the layer lesson
00:01:51
into parts since they are
00:01:54
too big the videos turn out to be hard
00:01:56
to watch, well, let's continue
00:02:01
now we'll start the process, most
00:02:06
likely in our first lesson we'll
00:02:10
just assemble the pattaya sea circuit
00:02:15
in the next part of the lesson we'll continue
00:02:20
then working with the code first of all we'll
00:02:26
now connect this button to
00:02:32
another port
00:02:33
see after that, why are we going to do this,
00:02:37
that is, because we need to
00:02:42
free these two legs and connect
00:02:45
two indicators to them, we lowered all this equipment
00:02:49
down a little and connected it
00:02:55
how to be 5 because later we
00:03:04
plan to still connect 4
00:03:07
indicators and that’s it we have 0 1 2 or
00:03:14
not 2 I don’t know some kind of leg we
00:03:18
will need to fall under pulse-width
00:03:21
modulation but later
00:03:23
the button will remain on pb-5, maybe
00:03:26
there’ll be a couple of three buttons we’ll
00:03:28
connect, we’ll see in general how
00:03:31
things go we’ll connect to p.p. .
00:03:35
fifth, now that means we will have
00:03:41
indicator 2
00:03:43
for now, for now this whole thing, remove another
00:03:47
one like this, add just from here,
00:03:50
click, add it
00:03:56
next to where we won’t, and let’s start
00:04:00
paralleling our legs like this, it
00:04:02
’s better to start from here, since the
00:04:07
program will try to get here
00:04:11
in these stripes
00:04:12
we do not get into the stripes through one, we
00:04:17
carefully connect the electrode and
00:04:23
we will get that all the
00:04:26
cathode indicator legs of the same name
00:04:32
will be united, that is, for example,
00:04:36
we put a logical zero here, a
00:04:41
segment will light up not only in this
00:04:44
indicator but also in different, but this is in the
00:04:46
event that we
00:04:48
turn on the anodes at the same time and we wo
00:04:52
n’t turn them on at the same time, so it
00:04:54
will light up on one, then we give here
00:04:57
another number, we need indicators for this
00:05:00
and we give it here
00:05:04
a plus sign, it will turn out like this, they will
00:05:08
light up alternately like this so we connected the
00:05:12
second indicator, now that means we need to
00:05:14
come up with something else with our noname
00:05:20
anodes, in theory we should connect them to
00:05:25
other ports and alternately supply them with
00:05:28
positives, but we won’t do that, otherwise we’re
00:05:30
waiting for it why we’ll compress what, for
00:05:32
example, imagine here we have a light
00:05:35
on if there is an eight, then 7 vessels are running at the same time
00:05:38
0 and
00:05:41
that is, if we turn on the
00:05:45
sports one here, that is, plus 5
00:05:48
volts plus 3 3, it turns out that
00:05:52
we have here somewhere around
00:05:54
20 milliamps on each leg they everything
00:05:59
will turn out to be 140 and
00:06:03
the circuit will be closed and here between
00:06:07
this leg and the leg of the desk with which we
00:06:11
will also supply a current of
00:06:16
120 milliamps will flow, which is just a volumetric
00:06:21
sport,
00:06:23
so we will use transistors here with you,
00:06:26
here we
00:06:31
will take any transistors for In practice, for these purposes I
00:06:35
used to use the good old KT315
00:06:40
for aesthetic reasons, I stopped
00:06:42
using them, I use water transistors
00:06:49
marked VSS 8550, so they
00:06:55
have approximately the same characteristics,
00:06:57
but they are new, they are a little different, their
00:07:00
coefficients are different and KT315, they are
00:07:03
already old, could be covered at any moment
00:07:05
let's go to the library
00:07:10
for a transistor, here we have a
00:07:21
bipole
00:07:22
Armenia Logan even
00:07:26
generic and here is the pnp structure, that
00:07:31
is, we have an arrow or from here double
00:07:34
click and put a couple of them
00:07:38
somewhere here, let's
00:07:48
turn them over first let's turn it over on the
00:07:56
calculator on the keyboard by pressing plus
00:07:59
and then we will display it and mirror it like this, that is,
00:08:04
we need the emitter up and this is
00:08:07
what kind of emitter we will connect with you to
00:08:14
the tributary and the metro we will assemble to the plus in
00:08:20
this way and
00:08:28
we will connect the collectors so, in general,
00:08:35
your anode will turn out to be such a thing, well on the bases of
00:08:45
the transistors we
00:08:49
will hang a couple of resistors, well, here it’s
00:08:57
quite enough 2 kilos of smart
00:09:01
resistors are no longer needed and
00:09:07
our transistor is not needed at all and
00:09:10
they open, we’ll use 2 kilo ohms, this is how
00:09:18
we’ll get the decoupling
00:09:21
this we’re here on the base in the second on
00:09:25
the corresponding the base of the
00:09:27
second transistor is like this and the legs are
00:09:33
this one 15
00:09:39
this one I’m reading the
00:09:42
wall of shame it turns out that we would be able to
00:09:47
connect 0 to this indicator
00:09:50
that will be responsible for the units of fallout
00:09:54
the lens is the one that will be responsible for the
00:09:58
tens so we have the whole circuit in theory
00:10:07
but just for fun, of course, you can
00:10:10
try to run it, well, it wo
00:10:17
n’t start at all, ours will submit it since
00:10:21
we didn’t apply it here, here’s our new
00:10:26
project, but I copied the whole old project into the new project,
00:10:30
the idea should be something here
00:10:42
right away,
00:10:43
here we have one that works, 2
00:10:49
why don’t they work it’s not clear why
00:10:59
this is the one
00:11:00
on it, the logical levels are all
00:11:03
present, okay, the main circuit we’ve
00:11:08
assembled, we’ll figure it out later why
00:11:10
it doesn’t work, here’s a circuit,
00:11:14
remember, in general, over time, I’ll post all this
00:11:18
on the site, and you can also see this same code and circuits
00:11:24
here here
00:11:31
is the circuit we have, this is the complete one I
00:11:34
drew, that is, the transistor here they are with
00:11:37
8550, both here
00:11:38
the resistor costs 2 kilo-ohms, here we
00:11:41
all have 220, I immediately connected them and the
00:11:46
points, here they are, too, to one electrode
00:11:53
through a regular one, this is the same 220 here
00:11:57
we have all the resistor here is our port d here p
00:12:01
p 0 on b1 here it is connected through a transistor like this,
00:12:06
in general, like this we have assembled a circuit
00:12:10
for dynamic display in turn, we
00:12:13
will submit non-logical ones here, plus
00:12:17
they threw together because this is we
00:12:20
got a circuit of
00:12:23
inverse transistors, here we use a
00:12:25
reverse structure, why does it
00:12:29
work better on ours? We will then
00:12:34
use a direct structure, which is
00:12:37
generally designed to work with a circuit
00:12:40
with a common minus npn structure, in general,
00:12:45
thank you all for watching the video, in general, like,
00:12:49
subscribe, write
00:12:53
comments to everyone Goodbye

Description:

Программирование на СИ в среде Atmel Studio. Продолжаем работу с семисегментным светодиодным индикатором, но уже в динамическом режиме. Собираем схему подключения. Приобрести программатор USBASP USBISP 2.0 можно здесь (продавец надёжный) http://ali.pub/1eigwp Семисегментный чертырехразрядный индикатор красный с общим анодом 10 шт http://ali.pub/1doaul Навигация по видео: 00:00 Интро 00:18 Динамическая индикация 02:10 Соберём схему в протеусе 05:14 Добавим транзисторы в схему Также рекомендуется посмотреть данные видео: Урок 2. Создание проекта в Atmel Studio 2 https://www.youtube.com/watch?v=g7d0IUXscOQ Урок 5. Мигающий светодиод https://www.youtube.com/watch?v=dqAe7g1pgbo Урок 6. Бегущие огни https://www.youtube.com/watch?v=dAYp0MjNcqM Урок 8. Семисегментный индикатор. Статическая индикация https://www.youtube.com/watch?v=lc4dWegGElQ Урок 10. Таймеры-счетчики. Прерывания https://www.youtube.com/watch?v=mLDZhHFGQsU Текстовая версия данной части урока и исходный код здесь https://narodstream.ru/avr-urok-11-dinamicheskaya-indikaciya-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

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 "Программирование МК AVR. Урок 11. Динамическая индикация. Часть 1" 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 "Программирование МК AVR. Урок 11. Динамическая индикация. Часть 1" 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 "Программирование МК AVR. Урок 11. Динамическая индикация. Часть 1" 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 "Программирование МК AVR. Урок 11. Динамическая индикация. Часть 1" 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 "Программирование МК AVR. Урок 11. Динамическая индикация. Часть 1"?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 "Программирование МК AVR. Урок 11. Динамическая индикация. Часть 1"?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.