Kivy, the Raspberry Pi Touch Display, and GPIO

  Рет қаралды 251,871

Matt Richardson

Matt Richardson

8 жыл бұрын

Instructions and code are here: github.com/mrichardson23/rpi-...
Subscribe here: kzfaq.info_c...
Visit my site: mattrichardson.com/

Пікірлер: 67
@danilopallamindealmeida3236
@danilopallamindealmeida3236 8 жыл бұрын
Hi, I just wanted to thank you for the tutorial on installing kivy on the rpi, and also for the app code. Both have been essential for a project I am doing. Congrats for being awesome
@Grensom
@Grensom 5 жыл бұрын
This is exactly what I was looking for
@gburkett05
@gburkett05 8 жыл бұрын
Matt, you're back! We missed you!
@MattRichardson
@MattRichardson 8 жыл бұрын
+gburkett05 Thanks! Glad to be back, I hope I can get more videos out!
@zhouxiang2009
@zhouxiang2009 7 жыл бұрын
Hi Matt, Thank you for doing this video! Your keyboard with the touch pad looks working perfectly fine the the Pi , Can I ask what kind of keyboard that you are using? thanks! Erik
@yapandasoftware
@yapandasoftware 5 жыл бұрын
I've been looking up and down for this video. Thank you so much. I've been trying to do this with TKInter and so far it hasn't worked out for me. Again.. thanks!
@christophecastella9168
@christophecastella9168 6 жыл бұрын
Awesome ! Thank you for your help !!!
@beladn710
@beladn710 3 жыл бұрын
Hi Matt, thanks for the demo, it's very interesting, I am planning to build a real pinball machine not a virtual one, and I was wondering if I could use Kivy to make the animations that will appear in the screen of an Android phone. and at the same time driving all the hardware with the GPIO interface, do you think that is possible?
@rommelvillon6811
@rommelvillon6811 8 жыл бұрын
Matt, Do you have a similar video or sample using C instead of phyton?
@zhouyu9971
@zhouyu9971 Жыл бұрын
This is so good.
@captainbrock4819
@captainbrock4819 7 жыл бұрын
Hi matt, maybe you know how i can adjust the driver to allow for drag and drop.
@all_z_bricks
@all_z_bricks 8 жыл бұрын
Is it possible to control the buttons (LED and BEEP! in your example) and the slider from something other than the screen the Pi is connected to? For example, an Android phone/tablet or webpage? That way you could control the Pi away from home. Thanks!
@unknownidentity4398
@unknownidentity4398 7 жыл бұрын
Question: What is the name,size and price of the display device?
@drankenkorps
@drankenkorps 4 жыл бұрын
Have you ever seen system like 3d house.. Where it trigger something it take you there(flashes) or pop up system.... Like moving in rooms and observe different logging or do some action?
@SahilGupta-zf1nd
@SahilGupta-zf1nd 6 жыл бұрын
Hello, matt. How we close this application. and aslo provide a tutorial on kivy
@duncandoit
@duncandoit 5 жыл бұрын
Thank you!
@abubakarhamisushira7409
@abubakarhamisushira7409 5 жыл бұрын
Pls sir can you a video for the hardware setup?
@johnvishwas9117
@johnvishwas9117 Жыл бұрын
Hey Matt, is there a way to reverse this process? Like have the touchscreen take input from the buttons? Like a more complex to and fro
@waqashassan4346
@waqashassan4346 5 жыл бұрын
do you have a complete tutorial that how you make this GUI, if yes than please share link in comment
@briwicklab
@briwicklab 6 жыл бұрын
damn kivy why is it so cool
@DarrenLandrum
@DarrenLandrum 8 жыл бұрын
Glad to see you back! I need to get my rear in gear now. :) I'm definitely liking this display. I'm working out an idea for a Korg Wavedrum-like device that will center around the Pi, the Cirrus hat, and some piezo contact mics and possibly other sensors, using Pure Data for the DSP. I can definitely see this display being a nice way to manipulate pre-built PD patches. I just joined up on the Element14 site to try to get an idea of what I'm up against in terms of getting the Cirrus board working with a real-time kernel. I want to use the new RPi 2 B, mainly due to its available processing power and memory, all useful things for music DSP.
@MattRichardson
@MattRichardson 8 жыл бұрын
+Darren Landrum Great to hear from you again! Love the idea to use the screen for manipulating PD patches!
@DarrenLandrum
@DarrenLandrum 8 жыл бұрын
Thanks! I'm now back to having too many projects. :)
@SantaDragon
@SantaDragon 6 жыл бұрын
Hi there, this .py file mean it is programmed in Python, right?
@marnonel4620
@marnonel4620 4 жыл бұрын
Hi I have a Raspberry Pi 4 with Raspbian Buster running on it but the installation steps that you provided on Gitgub for kivy does not work. Any help please ?
@aravindperiketi7540
@aravindperiketi7540 6 жыл бұрын
hi sir i am aravind .p i am new to raspberry pi... whatever your are done that is with python.but i want run by using c language .how to do you have any example code are there for touch screen . and one more thing . How you implemented graphical interface like input ,led . any tool is there for this . please help me
@trusssrod
@trusssrod 4 жыл бұрын
Why are my buttons stretched off the screen height wise? I can't even see the handle on the slider. I'm running Kivy 1.11.0 and latest raspbien. I copied the code into Thorny. Please help
@tejasarlimatti8420
@tejasarlimatti8420 6 жыл бұрын
thanks
@BurezFolfaus
@BurezFolfaus 8 жыл бұрын
Does anyone else see the home automation possibilities with this? Even the main server could just be a pi. That touch screen would make an awesome wall mounted control panel.
@zetechguy
@zetechguy 8 жыл бұрын
+BurezFolf yup I thought of that.it would be really cool to see
@MattRichardson
@MattRichardson 8 жыл бұрын
+BurezFolf Yes, I can totally see people mounting this display in their walls to do all kinds of home control.
@PeterScargill
@PeterScargill 8 жыл бұрын
+BurezFolf I can of course see the possibilities - but value for money wise it is just all out of proportion - by the time you get the PI and the screen etc, you could have just bought a cheap tablet and programmed the lot into there - and not had to make a case either. This happens so often and people get so enthusiastic - they lose the plot... The Pi itself seems great - £25 they claimed originally - by the time you buy it - and a power supply, and a case, and FLASH and a WIFI dongle - and a screen - what are we looking at?? £100+ You can get a very nice little tablet and program it up for less than that and it is fully battery-backed-up and probably has way more memory. Personally I'd be more interested in a screen at maybe £20 - they are around.
@BenRousch
@BenRousch 8 жыл бұрын
+Peter Scargill Just for the record, Kivy - the GUI framework used in the demo - will run on RaspberryPi and Android/iOS (and Windows, OSX, and Linux).
@MrCameronMoore
@MrCameronMoore 8 жыл бұрын
+Peter Scargill You're right about the tablet, but and there's always a but, if I want all the IO that the Pi has then a tablet won't help. This screen is really just another option. Hmmm, could use the tablet for remote access to the Pi.
@brynnrogers5081
@brynnrogers5081 Жыл бұрын
Can you do the same demo with a PI 4?
@ThebestChristianssongs2023
@ThebestChristianssongs2023 4 жыл бұрын
Hi Matt, Help me please, You have a step by step? I don't understand English very well.
@yxhankun
@yxhankun 4 жыл бұрын
Can these four function under C++ environment? Thanks N please.
@nimitchaithamna6926
@nimitchaithamna6926 5 жыл бұрын
How to buid solfware raspberry pi with touch screen thx.
@wktodd
@wktodd 6 жыл бұрын
hi , does kivy run without the raspbien gui (desktop)?
@tah3460
@tah3460 6 жыл бұрын
Kivy runs on pretty much anything. It's an independent library, not related to Raspberry at all. But is a cross-platform (code once, deploy to anything) that also deploys to Raspberry.
@haythemjelassi4766
@haythemjelassi4766 5 ай бұрын
Is this design made by QT framework ?
@BenRousch
@BenRousch 8 жыл бұрын
Did you use a typical RPi OS install, or did you use KivyPie?
@MattRichardson
@MattRichardson 8 жыл бұрын
+Ben Rousch Just the typical Raspbian. Full info linked in the video description if you'd like to try yourself.
@jean0michel
@jean0michel 5 жыл бұрын
Display size ?
@JeremyMitts
@JeremyMitts 8 жыл бұрын
post link to your favorite pi touch screen retailer?
@MattRichardson
@MattRichardson 8 жыл бұрын
+Jeremy Mitts if you can't get it from the Raspberry Pi Swag store, try MCM if you're in the US: www.mcmelectronics.com/product/83-16872?.0czCl7fSQamjILoiAH9mgA.0
@petegeorgopoulos1088
@petegeorgopoulos1088 5 жыл бұрын
"im gonna launch the demo that i MADE" lol. you're funny.
@karl11154
@karl11154 5 жыл бұрын
I keep on getting Segmentation fault . Any ideas ?? I cant find a solution to this problem
@karl11154
@karl11154 5 жыл бұрын
I found the solution... apparently I had kept the opengl graphics driver off in sudo-raspi config
@geooot
@geooot 7 жыл бұрын
Can you run this even without a desktop gui?
@felipeeduardobravosilva6980
@felipeeduardobravosilva6980 6 жыл бұрын
i think it IS running without one, since he is not executing startx and started the py from console
@calceos6498
@calceos6498 8 жыл бұрын
Hi. Great video - thanks! Am following through the instructions on your web page - kivy installed, touch works, kivy examples all work, all seems good. Display is great! However to run your touch.py I need "sudo python main.py" to get to the GPIO, but when I do that I get > ....I have the problem with "sudo python anyfile,py" (even not trying GPIO) in that kivy is not importable when running python under sudo :( Any idea on the cause/how to fix?
@calceos6498
@calceos6498 8 жыл бұрын
+Martin Millener ....I have the problem with "sudo python anyfile.py" .. to be more correct!
@calceos6498
@calceos6498 8 жыл бұрын
Got it! Problem was "pi" user PYTHONPATH environment variable was not available to sudo. I'm a *nix beginner, but this sorted it for me: "sudo PYTHONPATH=$PYTHONPATH python touch.py" Onwards and upwards...look forward to more pi/touchscreen/kivy videos!
@eric19740521
@eric19740521 7 жыл бұрын
很簡單的應用
@electronicsandradio3945
@electronicsandradio3945 5 жыл бұрын
Here's a thought.. Buy the very latest Raspberry pi 3B+ because.. well newer and more powerful is better, yes ? ... and you discover that Windows doesn't support IOT Hub on that hardware. Then you install the latest version of Raspian .. because that's better, yes ? Then you discover that Kivy doesn't work properly either. Look up 'Segmentation fault in Raspberry 3B+'. So far a day spent trying to get Kivy running on my new rpi 3B+ and just keep running into problems. As much as a great resource this is .. don't expect it to be without problems.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 596 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 53 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 117 МЛН
Fullscreen Raspberry Pi GUI (HMI) Using PySimpleGUI
12:40
BaldGuyDIY
Рет қаралды 44 М.
My Portable Raspberry PI Setup - 7" touch screenyboi
9:07
Raid Owl
Рет қаралды 15 М.
Official Raspberry Pi 3 7" Touchscreen Display - Is it Any Good?
8:13
GUIDE: BUILD A RASPBERRY PI3 WITH TOUCHSCREEN FOR CAR DASHBOARD
11:23
BEAVIS Motorsport
Рет қаралды 749 М.
Raspberry Pi carpc [MAKER'S REPORT]
21:14
Pacman's Revenge
Рет қаралды 882 М.
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,8 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 350 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,2 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,6 МЛН