WEBVTT

00:00:00.080 --> 00:00:07.680
how does your computer put on such a fantastic light show with all those LEDs

00:00:05.160 --> 00:00:12.000
how do the lights fade and change colors is there a legion of pixies with an

00:00:10.080 --> 00:00:16.160
amazing array of dimmer switches coordinated precisely so that your

00:00:14.080 --> 00:00:20.720
friends are impressed with your RGB lighting well the reality is a bit less

00:00:18.680 --> 00:00:26.960
Fantastical but with the recent unionization of pixies we have the much

00:00:23.519 --> 00:00:29.599
more practical pulse width modulation so

00:00:26.960 --> 00:00:33.440
what is pulse width modulation pwm varies the perceived power going to an

00:00:31.480 --> 00:00:38.399
electronic device by very quickly turning the power on and off the

00:00:35.960 --> 00:00:43.079
perceived output is changed by varying the duty cycle now the duty cycle isn't

00:00:41.239 --> 00:00:47.239
the time it takes your dog to spin around before going about its business

00:00:45.360 --> 00:00:53.359
but instead how long the signal is turned on versus turned off this means

00:00:50.640 --> 00:00:58.840
with the duty cycle of 50% the signal is turned on half the time and off the

00:00:55.680 --> 00:01:00.680
other half whereas a duty cycle of 100%

00:00:58.840 --> 00:01:04.519
means the signal is always on an important part of the duty cycle is the

00:01:02.680 --> 00:01:09.799
switching frequency or how fast the signal is turned on and off for instance

00:01:07.119 --> 00:01:15.520
turning an LED on for a second and then off for a second would be a duty cycle

00:01:12.400 --> 00:01:18.720
of 50% but the LED won't be half as

00:01:15.520 --> 00:01:21.439
bright it'll just be annoying to make

00:01:18.720 --> 00:01:27.119
the LED appear dimmer the onoff switching has to be faster than the

00:01:23.960 --> 00:01:29.240
flicker Fusion rate or how quickly a

00:01:27.119 --> 00:01:33.560
light has to turn on and off to be perceived by the brain as being

00:01:31.200 --> 00:01:38.799
continuously on in humans the flicker Fusion rate is around 18 times per

00:01:35.920 --> 00:01:44.200
second typically LEDs control by pwm will be switched on and off over a 100

00:01:41.280 --> 00:01:50.439
times per second or 100 Hertz by using a duty cycle of 25% at 100 HZ it means

00:01:47.880 --> 00:01:55.880
that the LED would be turned on and off 100 times per second but the duration of

00:01:53.200 --> 00:02:02.240
each on cycle is only a quarter of the time making the LED appear 25% as bright

00:01:59.680 --> 00:02:06.640
and and as you probably know pwm is also useful for quiet and efficient PC

00:02:04.320 --> 00:02:11.160
cooling older fans controlled from the motherboard had very poor speed control

00:02:09.319 --> 00:02:15.959
meaning that the fans would run much faster and louder than they actually

00:02:13.000 --> 00:02:20.680
needed to be at that point in time pwm fans however allow for the motherboard

00:02:18.160 --> 00:02:26.440
to easily control the fan speed giving low quiet fan speeds when just browsing

00:02:23.440 --> 00:02:28.959
the web to gale force wins when you're

00:02:26.440 --> 00:02:34.640
playing crisis so can we dim a light or change a fan Speed without using pwm

00:02:31.840 --> 00:02:38.680
well older systems might use DC voltage control this works by changing the

00:02:36.840 --> 00:02:44.159
resistance in a circuit the more resistance the less power transmitted to

00:02:41.120 --> 00:02:46.800
the fan or light since there is no

00:02:44.159 --> 00:02:51.640
switching DC control has the advantage of smoother power delivery but they

00:02:49.159 --> 00:02:56.760
often don't offer the same range of speeds that a pwm fan does not to

00:02:54.519 --> 00:03:01.640
mention that any power that isn't being used gets wasted as heat which is why

00:02:59.560 --> 00:03:06.480
old dimmer switches use the same amount of power no matter how much light they

00:03:03.720 --> 00:03:10.720
made it has been said that pwm monitors can cause eye strain from the constant

00:03:08.519 --> 00:03:15.799
flickering although makers of DC controlled monitors seem to pretty much

00:03:12.599 --> 00:03:17.959
be the only ones that are saying this so

00:03:15.799 --> 00:03:23.040
trust them if you want beyond changing how much power is going to something pwm

00:03:20.360 --> 00:03:26.680
can be used to transmit data between two devices where pulses of different

00:03:24.959 --> 00:03:31.439
lengths represent the data being transferred this is how your TV remote

00:03:29.040 --> 00:03:36.799
switches channels and how data is transmitted from cell towers to your

00:03:33.879 --> 00:03:41.040
phone pwm is also used in some audio amplifiers making them extremely

00:03:38.840 --> 00:03:48.200
efficient the typical efficiency of a non pwm amplifier is between 25% and 50%

00:03:45.560 --> 00:03:51.560
while a pwm amp can reach efficiencies of

00:03:49.120 --> 00:03:55.920
99% the cool operation and high efficiency makes these amplifiers

00:03:53.480 --> 00:04:00.360
popular in car audio you can bump t-swift all day without you know turning

00:03:58.560 --> 00:04:04.439
your dash into a frying tunnel bear VPN allows you to Tunnel

00:04:02.120 --> 00:04:08.400
into 20 different countries giving you the access to browse the internet from

00:04:06.319 --> 00:04:13.599
that country and they have easy to use apps for iOS Android PC and mac and they

00:04:11.519 --> 00:04:17.799
also have a Chrome extension just choose a country in the app turn tunnel bear on

00:04:15.920 --> 00:04:21.759
and watch as your bear tunnels your internet connection to your new location

00:04:20.000 --> 00:04:26.199
when you do turn tunnel bear on two things happen your connection gets

00:04:23.040 --> 00:04:28.720
encrypted with AES 256bit encryption and

00:04:26.199 --> 00:04:32.360
your public IP address gets switched to one in that new country that you chose

00:04:30.720 --> 00:04:37.160
tunnel bear lets you bypass all the annoying details that typically come

00:04:34.639 --> 00:04:40.680
with using a VPN for personal use there's no need to mess around with Port

00:04:38.759 --> 00:04:44.280
configurations DNS or any other router settings tunnel bear handles all of that

00:04:42.440 --> 00:04:48.520
and it's just it's just simple and they also have a top rated privacy policy and

00:04:46.120 --> 00:04:52.639
do not log user activity you can try out tunnel bear VPN with 500 megabytes for

00:04:50.400 --> 00:04:56.560
free no credit card required and if you do choose to get a year of unlimited

00:04:54.360 --> 00:04:59.960
data you can save 10% by going to Tunnel bear.com Linus all right guys if you

00:04:58.600 --> 00:05:02.720
like this video like it if you just like this video dislike it get subscribed let

00:05:01.720 --> 00:05:10.039
us know in the comments down below if there's other stuff you'd like us to cover and check out uh this video which

00:05:07.039 --> 00:05:13.280
is Dennis's third favorite Channel super

00:05:10.039 --> 00:05:14.919
fun not his first not his second very

00:05:13.280 --> 00:05:18.080
specifically his third and there's very good reasons for that
