Presentación
Vídeo
Transcripción
Extracto de la transcripción automática del vídeo realizada por YouTube.
okay good afternoon everyone how are you ah good so we have we have two very exciting talks we have two hardware talks in a row in this room so you you probably want to stick around and starting this block we have bristan homes with his talk blending art technology
and like python for interactive and real-time led installations so let's give a hand to preston all right hello thanks for coming out my name is Preston I do a few Python things I do some cloudy things and I have sort of a closeted artistic side that I'm
guessing some of you have some interest in in art and creativity I'd actually argue that almost everyone here at PyCon is is a creative person because code ultimately is is a creative process so but why am I going to talk about LEDs and the answer is super
simple it's because for forever we've been fascinated by twinkly lights weathers looking at the night sky staring at fireflies in a forest or sort of wing and eyeing at fireworks in the sky and working with LEDs has a lot of parts and so what I'm
going to really try to do is give a full stack overview of all the layers here and go all the way from electrons to emotions talk about the LED as a material the controller hardware and some the integrated circuitry involved interfaces and protocols that are
required to speak to these devices some of the software and libraries that can be used and then finally some creative design patterns so it's it's quite a full stack so we're going to just dive right in so LED light-emitting diode i'm guessing
everyone can understand what the light emitting part is default here so i'll talk just very briefly about what diode is diode essentially is a two layer sandwich to semiconductor materials where one half is doped in a way that it is has an excess of electrons
and the other side is dope in a way that has sort of a shortage of electrons are called electron holes and this results in a structure where current can really only flow in one direction so they're used in circuits to act as sort of check valves and in
the case of light-emitting diodes what happens is when that electron drops into a hole it goes from a higher energy state to a lower energy state and releases a photon which we can see as visible light and so we're many of you familiar with this form of
led this is kind of the blinky light that you always start off with as a hardware project but I just want to show that the LED material is sort of that one small square and for for more creative purposes we're interested in RGB LEDs and these are in fact
three separate LEDs closely put together into a package like this where each of these have been chemically set up to emit either red green or blue light and in this case it's in what's called a 50-50 package which just means it's a five millimeter
by five millimeter square and by having them this close together when you apply different amounts of power to each of the red green and blue LEDs the colors blend and we can perceive it as a full spectrum and when you start working with LEDs one of the terms
you come come across really quickly as smart versus dumb LEDs and a dumb LED is simply one of these LED packages that has no logic circuitry involved it's just you apply voltages and and they emit light and if you have a strip of dumb LEDs when you apply
voltage and you make purple all the LEDs are the same color at the same time smart LEDs involve some sort of logic circuitry and this is this some sort of integrated ship along the along the way that allows it to receive a data protocol and each light along
the strip can be individually controlled as its own color on brightness etc and they've actually now gotten to the point where they're building these integrated circuits directly into the LED package so so these things require these sort of protocols
and there's a variety of them but before we get into that these packages come in shape different shapes and sizes so there's some varieties here where there are more than one LED / control chip so this unit of control is called a pixel often called
an LED pixel and an LED pic will may have more than one led in the package so they come in variety forms but the unit of control is called a pixel and the data types they take tend to be these sort of specialized very high clock rate serial formats that essentially
boil down to an array of bytes and each of these chips will simply take off pop off three bytes use it for r g and b buffer the remaining bytes and then forward them down the line so that each pixel along the chip doesn't really know that it's pixel
number five it just simply pops off three bytes and forwards remaining and these protocols while they vary they're all very high clock rate and very precision timing oriented protocols and they're not something that a sort of kernel based operating
[ ... ]
Nota: se han omitido las otras 2.460 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.