RoboMaster Development Board Type A, Development Board Type B User Manual

Page 1
RoboMaster
Development Board OLED
OLED
开发板
開発ボード
使用说明
ユーザーガイド
V1.0
2018.04
OLED
Page 2
Page 3
Disclaimer
Thank you for purchasing the ROBOMASTERTM Development Board OLED (hereinafter referred to as the "Board OLED"). Read this disclaimer carefully before using this product. By using this product, you hereby agree to this disclaimer and signify that you have read it fully. Install and use this product in strict accordance with the User Guide. SZ DJI TECHNOLOGY CO., LTD. and its affiliated companies assume no liability for damage(s) or injuries incurred directly or indirectly from using, installing or modifying this product improperly, including but not limited to using non-designated accessories.
DJI™ and ROBOMASTER are trademarks of SZ DJI TECHNOLOGY CO., LTD. (abbreviated as “DJI”) and its affiliated companies. Names of products, brands, etc., appearing in this document are trademarks or registered trademarks of their respective owner companies. This product and document are copyrighted by DJI with all rights reserved. No part of this product or document shall be reproduced in any form without the prior written consent or authorization of DJI.
The nal interpretation right of this disclaimer is reserved by DJI.
Warning
1. Visit the RoboMaster official website and download the
RoboMaster Development Boards User Manual
Read and understand the whole manual, and then strictly follow the instructions in the manual when using the Board OLED.
2. Connect the cables correctly by following the instructions in the
RoboMaster Development Boards User Manual
otherwise the connectors and the Board OLED may get seriously damaged.
3. Make sure there are no short-circuits and all the cables are in good condition. DO NOT use cables that have been damaged in any way.
before use.
EN
1
Page 4
4. Be sure to use the product in strict accordance with the specifications (including those for voltage, current, and temperature) listed in this document. Failure to do so may reduce the product service life or even lead to permanent
EN
damage.
5. Take measures to protect the Board OLED from static electricity and physical damage.
6. Always keep the Board OLED clean otherwise a short­circuit may occur and the Board OLED's performance may be negatively affected.
7. DO NOT use your hand to touch the chips on the Board OLED as doing so may damage the Board OLED and its performance may be negatively affected due to static electricity.
8. If you detect any ames, smoke, strange smells, or other
abnormality disconnect the Board OLED from the power source immediately.
Introduction
Tailor-made to work with the RoboMaster Development Board Type A and Type B, this Board OLED features a 0.96-inch (244-milimeter) OLED screen with a resolution of 128 × 64, and a 5D button. The screen can be used to display parameters and the button can be very useful during debugging. The Board OLED uses an SH1106G drive chip and the SPI communication protocol.
In the Box
Board OLED × 1 7-Pin Cable × 1
2
Removable 5D
Button × 1
Page 5
Overview
1
2
3
1. 7-Pin Port
From left to right: BUTTON AD, SPI2 MOSI, SPI2-SCK,
OLED-DC, OLEDRST, GND, VCC-3V3.
2. OLED Screen
3. 5D Button Mounting Hole
Insert the provided 5D button into this mounting hole and
then press to secure. After mounting, you can move the 5D button in 5 directions (up, down, right, left, and press down). Refer to the 5D Button section for more information.
Mounting the Board OLED
Refer to the dimensions in the gure below when mounting
the Board OLED.
EN
3
Page 6
37.50 32
EN
40
45.50
Usage
Connect the Board OLED to a RoboMaster Development Board Type A or Type B using the provided 7-pin cable. Go
to http://github.com/RoboMaster to nd sample code.
Scan the QR code or go to https://www.robomaster.com/en-US/ products/components/general/development-board#downloads to download the
Manual
4
RoboMaster Development Boards User
for further information.
3.50
Unit: mm
Page 7
5D Button
The 5D button is connected to the drive chip via a GPIO pin. The button resistance and corresponding pin voltages for each button position are given in the table below.
Motion Resistance (Ω) Voltage (V) 12 Bit
Press Down 0 0 0
Push Left 26.1 0.68 847.78
Push Right 73.2 1.39 7131.10
Push Up 150 1.98 2457.60
Push Down 402 2.64 3280.06
Specications
Rated Voltage 3.3 V
Max Operating Current 10 mA
Communication Protocol SPI
Button 5D Button
Weight 0.32 oz (9 g)
Dimensions (L×W) 1.46 × 1.77 in (37 × 45 mm)
OLED Screen Resolution 128 × 64
OLED Screen Size 0.96 in (244 mm)
Operating Temperature Range 32° to 131° F (0° to 55° C)
Appendix
To download the
Datasheet
products/components/online/developmentboard#downloads.
RoboMaster Development Board OLED
, go to https://www.robomaster.com/en-US/
EN
5
Page 8
EN
MT3
0.0
MT4
0402 1%
VCC_3V3
R5 10K
C7
100nF
25V
0402
R8 0R
0402 5%
R2
0402
0402
0402
33K
1%R40R
5%R610M
1%
3
7
9
A1CEN2C
MT1
MT2
8
10
J3
( 5D Button Circuit Diagram
COM
D
B
6
4
5
R7 100K
0402 1%
R3 309K
0402 1%
)
Button_AD
Button_ADButton_AD
100K
Button_AD
6
Page 9
免责声明
感谢您购买 RoboMasterTM 开发板 OLED(以下简称“OLED”)。 在使用之前,请仔细阅读本声明,一旦使用,即被视为对本声 明全部内容的认可和接受。请严格遵守手册、产品说明和相关 的法律法规、政策、准则安装和使用该产品。在使用产品过程 中,用户承诺对自己的行为及因此而产生的所有后果负责。因 用户不当使用、安装、改装造成的任何损失,DJITM将不承担 法律责任。
DJI RoboMaster 是深圳市大疆 创新科技有限公司及其 关联公司的商标。本文出现的产品名称、品牌等,均为其所属 公司的商标。本产品及手册为大疆创新版权所有。未经许可, 不得以任何形式复制翻印。
关于免责声明的最终解释权,归大疆创新所有。
产品使用注意事项
1. 使用前,请前往 RoboMaster 官网下载《RoboMaster 开发 板用户手册》,仔细阅读里面的注意事项并了解具体使用方 法,然后再使用该产品。
2. 请按照说明书正确连接线材,以免损坏接口以及OLED
3. 使用前请检查线材有无老化、短路。老化或短路的线材不适
合继续使用。
4. 请按照本文规定的工作环境(如电压、电流、温度等参数) 使用,否则将会影响产品寿命或造成永久性损坏。
5. 安装时注意做好保护,防止静电、物理损坏。
6. 请保持OLED 的干净整洁,避免由于异物造成短路或性能
下降。
7. 请不要用手直接接触OLED 上的芯片,避免由于静电放电 造成 OLED 损坏或性能下降。
8. OLED 上电后如发现有火花、冒烟、焦糊味或其它异常,请 立即关掉电源。
CH
7
Page 10
简  介
RoboMaster 开发板 OLED 专为 RoboMaster 开发板 A 型和 RoboMaster 开发板 B 型设计。OLED 带有一个 0.96 英寸,
分辨率为 128 × 64 的 OLED 屏幕以及一个五维按键。OLED 采用 SPI 通讯的方式,其驱动芯片为 SH1106G。屏幕上可显
CH
示参数等信息,方便用户进行参数的配置。
物品清单
开发板 OLED×1 7-Pin 连接线×1 五维按键 ×1
接口及部件说明
1
3
1. 7-Pin 接口,如图所示从左到右线序分别为:
BUTTON ADSPI2 MOSISPI2-SCKOLED-DC
OLED-RSTGNDVCC-3V3
2. OLED 屏幕。
8
2
Page 11
3. 五维按键安装孔:将包装内的五维按键按压至该孔进行固定。 安装后,五维按键支持上、下、左、右及中间五个方向的操 作,查看五维按键说明章节了解详细信息。
安装尺寸
请按照下图 OLED 尺寸将其安装于合适位置。
37.50 32
40
45.50
使用
OLED 自带的 7-Pin 连接线,连接到 RoboMaster 开发板 A 型或者 RoboMaster 开发板 B 型,然后参照示例代码(网
址为:https://github.com/RoboMaster)自行编写对应的程 序,进行使用。请扫描下方二维码或前往官网 https://www.
robomaster.com/zh-CN/products/components/general/ development-board#downloads 下 载《RoboMaster 开发板
用户手册》了解详细操作方法。
3.50
单位:mm
CH
9
Page 12
五维按键说明
五维按键的五个按键共用一个管脚,每个按键对应不同的分压 电阻。采用分压的方式,将五个按键五等分,其参考分压表如 下表所示:
按键方向 阻值 (Ω) 电压 (V) 12Bit
CH
中间 0 0 0
26.1 0.68 847.78 73.2 1.39 1731.10 150 1.98 2457.60 402 2.64 3280.06
特征参数
额定电压 3.3 V 最大工作电流 10 mA OLED 通信接口 SPI 按键 五维键 重量 9 g 尺寸(长宽) 37 × 45 mm 屏幕分辨率 128 × 64 屏幕尺寸 0.96 英寸 工作温度范围 0 ~ 55
附 录
OLED datasheet 请参见官网(网址:https://www. robomaster.com/zh-CN/products/components/online/ development-board#downloads
10
Page 13
R2
0402
0402
0402
1%R40R
5%R610M
1%
3
7
9
MT1
MT3
0.0
CH
33K
A1CEN2C
J3
(五维按键分压图示)
COM
MT2
MT4
D
B
8
10
6
4
5
R7 100K
0402 1%
R3 309K
0402 1%
0402 1%
VCC_3V3
R5 10K
C7
100nF
25V
0402
R8 0R
0402 5%
Button_AD
Button_ADButton_AD
100K
Button_AD
11
Page 14
免責事項
この度は ROBOMASTERTM 開発ボード OLED(以下、「ボー ド OLED」といいます)をお買い上げいただき誠にありがと うございます。本製品のご使用前に、この免責事項をよくお 読みください。本製品を使用すると、この免責事項をすべて 読み、これに同意したものとみなされます。本製品は、ユー ザーガイドに記載されているとおりに取り付けて使用してく
JP
ださい。SZ DJI TECHNOLOGY CO., LTD. とその関連会社は、 本製品が不適切な使用、取り付けまたは改造(指定外のアク セサリーの使用などが含まれます)により、直接または間接 的な原因で生じた物的損害または人的被害についていかなる 責任も負いません。
DJI™ およびROBOMASTER は、SZ DJI TECHNOLOGY CO., LTD.(略して「DJI」)およびその関連会社の商標です。本書
に記載されている製品、ブランドなどの名称は、その所有者 である各社の商標または登録商標です。本製品および本書は、 不許複製・禁無断転載を原則とする DJI の著作物のため、DJI から書面による事前承認または許諾を得ることなく何らかの 形で本製品または文書のいかなる部分も複製することは固く 禁じられています。
本免責事項の最終解釈権限は DJI が有します。
警告
1. ご使用前に、RoboMaster 公式ウェブサイトにアクセスし て『RoboMaster 開発ボード ユーザーマニュアル』をダウ ンロードしてください。ボード OLED を使用する際は、マ ニュアル全体を読んで内容を理解し、マニュアル記載の指 示を厳守してください。
2. 『RoboMaster 開発ボード ユーザーマニュアル』記載の指 示に従ってケーブルを正しく接続してください。そうしな いとコネクターやボード OLED が深刻な損傷を受けるおそ れがあります。
12
Page 15
3. 短絡がなく、すべてのケーブルが良好な状態であることを 確認してください。損傷したケーブルは決して使用しない でください。
4. 本製品は、本書記載の各仕様(電圧、電流、温度など)を 厳守してご使用ください。そうしないと製品寿命が短くな り、また製品に修復不能な損傷が発生するおそれもありま す。
5. ボード OLED を、静電気や物理的損傷から保護する対策を 取ってください。
6. 常にボード OLED を清潔に保ってください。そうしないと 短絡が発生したり、ボード OLED の性能が低下したりする ことがあります。
7. ボード OLED のチップに手を触れないでください。静電気 が発生してボード OLED が損傷したり、性能が低下したり するおそれがあります。
8. 火炎、煙、異臭などの異常を検知した場合は、速やかにボ ード OLED を電源から取り外してください。
はじめに
このボード OLED RoboMaster 開発ボード タイプ A およ びタイプ B に合わせて調整されており、解像度128 × 64 244mm OLED スクリーンと 5D ボタンが装備されています。 スクリーンはパラメーターの表示に使用でき、ボタンはデバ ッグ時に非常に役立ちます。ボード OLED では、SH1106G 駆動チップと SPI 通信プロトコルが使用されています。
同梱物
JP
ボード OLED × 1 7 ピンケーブル× 1
着脱式 5D
ボタン × 1
13
Page 16
概要
1
JP
1. 7 ピンポート
左から右へ:BUTTON ADSPI2 MOSISPI2-SCK
OLED-DCOLEDRSTGNDVCC-3V3
2. OLED スクリーン
3. 5D ボタンの取り付け穴
付属の 5D ボタンをこの取り付け穴に挿入し、押して固定
させます。5D ボタンは、取り付けると5 方向に動かすこ とができます(上下左右と押し下げ)。詳しくは「5Dボタン」 の項を参照してください。
ボード OLED の取り付け
ボード OLED の取り付けの際は、下図の寸法を参照してく ださい。
14
2
3
Page 17
37.50
3.50
32
40
45.50
単位:mm
使用方法
付属の7 ピンケーブルを使用して、ボード OLED RoboMaster 開発ボード タイプ A またはタイプ B に接続し てください。サンプルコードを見つけるには、http://github. com/RoboMaster にアクセスしてください。
詳細については、QR コードをスキャンするか、 https://www.robomaster.com/en-US/products/components/ general/development-board#downloads にアクセスして、
RoboMaster 開発ボード・ユーザー・マニュアル』をダウ ンロードしてご確認ください。
JP
15
Page 18
5D ボタン
5D ボタンは GPIO ピンにより駆動チップに接続されていま す。下の表は、各ボタン位置におけるボタンの抵抗と、対応 するピン電圧を示しています。
動作 抵抗(Ω) 電圧(V) 12 ビット
押し下げる 0 0 0
JP
左に押す 26.1 0.68 847.78 右に押す 73.2 1.39 7131.10 上に押す 150 1.98 2457.60 下に押す 402 2.64 3280.06
仕様
定格電圧 3.3V 最大動作電流 10mA 通信プロトコル SPI ボタン 5D ボタン 重量 9g 寸法(長さ×幅) 37 × 45mm
OLED 画面解像度 128 × 64 OLED 画面サイズ 244mm 動作環境温度 0 55
付録
RoboMaster 開発ボード OLED データシート』をダウンロ ードするには、https://www.robomaster.com/en-US/products/ components/online/developmentboard#downloads にアクセス してください。
16
Page 19
R2
0402
0402
0402
33K
1%R40R
5%R610M
1%
3
7
9
MT1
MT3
0.0
COM
MT2
MT4
D
8
10
6
5
R7 100K
0402 1%
0402 1%
0402 1%
VCC_3V3
R5 10K
C7
100nF
25V
0402
R8 0R
0402 5%
Button_ADButton_AD
A1CEN2C
B
4
R3 309K
Button_AD
J3
JP
5D ボタン回路図
100K
Button_AD
17
Page 20
WWW.ROBOMASTER.COM
and are trademarks of DJI.
Copyright © 2018 DJI All Rights Reserved.
是大疆创新的商标。
Copyright © 2018 大疆创新 版权所有
Printed in China.
中国印制
YC.BZ.SS000452.01
Loading...