00:06Hello, welcome to a new video. In this video, we will study the 8x32 matrix.
00:16Firstly, in this case I have opted for four multiplexed 8x8 matrices. The core of the
00:21The program is the same as the one in the 8x8 matrix post, so it continues with the same
00:25Code simplicity for ease of comprehension, only in this case due to a theme
00:30Due to the number of pins required, we are obliged to expand the microcontroller's ports.
00:35Therefore, I have implemented the shift register 74595; it is a register with an entry
00:41serial and parallel output; it works the same as the 74164 or CD4094 register. With the latch we perform
00:50The same action, but until the parallel conversion is complete, we do not send the value
00:55to the outputs, so the displays would be turned off, and once we have the parallel value,
01:00We activate the latch, and the value passes to the output, correspondingly turning on the
01:05segments instead of showing the conversion process as it happens.
01:10With this brief introduction to explaining the programming used, this program has
01:16I made some minor modifications to what is an 8x8 matrix program. The explanation
01:22In general, we have the F74595 and NIT functions, which send a 1 to
01:28fact,
01:29then a clock pulse and then a 0 to the data; this is necessary because, remember, the register,
01:34of shift, shifts the bits that are entered serially into a flip-flop array,
01:39concatenated, then by entering a single bit as 1, and then leaving it at a low level, using the
01:44The clock signal S1 will travel through all the internal flip-flops and therefore through all the outputs. What
01:51It will create a ring counter. Finally, something you may have noticed at first glance is that the vector
01:56where the bits, which will be displayed in the matrix to form a phrase, are housed, are no longer in
02:01in binary form, but rather in decimal form, which is the same but takes up less space, as
02:07From our perspective, it's the same for the microcontroller. Then comes the message, which is also in
02:13Decimal format, so it takes up less space, and we assign one line per letter. It's a program
02:19Very simple, it doesn't exceed 10% of the PIC-16F628A's memory, so it's very good.
02:26to use
02:27in almost any microcontroller. These are some improvements that could be implemented quickly.
02:35but that makes the program more complex, and the main thing is that one manages to understand the technique of
02:40multiplexing, screen frames, scrolling, and now we add shift registers.
02:48Now we have the programming, but, since we changed the letters that appear on the displays,
02:54Since, as I mentioned, it's no longer in binary form but decimal. Also, all the files
02:59The instructions are in the description of this video. To change the lyrics, I've taken
03:04a tutorial which will be shown below.
03:08In this case, an apostrophe, let's say, so that when you write, everything you write,
03:15Here, with this apostrophe, with a half quotation mark, let's say, we describe what we do here.
03:23so we don't forget.
03:26Okay, here we have to start a sweep with all zeros, then that can be the letters
03:32Whatever you want, right? And you separate it with a space, which is with zeros, right? You separate it with zeros.
03:42You can make whatever letters you want, like I said, no, all the letters are there.
03:46Right? Separate each letter, right? There are the dresses, I mean, my name, then,
03:51You can make your own names, well, this is a project I'm working on.
03:55Right? By the end of the cycle, right? And everyone can do that from there.
04:00Now, how do we get your numbers from here? From your numbers, right?
04:03That's all an 8-bit register, right? And here it is in Excel, let's see, here it is.
04:12Here we have my rows, RB0, RB7, and my record, from 1 to 128, which add up to 255 combinations
04:20Bits, zeros and ones, right? 8 and 1 add them all up to 255, right? In binary.
04:28And here we are adding, you can form any letters you want, and by adding them up,
04:34Adding up all the values in this column gives you 255, which is how many here, right? For example,
04:39Here they add 28 plus 74, plus 32, plus 16, plus 8, plus 4, plus 2, plus 1, which equals 255.
04:46Where they don't add up to anything, they put 0.
04:50And here they put 228, no, sorry, 128, they only add up the X's,
04:56Those you have formed X, right? 128, plus 8, and plus 1, equals 137.
05:03And so, look, right? They add up to 128, plus 8, plus 1, and here too, 128, plus 8, plus 1.
05:13Not here, look, here it's 128, plus 1, 129.
05:17They leave a 0 for last, why? Because if you fill it up to here,
05:24The letter, this letter, with the next letter that follows it, are going to come out very close together, right?
05:28Here I have given it, for example, if you can see it here in Proteus,
05:33I've given you the distance of one LED, right? Leave it here, the distance of a separate LED.
05:39I don't know if you can see it, but when you do, you'll see it there, from an LED, right?
05:43Because if the words don't come out together.
05:46Okay, let's continue.
05:47And so they all add up, right? Here it would be this: 64, plus 32,
05:53And plus 2, it comes out to 98, right? And that's how their letters are formed.
05:58Here, sorry, here it was, here is X, and here we delete it.
06:03Okay, that adds up to all of that, huh?
06:09Well, that's regarding your numbers here, all of them.
06:15Okay, once we have the programming, we move on to compiling and simulating in Proteus.
06:22We upload the program to Proteus, on the microcontroller, and click simulate.
06:30Here's the simulation; I don't have the matrices and all the 74HC 595.
06:37Please note that this simulation is not as accurate as a video.
06:40and therefore some flickerings can be seen that do not exist in reality.
06:47The initials are, Faculty of Engineering and Applied Sciences, Silla,
06:52Technical University of Cotopaxi, and my name is your servant.
06:56Well, that's all for today. I hope it's helpful.
06:59Don't forget to subscribe and like.
07:02Thank you!
07:03Thank you!
07:03Thank you!
07:03Thank you!
07:04Thank you!