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!!
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!
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!
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?
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?
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?
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?
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.
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.
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
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.
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
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
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!
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.
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!!
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!
Sounds like a great project, let us know how it turns out!
Best pi tutorial I've seen! Great job.
Dude very well done I now will start following your videos they are fantastic. Direct and to the point.
This is the best thing I watched today
How come you don't have that many subscribers? You tutorials are pretty good
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!
please stay around, nice video
Thank you man, Got a great inspiration to read about Raspberry pi Further. Thanks a lot.
Great video - well narrated and easy to follow - thanks.
Great tutorial. Clear and easy to follow!
Nice and Simple, job well done, no mess no fuss!
Great video. Very helpful. Thanks
Nice tutorial, helped my greatly
This prompts a question. Can this be incorporated into a browser or an app for a cell phone?
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??
Ben fatto, molto utile per principianti. Grazie! Thanks!
Great content! very useful...thanks.
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?
Great tutorial, thanks
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?
Super clip and information provided,
my question is....
did you stick the rasbbery with chewing gum? On the table?
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?
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?
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.
Thanks for this Amazing hints................😇
great video!!!
Thanks!! Do you have a video showing how to make the gui accessible from a web browser?
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
How can interface Raspberry pi with PLC and display status of HMI on Monitor through raspberry HDMI?
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.
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
Thank you
Very interesting.
can i use this with gpio.setmode(GPIO.BOARD) instead?
What are you doing working for core, your too good
Only part missing is how to connect that white block thing
you are me new #GURU thank you
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.
Somebody knows what is the difference betwenn using Python3 and Thonny ? because in thonny it does't work but in python 3 it does!
Tkinter is old fashion guys check out PyQt5
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
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
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
Waqas Hassan check your indentation
That what your error says
nice
keep up
Iget an invalid syntax error on ledButton.grid(row =0,column=1)
yes, so do I. Anyone find the error?
not sure but maybe try putting a space between row and column parameters, like this ledButton.grid(row=0, column=1)
carrollforbes7 can you tell me which type of error it is?
please can you show this with c or c++ language
cool, it did not work for me
anyways, all the other projects worked, so thanks sir for that 😀
I should pay more attention to his explanation but his voice and face.... ah I can't ignore that
i am getting proplem while controlling led using GUi
plz help
Skills aside, you seem to forgrt to turn off "beauty mode"
what is that?
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!
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.