未加星标

Off-The-Shelf Hacker: Run a LCD Display with a Raspberry Pi

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二05 | 时间 2018 | 作者 红领巾 ] 0人收藏点击收藏

A good resolution LCD display makes a world of difference for Dr. Torq-style, on-the-go development . I work on physical computing projects in conference speaker lounges, my home office, down at my Dad’s house and off-sites, like Panera Bread. Even my desktop 19-inch LG monitor is simply too big to haul around when building out my gadgets. The LG also needs to be plugged into a wall outlet.


Off-The-Shelf Hacker: Run a LCD Display with a Raspberry Pi

The 10-inch, battery-powered LCD monitor, which I’ll fashion into a rugged steampunk themed mobile monitor, is just what I need for my physical computing in-the-field (sometimes literally) development work.

Unboxing the Display

The bare LCD display arrived from China in a cardboard box, between two slabs of closed-cell foam. The box also contained the matching driver board, a small display control board, a control board cable and a cable to hook the display to the driver board. The display cable has very fine wires and the connectors are pretty fragile so care should be used when handling.

I had to laugh. Instructions? We don’t need no stinkin’ instructions. Actually, there wasn’t any documentation enclosed at all. Oh, well. Off-the-shelf hackers are the ones who end up writing the directions anyway. It only took a moment to plug in all the cables.

The display driver board was hooked up toHedley‘s Raspberry Pi 3, by a 25-foot HDMI cable. I ordered this one and a little 18-inch cable, at the same time as the display. The long cable takes care of placing Hedley some distance from a projector, while the short cable will work for close-up demos, like when the display is right next to him.

The driver board can also handle VGA and composite video inputs. This will be convenient if I want to resurrect old “antique” PC boards for projects or view video feeds from hardwired video cameras.

One thing about ordering parts from China, at least to the U.S., is that you never know exactly when they will be delivered. I expect everything usually within two to four weeks.

Powering the Display

There are two ways to power the LCD panel, either the 15,000 Li-ion battery or a wall wart.

The 15,000 mAh Li-ion battery came with a 12.6-volt wall-wart. Unfortunately, Banggood shipped the European model with two round prongs instead of the dual-blade style used in the US. I’ll probably find a European-to-US adapter or hack in a standard US power plug at some point. An adapter might be easiest since I’d love to take Hedley on a European tech conference tour. I covered the challenges of powering Stackie the PancakeBot in Europe, in apast article. RunningHedley, my robotic talking skull, and his little display presents a similar situation.

On the good side, I had a spare 12-volt wall-wart with the correct power connector that seems to charge the battery. It’s a large battery and probably takes about 20 hours to fully charge. The battery plugs right into the power port on the LCD driver board. A green LED lights up when the board is connected to power.

The 12-volt wall-wart, by itself also worked fine for powering the display.

How’s the Desktop?

I’m happy to report that the screen is bright and clear. The 1280×800 resolution is awesome and worked right out of the box. Alower resolution would have you scrolling left and right to see the whole screen. A higher resolution and you’d need a magnifying glass to read small text.

The main reason I wanted a small portable display for Hedley is to give a first-person view of what he sees through his JeVois smart sensor . A battery powered display would have really helped at our after-hours pub demo in Portland. I hadn’t tweaked the settings well enough for Hedley to track me in the low light environment. The display would have allowed me to optimize the guvcview settings during the demo.

Check out Hedley’s “skull top” display. Looks like any other desktop, which of course, it is.


Off-The-Shelf Hacker: Run a LCD Display with a Raspberry Pi

Hedley The Skull’s “skull top” display

The display will be handy for showing small audiences of one to three people how Hedley reacts to the different artificial intelligence algorithms, in the JeVois sensor. Each algorithm is keyed to a specific camera resolution that is selected in your chosen video viewing application. guvcview has a popup window for selecting the resolution and thus the JeVois algorithm, right there on the desktop. I typically run luvcview with the selected resolution spelled out in the command line. Regardless of the viewer program, it is easy and fast to tweak settings on a regular-sized desktop interface.

What’s Next?

Next week Hedley and I will be presenting at the Embedded Systems Conference in Minneapolis . We are always happy to talk to readers so if you are at the conference, be sure to stop by and say hello.

When I get back, building a ruggedized, portable steampunk enclosure for the LCD display will be a top priority. I also have three Node-MCU ESP8266 boards sitting on my desk, waiting to be installed in some new projects.

Check out Dr. Torq’s Off-The-Shelf Hacker column each Wednesday, only on The New Stack.

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

代码区博客精选文章
分页:12
转载请注明
本文标题:Off-The-Shelf Hacker: Run a LCD Display with a Raspberry Pi
本站链接:https://www.codesec.net/view/610891.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(98)