raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD

raspberry pi

raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD
I'm a big fan of the SunFounder tech kits ( https://www.sunfounder.com), and my kids and I have built several Raspberry Pi projects with their module/sensor kits. This holiday vacation we have two project we're doing, that coincidentally use SunFounder parts. The first is the Model Car Kit that uses a Raspberry Pi to control DC motors AND (love this part) a USB camera. So it's not just a "drive the car around" project, it also can include computer vision. My son wants to teach it to search the house for LEGO bricks and alert an adult so they'll not step on it. We were thinking to have the car call out to Azure Cognitive Services, as their free tier has more than enough power for what we need.
我是 SunFounder技术套件( https://www.sunfounder.com ) 忠实拥护者,我的孩子和我已经 用他们的模块/传感器套件构建了几个Raspberry Pi项目。 这个假期,我们有两个项目正在做,同时使用了SunFounder部分。 第一个是使用Raspberry Pi控制直流电机和USB摄像头(喜欢这部分)的 模型车套件。 因此,这不仅仅是一个“开车兜风”项目,还可以包括计算机视觉。 我儿子想教它在屋子里搜寻积木,并提醒成年人,以免他们踩到它。 我们正在考虑将汽车召集到 Azure认知服务,因为它们的免费层具有足够的功能来满足我们的需求。

For this afternoon, we are taking a 10.1" Touchscreen display and adding it to a Raspberry Pi. I like this screen because it works on pretty much anything that has HDMI, but it's got mounting holes on the back for any Raspberry Pi or a LattePanda or Beagle Bone. You can also use it for basically anything that can output HDMI, so it can be a small portable monitor/display for Android or iOS. It has 10 finger multitouch which is fab. The instructions aren't linked to from their product page, but I found them on their Wiki.

今天下午,我们将使用10.1英寸触摸屏显示器,并将其添加到Raspberry Pi中。我喜欢这个屏幕,因为它几乎可以在任何具有HDMI的设备上使用,但是在任何Raspberry Pi或LattePanda的背面都有安装Kong或Beagle Bone 。您基本上也可以将其用于任何可输出HDMI的东西,因此它可以是适用于Android或iOS的小型便携式监视器/显示器。它具有10指多点触控技术,可在工厂使用。产品页面,但我在其Wiki上找到了它们

There are a lot of small LCDs you can get for a Pi project, from little 5" screens (for about $35) all the way up to this 10" one I'm using here. If you're going to mount your project on a wall or 3D print a box, a screen adds a lot. It's also a good way to teach kids about embedded systems. When my 10 year old saw the 5" screen and what it could do, he realized that the thermostat on the wall and/or the microwave ovens were embedded systems. Now he assumes every appliance is powered by a Raspberry Pi!

您可以为Pi项目获得许多小型LCD,从小的5英寸屏幕(约合35美元)一直到我在这里使用的10英寸屏幕。 如果要将项目安装在墙上或3D打印框,则屏幕会增加很多。 这也是教孩子们有关嵌入式系统的好方法。 当我10岁的孩子看到5英寸的屏幕以及它可以做什么时,他意识到墙壁和/或微波炉上的恒温器是嵌入式系统。现在,他假定每台设备都由Raspberry Pi供电!

raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD
raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD

Take a look at the pic at the top right of this post. That's not a Raspberry Pi, that's

看看这篇文章右上角的图片。 那不是Raspberry Pi,那是

the included controller board that interfaces with your tiny computer. It's include with the LCD package. That controller board also has an included power adapter that points out 12V at 1500Ma which allows it to also power the Pi itself. That means you can power the whole thing with a single power adapter.

与小型计算机对接的随附控制器板。 它包含在LCD包装中。 该控制器板还包含一个随附的电源适配器,该适配器可在1500Ma时指出12V电压,从而使其也可以为Pi本身供电。 这意味着您可以使用单个电源适配器为整个设备供电。

There's also an optional touchscreen "matchbox" keyboard package you can install to get an on-screen visual keyboard. However, when I'm initially setting up a Raspberry Pi or I'm taking a few Pis on the road for demos and working in hotels, I through this little $11 keyboard/mouse combo in my bag. It's great for quick initial setup of a Raspberry Pi that isn't yet on the network.

您还可以安装一个可选的触摸屏“火柴盒”键盘包,以获取屏幕可视键盘。 但是,当我最初设置Raspberry Pi或在旅途中带一些Pis进行演示和在酒店工作时,我会通过装在袋子中的这款11美元键盘/鼠标组合小工具。 这对于尚未在网络上进行的Raspberry Pi的快速初始设置非常有用。

raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD

Once you've installed matchbox-keyboard you'll find it under MainMenu, Accessories, Keyboard. Works great!

安装火柴盒键盘后,您将在MainMenu,Accessories,Keyboard下找到它。 很棒!

* This post includes some referral links to Amazon.com. When you use these links, you not only support my blog, but you send a few cents/dollars my way that I use to pay for hosting and buy more gadgets like these! Thanks! Also, I have no relationship with SunFounder but I really like their stuff. Check out their site.

*这篇文章包括一些Amazon.com的引荐链接。 使用这些链接时,不仅支持我的博客,而且还以我用来支付托管和购买更多此类小工具的方式向您发送几美分! 谢谢! 另外,我与SunFounder没有关系,但我真的很喜欢他们的东西。 查看他们的网站



Sponsor: Scale your Python for big data & big science with Intel® Distribution for Python. Near-native code speed. Use with NumPy, SciPy & scikit-learn. Get it Today!

赞助商:借助适用于Python的英特尔®发行版,将Python扩展到大数据和大科学领域。 接近本机的代码速度。 与NumPy,SciPy和scikit-learn一起使用。 立即获取

关于斯科特 (About Scott)

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

斯科特·汉塞尔曼(Scott Hanselman)是前教授,前金融首席架构师,现在是演讲者,顾问,父亲,糖尿病患者和Microsoft员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。

raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD
raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD
raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD
About   关于 Newsletter 时事通讯
Hosting By 主持人
raspberry pi_如何为Raspberry Pi设置10英寸触摸屏LCD

翻译自: https://www.hanselman.com/blog/how-to-set-up-a-10-touchscreen-lcd-for-raspberry-pi

raspberry pi

相关文章: