【Hacker News搬运】DDC-OLED(2022)
-
Title: DDC OLED (2022)
DDC-OLED(2022)
Text:
Url: https://mitxela.com/projects/ddc-oled
这个项目是关于如何将一个OLED点阵显示屏直接插入到HDMI端口。作者通过切断一个废弃的HDMI线,并连接上OLED显示器的I2C控制器和电源,成功实现了这一想法。整个项目涉及硬件焊接、I2C通信、Linux系统编程等多个方面。 作者首先通过阅读HDMI线上的DDC(显示数据通道)信号,使OLED显示器能够与电脑通信。然后,他编写了一个Python脚本,使用smbus库与OLED进行通信,成功显示了文本和图像。为了提高显示效率,作者还使用了一些技巧,如直接从Python访问I2C设备,以及使用Python的PIL库将图像转换为适合OLED显示的格式。 此外,作者还尝试了将OLED显示器作为一个虚拟监视器添加到电脑系统中,以便它可以显示电脑桌面的实时图像。他使用了xrandr工具来创建一个虚拟监视器,并使用Python-xlib库来捕获整个桌面(包括鼠标光标)的图像,然后将其发送到OLED显示器。 总的来说,这是一个非常有趣且具有创新性的项目,展示了如何通过一些简单的硬件和编程技巧,将一个小的OLED显示器变成一个实用的电脑外设。
Post by: fanf2
Comments:
dang: Discussed at the time:<p><i>The smallest and worst HDMI display</i> - <a href="https://news.ycombinator.com/item?id=30869140">https://news.ycombinator.com/item?id=30869140</a> - March 2022 (162 comments)
dang: 当时讨论过:<p><i>最小和最差的HDMI显示器</i>-<a href=“https://;/;news.ycombinator.com/?id=30869140”>https:///;news.ycombinator.com/;项目id=30869140</a>-2022年3月(162条评论)
sgroppino: Nice one
reminds me of my little project back in 2020 with a raspberry pi and a similar type of display... <a href="https://news.ycombinator.com/item?id=25566132">https://news.ycombinator.com/item?id=25566132</a>
sgroppino: 不错的一个:D让我想起了2020年我的小项目,有一个树莓派和一个类似类型的显示器<a href=“https://;/;news.ycombinator.com/?项目?id=25566132”>https:///;news.ycombinator.com/;项目id=25566132</a>
amelius: Here's a video about making an OLED device from scratch, and all the physics involved:<p><a href="https://www.youtube.com/watch?v=qg8pMUd-tSk" rel="nofollow">https://www.youtube.com/watch?v=qg8pMUd-tSk</a>
amelius: 这里;这是一个关于从头开始制作OLED设备的视频,以及所有涉及的物理内容:<p><a href=“https://;/;www.youtube.com/!watch?v=qg8pMUd tSk”rel=“nofollow”>https:///;www.youtube.com/;看v=qg8pMUd tSk</a>
Liftyee: Fun little project, wonder if DDC could be used as a way to control devices like HDMI capture cards or KVM switches? Honestly surprised that bare i2c interface is exposed to the OS and not hidden by some firmware...
Liftyee: 有趣的小项目,想知道DDC是否可以用作控制HDMI捕获卡或KVM交换机等设备的一种方式?老实说,令人惊讶的是,裸露的i2c接口暴露在操作系统中,而没有被某些固件隐藏。。。