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

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 60

  • @GK-zg7vq
    @GK-zg7vq 5 років тому +2

    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!!

  • @TheCustomGeek
    @TheCustomGeek 3 роки тому

    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!

    • @Core-Electronics
      @Core-Electronics  3 роки тому

      Sounds like a great project, let us know how it turns out!

  • @jerrymckee4332
    @jerrymckee4332 7 років тому +4

    Best pi tutorial I've seen! Great job.

  • @MaxGoddur
    @MaxGoddur 6 років тому +2

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

  • @Jousef9
    @Jousef9 5 років тому +1

    This is the best thing I watched today

  • @ciprianciprian5228
    @ciprianciprian5228 7 років тому +8

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

    • @Core-Electronics
      @Core-Electronics  7 років тому +5

      While we've been making "things" for ages, we are new to UA-cam :) Rest assured we'll be sticking around though.
      Thanks for your feedback, and all the best with your projects!

    • @sc22333
      @sc22333 5 років тому +1

      please stay around, nice video

  • @aakashlimbu239
    @aakashlimbu239 7 років тому +2

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

  • @TechMoto101
    @TechMoto101 4 роки тому

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

  • @cjlowe1650
    @cjlowe1650 6 років тому

    Great tutorial. Clear and easy to follow!

  • @johnward7619
    @johnward7619 4 роки тому

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

  • @squee222
    @squee222 6 років тому +1

    Great video. Very helpful. Thanks

  • @stevew9945
    @stevew9945 6 років тому +1

    Nice tutorial, helped my greatly

  • @MaxGoddur
    @MaxGoddur 6 років тому +4

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

  • @MaxGoddur
    @MaxGoddur 6 років тому +5

    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??

  • @andreal.3356
    @andreal.3356 6 років тому

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

  • @santiagomino7338
    @santiagomino7338 6 років тому +1

    Great content! very useful...thanks.

  • @gleb.stachev
    @gleb.stachev 5 місяців тому

    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?

  • @小爱-q9q
    @小爱-q9q 5 років тому

    Great tutorial, thanks

  • @nicholaspullo8050
    @nicholaspullo8050 6 років тому

    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?

  • @albertnikolas6739
    @albertnikolas6739 5 років тому +1

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

  • @yapandasoftware
    @yapandasoftware 6 років тому

    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?

  • @TCreatorO
    @TCreatorO 4 роки тому

    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?

  • @leonewing1997
    @leonewing1997 4 роки тому

    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.

  • @sajansudhir1859
    @sajansudhir1859 Рік тому

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

  • @hydrodynamicenergy
    @hydrodynamicenergy 5 років тому

    great video!!!

  • @newgardenfarms4980
    @newgardenfarms4980 2 роки тому

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

  • @bluecavemen
    @bluecavemen 6 років тому +1

    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

  • @mayankdubey892
    @mayankdubey892 3 роки тому

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

  • @ReflectingMe2024
    @ReflectingMe2024 6 років тому

    Hi - new to Raspberry and really enjoying your videos, thanks for posting them. So, i am attempting to run the Python file with this tutorial and am constantly getting the following error; Traceback (most recent call last); File "ledtoggle.py", line 3, in from tkinter import * ----- any ideas how I resolve this please? I have a Pi3, new. Many thanks.

  • @alexwright6038
    @alexwright6038 4 роки тому

    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

  • @AndreaHasenhöhle
    @AndreaHasenhöhle 4 роки тому +1

    Thank you

  • @acorgiwithacrown467
    @acorgiwithacrown467 7 років тому

    Very interesting.

  • @king_kunta095
    @king_kunta095 5 років тому

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

  • @dgb5820
    @dgb5820 4 роки тому

    What are you doing working for core, your too good

  • @Hellhamster
    @Hellhamster 5 років тому

    Only part missing is how to connect that white block thing

  • @thesonie
    @thesonie 3 роки тому

    you are me new #GURU thank you

  • @gregpetryk1696
    @gregpetryk1696 2 роки тому

    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.

  • @mr.es1857
    @mr.es1857 6 років тому

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

  • @SoumilShah
    @SoumilShah 5 років тому

    Tkinter is old fashion guys check out PyQt5

    • @waqashassan4346
      @waqashassan4346 5 років тому

      Hi budy can you please tell me about the best GUI designer where is just need to drag and drop item which need... I need to operate HDMI LCD with raspberry pi

    • @SoumilShah
      @SoumilShah 5 років тому

      Waqas Hassan sure thanks for writing to me
      In industry PyQt5 is used and also kivy
      You can also find videos on my channel
      Regards
      Shah

    • @waqashassan4346
      @waqashassan4346 5 років тому

      do you have a solution that how to fix the error of if __name__ == " __main__"..... after RUNit shows unexpected indend... i have qt5 qt desingner and i work om Eric IDLE

    • @SoumilShah
      @SoumilShah 5 років тому

      Waqas Hassan check your indentation
      That what your error says

  • @essidmohamed8421
    @essidmohamed8421 4 роки тому

    nice
    keep up

  • @carrollforbes7
    @carrollforbes7 7 років тому

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

    • @rossmason1947
      @rossmason1947 7 років тому

      yes, so do I. Anyone find the error?

    • @attitudefever1
      @attitudefever1 7 років тому

      not sure but maybe try putting a space between row and column parameters, like this ledButton.grid(row=0, column=1)

    • @Ashimiim
      @Ashimiim 7 років тому

      carrollforbes7 can you tell me which type of error it is?

  • @Gonelastvirus
    @Gonelastvirus 5 років тому

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

  • @kratosbtw9078
    @kratosbtw9078 3 роки тому

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

  • @hellomuggle3029
    @hellomuggle3029 6 років тому

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

  • @jyotikhandagale6769
    @jyotikhandagale6769 7 років тому

    i am getting proplem while controlling led using GUi
    plz help

  • @hghmnds
    @hghmnds 5 років тому

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

  • @adaloveless3904
    @adaloveless3904 6 років тому

    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!

    • @thecreatorofpc7929
      @thecreatorofpc7929 5 років тому

      No type of programming language code can shut you up!
      If people want to use Python then let them use Python, I’m 99% sure they don’t need you basically just saying “if you use Python your job will be hell”.
      Im not about to start a flamewar, you just had gotten on my nerves and i felt the need to type this.