Raspberry Pi Workshop - Chapter 4 - Your First GUI with TkInter and Python

Raspberry Pi Workshop - Chapter 4 - Your First GUI with TkInter and Python

Core Electronics

8 лет назад

187,968 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ciprianciprian5228
@ciprianciprian5228 - 02.06.2017 00:00

How come you don't have that many subscribers? You tutorials are pretty good

Ответить
@carrollforbes7
@carrollforbes7 - 18.06.2017 23:20

Iget an invalid syntax error on ledButton.grid(row =0,column=1)

Ответить
@jyotikhandagale6769
@jyotikhandagale6769 - 28.07.2017 12:51

i am getting proplem while controlling led using GUi
plz help

Ответить
@aakashlimbu239
@aakashlimbu239 - 07.11.2017 18:27

Thank you man, Got a great inspiration to read about Raspberry pi Further. Thanks a lot.

Ответить
@jerrymckee4332
@jerrymckee4332 - 20.11.2017 06:10

Best pi tutorial I've seen! Great job.

Ответить
@acorgiwithacrown467
@acorgiwithacrown467 - 29.12.2017 03:36

Very interesting.

Ответить
@bluecavemen
@bluecavemen - 18.01.2018 07:04

why does most video do led light? try doing GUI with multiple fans turning off and on and doing it each one by one. this much more better than lighf

Ответить
@stevew9945
@stevew9945 - 24.02.2018 06:22

Nice tutorial, helped my greatly

Ответить
@MaxGoddur
@MaxGoddur - 09.03.2018 20:34

Thank you have been looking for this combo for a very long time. I mean why are there, not more videos on marrying Python and Raspbi??

Ответить
@MaxGoddur
@MaxGoddur - 09.03.2018 20:38

This prompts a question. Can this be incorporated into a browser or an app for a cell phone?

Ответить
@MaxGoddur
@MaxGoddur - 09.03.2018 20:47

Dude very well done I now will start following your videos they are fantastic. Direct and to the point.

Ответить
@cjlowe1650
@cjlowe1650 - 25.05.2018 19:41

Great tutorial. Clear and easy to follow!

Ответить
@santiagomino7338
@santiagomino7338 - 30.05.2018 21:17

Great content! very useful...thanks.

Ответить
@adaloveless3904
@adaloveless3904 - 30.06.2018 18:23

I wish people would stop propagating python code. Python is horrible and needs to die. There are dozens and dozens of vastly superior programming languages and frameworks, yet the planet seems plagued by this garbage. Using about a dozen other tools... I can literally do this by writing ONE line of code. Have fun hating your jobs script kiddies!

Ответить
@hellomuggle3029
@hellomuggle3029 - 09.07.2018 03:30

I should pay more attention to his explanation but his voice and face.... ah I can't ignore that

Ответить
@mr.es1857
@mr.es1857 - 09.07.2018 17:52

Somebody knows what is the difference betwenn using Python3 and Thonny ? because in thonny it does't work but in python 3 it does!

Ответить
@squee222
@squee222 - 12.07.2018 09:49

Great video. Very helpful. Thanks

Ответить
@yapandasoftware
@yapandasoftware - 08.10.2018 19:54

I'm finding it difficult to create a sense pin alter a graphics on a button. So a limit switch sense sends signal to GPIO pin set up to sense limit switch condition. Then according to the condition, the graphics button represents the condition. I can turn on LED's, that's easy. But sending Serial Data and Sensing Limit switch conditions is proving way more difficult. any ideas?

Ответить
@andreal.3356
@andreal.3356 - 03.11.2018 19:44

Ben fatto, molto utile per principianti. Grazie! Thanks!

Ответить
@nicholaspullo8050
@nicholaspullo8050 - 13.11.2018 20:55

This was a great tutorial for a beginner like me! Now I am trying to create 2 buttons one to turn the led on and off, and one to start the led with PWM. When I run this script I get the error that pin 21 is already in use. Any idea how I can create 2 buttons that manipulate the same pin?

Ответить
@hghmnds
@hghmnds - 13.01.2019 15:59

Skills aside, you seem to forgrt to turn off "beauty mode"

Ответить
@king_kunta095
@king_kunta095 - 07.02.2019 03:29

can i use this with gpio.setmode(GPIO.BOARD) instead?

Ответить
@maxholy4954
@maxholy4954 - 10.03.2019 17:33

Dude. There is more interesting how to create a GUI apps with WIn PC and toolchain. Your example - just for kids. And kids only will be watch it. Grow up.

Ответить
@Hellhamster
@Hellhamster - 10.03.2019 19:48

Only part missing is how to connect that white block thing

Ответить
@SoumilShah
@SoumilShah - 10.04.2019 16:46

Tkinter is old fashion guys check out PyQt5

Ответить
@GKwbBos
@GKwbBos - 21.06.2019 21:01

My 12yo daughter was amazed at how easy it was to learn and follow your instructions. Great content that was explained in an amazingly easy to follow direction. Please please make more RasPi/python projects. ...and Thank you!!

Ответить
@hydrodynamicenergy
@hydrodynamicenergy - 10.07.2019 15:59

great video!!!

Ответить
@Jousef9
@Jousef9 - 13.07.2019 02:55

This is the best thing I watched today

Ответить
@Gonelastvirus
@Gonelastvirus - 13.07.2019 16:50

please can you show this with c or c++ language

Ответить
@小爱-q9q
@小爱-q9q - 10.09.2019 09:09

Great tutorial, thanks

Ответить
@albertnikolas6739
@albertnikolas6739 - 29.11.2019 09:59

Super clip and information provided,
my question is....
did you stick the rasbbery with chewing gum? On the table?

Ответить
@TCreatorO
@TCreatorO - 03.02.2020 21:36

Very informative, but I want to try to make more artistic looking buttons, like a custom shape and design even if the tigger area is a plain rectangle, I want the GUI to look cool and modern with texture and highlights, I dont mind drawing it from scratch, but drawing it by using text like you just did, would be extremely difficult. Does anyone has any suggestion of any software I could use where i could import the designs I want?

Ответить
@TechMoto101
@TechMoto101 - 24.02.2020 21:13

Great video - well narrated and easy to follow - thanks.

Ответить
@johnward7619
@johnward7619 - 26.02.2020 14:48

Nice and Simple, job well done, no mess no fuss!

Ответить
@dgb5820
@dgb5820 - 15.03.2020 09:06

What are you doing working for core, your too good

Ответить
@leonewing1997
@leonewing1997 - 21.03.2020 08:15

This is my first try with a GUI. I am using Thonny with a Pi 3B. Thanks, very much for this. I changed the text to say RELAY and it works to control my Relay just fine. I do have one glitch though. The program it initially turns the relay on when I hit run, and the GUI does not know it's ON, till I cycle the GUI toggle button once. Is there a way for it not to turn on my relay until I actually click the button? Again thanks very much.

Ответить
@AndreaHasenhöhle
@AndreaHasenhöhle - 25.06.2020 20:04

Thank you

Ответить
@alexwright6038
@alexwright6038 - 04.08.2020 01:49

using python 3.7, I have copied and pasted the program. I then copied the buttons and the design structure. I have change the names so the first additional button in call mbutton and calls motor and have change the name of the led variable by adding a b and for some reason the first chunk of the program works fine and the second just gets stuck in either on or off, so is a one time switch! arrrrgh

Ответить
@essidmohamed8421
@essidmohamed8421 - 01.11.2020 23:26

nice
keep up

Ответить
@BetterThanYesterdayEz
@BetterThanYesterdayEz - 17.02.2021 15:35

cool, it did not work for me
anyways, all the other projects worked, so thanks sir for that 😀

Ответить
@TheCustomGeek
@TheCustomGeek - 28.05.2021 05:51

This. This is what I've been after for a program to control my strobes in my truck from a PI with a 7" touchscreen. Mystery solved, and level unlocked, I will be busy for a while on this.. So many options to add, like color changing buttons, sliders, and more. Thanks!

Ответить
@mayankdubey892
@mayankdubey892 - 03.07.2021 11:50

How can interface Raspberry pi with PLC and display status of HMI on Monitor through raspberry HDMI?

Ответить
@newgardenfarms4980
@newgardenfarms4980 - 19.02.2022 23:07

Thanks!! Do you have a video showing how to make the gui accessible from a web browser?

Ответить
@gregpetryk1696
@gregpetryk1696 - 18.09.2022 21:54

You refer to "GPIO" as "GPI-ZERO". So please clarify for all followers that the last character as an 'O' (oh) and not a '0' (zero) as you state. I have understood it being an 'oh' as in "eneral urpose nput utput", not "eneral urpose nput ". Thanks.

Ответить
@sajansudhir1859
@sajansudhir1859 - 04.11.2023 18:09

Thanks for this Amazing hints................😇

Ответить
@gleb.stachev
@gleb.stachev - 23.06.2024 20:59

Thank you for your tutorial. Small question, I could convert this app to be like .exe file on windows, in order to secure code and to be more understandble to install for users?

Ответить