samples/drivers/misc/grove_display/README.html · samples/drivers/misc/grove_display/README.rst 공식 원문 ↗

Zephyr 3.7.0 · Samples · Drivers · Display

Grove LCD

SCL/SDA 3.3V pull-up과 LCD VDD 5V 조건을 구분합니다.

Official pathsamples/drivers/misc/grove_display/README.html
Source filesamples/drivers/misc/grove_display/README.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

Shield 배선, 10kΩ resistor 두 개와 FRDM K64F build를 보존합니다.

Signal

SCL · SDA 3.3V

VDD

5V

Pull-up

2 × 10kΩ

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 C46AB3AAE3B24FB75A0822D80E520F28C87E6010493D6F7CAB1184DEBBB4E916
.. zephyr:code-sample:: grove-lcd
   :name: Grove LCD
   :relevant-api: grove_display

   Display an incrementing counter and change the backlight color.

Overview
********

This sample displays an incrementing counter through the Grove LCD, with
changing backlight.

Requirements
************

To use this sample, the following hardware is required:

* A board with ADC support
* `Grove LCD module`_
* `Grove Base Shield`_ [Optional]

Wiring
******

You will need to connect the Grove LCD via the Grove shield onto a board that
supports Arduino shields.

On some boards you will need to use 2 pull-up resistors (10k Ohm) between the
SCL/SDA lines and 3.3V.

Take note that even though SDA and SCL are connected to a 3.3V power source, the
Grove LCD VDD line needs to be connected to the 5V power line, otherwise
characters will not be displayed on the LCD (3.3V is enough to power just the
backlight).


Building and Running
********************

This sample should work on any board that has I2C enabled and has an Arduino
shield interface. For example, it can be run on the FRDM K64F board as
described below:

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/misc/grove_display
   :board: frdm_k64f
   :goals: flash
   :compact:

.. _Grove Base Shield: https://wiki.seeedstudio.com/Base_Shield_V2/
.. _Grove LCD module: http://wiki.seeed.cc/Grove-LCD_RGB_Backlight/

Part 3

한국어 전문 번역

개요

이 sample은 backlight 색상을 바꾸면서 Grove LCD에 증가하는 counter를 표시합니다.

요구 사항

이 sample에는 다음 hardware가 필요합니다.

배선

Grove shield를 통해 Grove LCD를 Arduino shield를 지원하는 board에 연결해야 합니다.

일부 board에서는 SCL/SDA line과 3.3V 사이에 10kΩ pull-up resistor 두 개를 사용해야 합니다.

SDA와 SCL을 3.3V 전원에 연결하더라도 Grove LCD의 VDD line은 5V power line에 연결해야 합니다. 그렇지 않으면 LCD에 문자가 표시되지 않습니다. 3.3V는 backlight에만 전원을 공급하기에는 충분합니다.

Build와 실행

I2C가 활성화되어 있고 Arduino shield interface가 있는 모든 board에서 이 sample이 동작해야 합니다. 예를 들어 다음과 같이 FRDM K64F에서 실행할 수 있습니다.

west build -b frdm_k64f samples/drivers/misc/grove_display
west flash

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.