Kudos
Collect
Twiiter
Facebook
Share
Develop somethings, meditation, reading and thinking...

KeDei 3.5” HDMI display for Raspberry Pi

Last updated over 3 years ago
1 0 0 0

네트워크 설정용으로 미니 디스플레이를 구입했는데, 연결하면 글자가 너무 작게 나와(810x540) 화면 설정을 변경해보았다.

4K660Mc5AO.png
KeDei 3.5” HDMI display

config.txt setting


hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 720 480 60 6 0 0 0
hdmi_drive=2

이렇게 설정을 하고 재부팅을 하면 화면에 몇번 깜박이다가 표시된다. 480x320, 720x480, 810x540 이 설정 가능한데, 글자의 가독성을 고려하면 720x480 이 가장 적당한듯 하다.

1eJ52RLeTG.jpg
글자를 읽을 수 있는 수준으로 표시된다

단, 이렇게 설정하면 일반 모니터에서는 화면이 표시되지 않으니 KeDei 3.5” HDMI display 가 없으면 설정을 되돌리기 힘들다. (직접 SD 카드의 /boot/config.txt 파일의 내용을 편집해도 된다.)

이제 이 모니터만 있으면 어디서든 Wifi 설정을 해서 라즈베리파이에 SSH 로 접속을 할 수 있게 되었다.

커맨드라인으로 Wifi 설정 하기

Full Setting

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
hdmi_group=2
hdmi_mode=87

# custom display resolution (480x320 looks good , and 720x480 is not too bad too, 3rd res is: 810x540 )
#         /----------------- Width: 480px ( or 720px /or 810px)
#         |   /------------- Height: 320px ( or 480px /or 540px)
#         |   |   /--------- Refresh: 60Hz
#         |   |   | /------- Aspect ratio: 6=15:9 (1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10)
#         |   |   | | /----- Margins: 0=disabled (1=enabled)
#         |   |   | | | /--- Interlace: 0=progressive (1=interlaced)
#         |   |   | | | | /- Reduced blanking: 0=normal (1=reduced)
#         |   |   | | | | |
hdmi_cvt 720 480 60 6 0 0 0

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
hdmi_drive=2

Setting from saper_2 on raspberrypi.org

References

https://www.raspberrypi.org/forums/viewtopic.php?t=175616
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
https://www.raspberrypi.org/documentation/configuration/hdmi-config.md
http://osoyoo.com/2016/09/13/install-raspberry-pi-3-5-touch-screen-driver-for-raspbian-jessie/
http://osoyoo.com/2016/05/26/osoyoo-lcd-touch-screen-for-raspberry-pi-installation-guide/

Hi, my name is Richard. I’m a developer wants to make the world better with logic power. Mainly I use Linux, Nginx, MySQL, PHP and JavaScript . I want to share my knowledge with someone that it was also based from some great persons via LYNMP. 👨‍💻

Related Articles
Essedrop - Make your file online instantly
 

Responses

Leave a response to @richard

Please sign in to comment.
Markdown is also available in comment.