Приятного просмотра

STM32f4 Discovery board data input and display project

Опубликовано: 7 месяцев назад
9 просмотров
👎 1
Скопируйте и вставте на Ваш сайт

Описание

Use the stm32f4 discovery board with an LCD module and rotary encoder knobs switches for data input and display

Субтитры

Good afternoon ladies and gentlemen today we are looking at a prototype device that uses a STMicroelectronics demonstration board one of those classic LCD modules where you send it a set of instructions to get your stuff to be displayed or move cursors and a cute little bunch of knobs I'm using two of them came free built there's two functions you can you can push into.

Click ium or you can rotate them with the little click action they're like opto I think they opt over whatever the device Santa cleaned-up signal to my microcontroller to interpret whether they're going forward or backwards or whether it's getting the click thing though now the way I did this like NFC if I MercyMe a turn this knob up so that knobs pretty obvious turning that knob.

Will change your the number looks like I've seen some of the other numbers too alright now let me click it the clicker didn't seem to work very good anymore it's not a grain of rice behind your something oh there we go and doesn't seem to do anything so I must not have programmed anything for clicking that one in all right let's try this other one and see what it does.

All right so that's advancing that's obvious enough it's advancing within the number all right all right let's try the second knob so once I go to a new number all right so that makes sense the other the other knob will then change the number you can move it to the next number and change it go back and move around within the number so how do you get out of that number you go to some.

Other variable first you can see I made up some names that may have made sense at the time of course you can always change that in your little program all right so I'll give away the secret I'm gonna press that this one again when they push it in and oh look at that then allows me to go to a mode where you're hopping to different numbers then I will press it again.

And okay you're within the number now you can park it yourself at a certain digit and then go to the second knob and change the number so there you go this is a way to enter a number into your little computer and then from there you can use the those parameters the numbers you chose to do something controlling machine in a certain way or what have you.

Now this is only a prototype of a data entry portion of a project thanks for watching oh program we meet s team is a big for me it's a big pain because they constantly have thousands of different microcontrollers and microcontroller demonstration boards and in the beginning it was easy they just had a few but now you got to figure out how to.

Choose the right one start writing your program which makes me really want to just give it all up and go back to those Arduino is which I've never learned yet I heard they're very good easy to use and other lesson other such boards the only advantage I thought of this at the time was it was a it was a speed demon the specs on this are just outrageously fast for a little micro board I mean.

Anything else I can say okay I'm using a breadboard to connect one thing or another we'll meet some notes on here so the i/o and these boards you can see they're brought out to some pins you can kind of read them alright pe5 PD so DC those are like common-sense put court seed we got over here a port seaport a there either 8 or 16.

Bit porch or some portion thereof so I'm just used some old computer connectors to get some wiring from this board over to my breadboard which then I can then go and hook this cable nicely rainbow-colored you know the resistor color called colors and they're tied in some way to here and in the program since of my IO outputs to control and set up this little LCD module which.

Comes with these have been around since I was in the 90s 80s 89 hour and let's say nineties 80s late 80s at least in 1990s and they haven't changed much in terms of how you communicate with them and these are always fun the maker of this let's see if we can get some IDs on that sir Electronics has seen upside down the you know you can you can write your computer program to to here's how.

There it looks like they give us some instructions upside-down of course so these sentencing was like whether you're turning a clockwise or counterclockwise where the push the button and whether a a bit has passed you know like a train of bits probably as you turn the knob anyhow the program interprets that instead of the old-fashioned two wires.

Coming from the opto knobs usually they are optically encoder knobs I'm not sure if that's this resistor encoded or they got the fancy optical but resistor ones that just wear out a little bit faster alright I think I better start off the mountain thank you for watching

Комментарии

Нет комментариев!