Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
MY
Uploaded by
Masawo Yamazaki
PDF, PPTX
737 views
みんなのM5Stack自慢大会_山崎
M5Stack Serial LCDライブラリ Kimwipe Stack
Engineering
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download as PDF, PPTX
1
/ 17
2
/ 17
3
/ 17
4
/ 17
5
/ 17
6
/ 17
7
/ 17
8
/ 17
9
/ 17
10
/ 17
11
/ 17
12
/ 17
13
/ 17
14
/ 17
15
/ 17
16
/ 17
17
/ 17
More Related Content
PDF
io tつくるよ! LT [m5stackの拡張基板をつくったよ!」
by
Masawo Yamazaki
PPTX
M5Stackの拡張基板を作ってjimmyに届けた話
by
Masawo Yamazaki
PPTX
20190525 bto bbq_m5_stack_yamazaki
by
Masawo Yamazaki
PDF
20210612_分解のススメ#9_M5Stack互換機
by
Masawo Yamazaki
PPTX
M5Stackでプロトタイプしてデモ製品を試作した話
by
Dan Imagineer
PPTX
M5Stackで授業をやってみた
by
Junichi Akita
PPTX
M5Stackのシールドを作った話
by
Masawo Yamazaki
PDF
Androidの入力システム
by
magoroku Yamamoto
io tつくるよ! LT [m5stackの拡張基板をつくったよ!」
by
Masawo Yamazaki
M5Stackの拡張基板を作ってjimmyに届けた話
by
Masawo Yamazaki
20190525 bto bbq_m5_stack_yamazaki
by
Masawo Yamazaki
20210612_分解のススメ#9_M5Stack互換機
by
Masawo Yamazaki
M5Stackでプロトタイプしてデモ製品を試作した話
by
Dan Imagineer
M5Stackで授業をやってみた
by
Junichi Akita
M5Stackのシールドを作った話
by
Masawo Yamazaki
Androidの入力システム
by
magoroku Yamamoto
Similar to みんなのM5Stack自慢大会_山崎
PPTX
イチからはじめるUSB Host API
by
ksk sue
PDF
ものづくりプロジェクトII 一日でわかるArduino入門
by
Yoichi Yamazaki
PPTX
Androidとfpgaを高速fifo通信させちゃう
by
ksk sue
PDF
SerialScreen
by
Bizan Nishimura
PDF
Arduino入門
by
Junichi Minamino
PPTX
M5Stack用のつよつよ系負荷を駆動するUnit群(スイッチサイエンス年度末大感謝祭 240223)
by
Junichi Akita
PDF
Arduinoでプログラミングに触れてみよう 続編
by
Hiromu Yakura
PDF
201812020707 festa2018 M5Stack おうちハックLT
by
Masawo Yamazaki
イチからはじめるUSB Host API
by
ksk sue
ものづくりプロジェクトII 一日でわかるArduino入門
by
Yoichi Yamazaki
Androidとfpgaを高速fifo通信させちゃう
by
ksk sue
SerialScreen
by
Bizan Nishimura
Arduino入門
by
Junichi Minamino
M5Stack用のつよつよ系負荷を駆動するUnit群(スイッチサイエンス年度末大感謝祭 240223)
by
Junichi Akita
Arduinoでプログラミングに触れてみよう 続編
by
Hiromu Yakura
201812020707 festa2018 M5Stack おうちハックLT
by
Masawo Yamazaki
More from Masawo Yamazaki
PDF
分解のススメ 第14回 ローエンド中BT Audio SoC華BT Audio SoCLowEndChineseBTAudioSoC.pdf
by
Masawo Yamazaki
PDF
20220129 100均分解のススメ Part3
by
Masawo Yamazaki
PPTX
M5Stack User Meeting#5 -pcb design for cheap 3d printer-
by
Masawo Yamazaki
PDF
20210718 分解のススメ #11 ADP3338
by
Masawo Yamazaki
PDF
20210130 recommendations for_teardown#6
by
Masawo Yamazaki
PDF
20201226 NT札幌 何か作ってみたLT
by
Masawo Yamazaki
PDF
20200521 100均ガジェット分解のススメ
by
Masawo Yamazaki
PDF
M5 stickvand and_spresense_wi-fi add-on
by
Masawo Yamazaki
PPTX
20191101 cnx40 case_and_pcba
by
Masawo Yamazaki
PDF
20190415 m5stackugjp new_office
by
Masawo Yamazaki
PDF
札幌では梅澤無線が神
by
Masawo Yamazaki
PDF
Making a spresense Wi-Fi add-on board
by
Masawo Yamazaki
PDF
I made some more expansion board for M5Stack
by
Masawo Yamazaki
PPTX
M5Stack互換機を作った話
by
Masawo Yamazaki
PDF
M5Stack meetup #1 2018/05/14
by
Masawo Yamazaki
PDF
Yahoo!hack day onepark_20171210
by
Masawo Yamazaki
分解のススメ 第14回 ローエンド中BT Audio SoC華BT Audio SoCLowEndChineseBTAudioSoC.pdf
by
Masawo Yamazaki
20220129 100均分解のススメ Part3
by
Masawo Yamazaki
M5Stack User Meeting#5 -pcb design for cheap 3d printer-
by
Masawo Yamazaki
20210718 分解のススメ #11 ADP3338
by
Masawo Yamazaki
20210130 recommendations for_teardown#6
by
Masawo Yamazaki
20201226 NT札幌 何か作ってみたLT
by
Masawo Yamazaki
20200521 100均ガジェット分解のススメ
by
Masawo Yamazaki
M5 stickvand and_spresense_wi-fi add-on
by
Masawo Yamazaki
20191101 cnx40 case_and_pcba
by
Masawo Yamazaki
20190415 m5stackugjp new_office
by
Masawo Yamazaki
札幌では梅澤無線が神
by
Masawo Yamazaki
Making a spresense Wi-Fi add-on board
by
Masawo Yamazaki
I made some more expansion board for M5Stack
by
Masawo Yamazaki
M5Stack互換機を作った話
by
Masawo Yamazaki
M5Stack meetup #1 2018/05/14
by
Masawo Yamazaki
Yahoo!hack day onepark_20171210
by
Masawo Yamazaki
みんなのM5Stack自慢大会_山崎
1.
M5Stack Serial LCDライブラリ と Kimwipe
Stack 2020/07/14 @tomorrow56 Masawo Yamazaki みんなのM5Stack自慢大会
2.
Masawo Yamazaki (@tomorrow56) -
ハードウエア設計エンジニア - 現在の仕事は半導体の評価 Facebook: Masawo Yamazaki Twitter: @tomorrow56
3.
「ThousanDIY」という名前でM5Stackの自作モジュールを スイッチサイエンスさんで委託販売してます https://www.switch-science.com/catalog/list/1045/
4.
M5Stack Serial LCDライブラリ •概要 •
M5StackをSerial2経由の外部ディスプレイとして使うArduinoIDE用ライブラリ • M5StackのM5.Lcd系の描画コマンドの「主要なもの」をサポート • 元々SPRESENSE用にM5StackのLCDが共用したい!というのが目的 • やっていることはシンプルなので他のボードでも動く(はず)
5.
M5Stack Serial LCDライブラリ •アピールポイント •M5Stack(LCD)のスケッチとマイコン側の描画ライブラリのペア •ライブラリの関数はTFT-eSPIと(出来るだけ)互換 •スケッチの最初の定義を書き換えればOK #include
"SerialTFT.h" SerialTFT tft = SerialTFT(); void setup() { tft.begin(921600); tft.setRotation(1); tft.fillScreen(TFT_BLACK);
6.
M5Stack Serial LCDライブラリ •
サポートするコマンド(描画系1) void drawPixel(int16_t x, int16_t y, uint16_t color); void drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color); void drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color); void drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color); void drawCircleHelper(int16_t x0, int16_t y0, int16_t r, uint8_t cornername,uint16_t color); void drawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color); void drawRoundRect(int16_t x0, int16_t y0, int16_t w, int16_t h, int16_t radius, uint16_t color); void drawChar(uint16_t x, uint16_t y, char c, uint16_t color, uint16_t bg, uint8_t size); void drawFastHLine(int32_t x, int32_t y, int32_t w, uint32_t color); void drawFastVLine(int32_t x, int32_t y, int32_t h, uint32_t color);
7.
M5Stack Serial LCDライブラリ •
サポートするコマンド(描画系2) void fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color); void fillScreen(uint16_t color); void fillCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color); void fillCircleHelper(int16_t x0, int16_t y0, int16_t r, uint8_t cornername,int16_t delta, uint16_t color); void fillTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color); void fillRoundRect(int16_t x0, int16_t y0, int16_t w, int16_t h, int16_t radius, uint16_t color);
8.
M5Stack Serial LCDライブラリ •
サポートするコマンド(テキスト系) void setCursor(uint16_t x0, uint16_t y0); void setTextColor(uint16_t color); void setTextColor(uint16_t color, uint16_t backgroundcolor); void setTextSize(uint8_t size); void setTextWrap(boolean w); void print(String text); void println(String text); void println(); void drawCentreString(String text, int dX, int poY, int font); void drawRightString(String text, int dX, int poY, int font);
9.
M5Stack Serial LCDライブラリ •サポートするコマンド(設定・その他) void
begin(int baud); void setBrightness(int8_t brightness); void setRotation(int angle); uint16_t color565(uint8_t r, uint8_t g, uint8_t b); uint8_t color16to8(uint16_t c); uint16_t color8to16(uint8_t color); void progressBar(int x, int y, int w, int h, uint8_t val); void qrcode(String text, uint16_t x, uint16_t y, uint8_t width, uint8_t version);
10.
M5Stack Serial LCDライブラリ •M5Stack(LCD側)でやっていること void
LcdString(String drawCommand){ String outChar = ""; if(drawCommand.startsWith("fillScreen(")){ uint16_t lcdColor = 0; outChar = drawCommand.substring(10); outChar = extractString(outChar); M5.Lcd.fillScreen(String2Color(outChar)); } if(Serial2.available()) { int ch = Serial2.read(); if(ch == 0x0a){ }else{ readChar = readChar + (char)ch; } if(ch == 0x0d){ if(readChar.startsWith("M5.Lcd.")){ LcdString(readChar.substring(7)); } readChar = ""; }
11.
M5Stack Serial LCDライブラリ •
マイコン側のライブラリでやっていること void SerialTFT::fillScreen(uint16_t color){ Serial2.println("M5.Lcd.fillScreen(" + String(color, HEX) + ")"); delay(comInterval); }
12.
M5Stack Serial LCDライブラリ •
SPRESENSEを内蔵するモジュールを作成して動作確認
13.
M5Stack Serial LCDライブラリ •動作デモ https://youtu.be/9s_0lO3eZhU
14.
M5Stack Serial LCDライブラリ <ライブラリ> https://github.com/tomorrow56/SerialTFT <SPRESENSE用のブログ> https://thousandiy.wordpress.com/…/spresense-to-m5stack-ad…/
15.
Kimwipe Stack 最初に買ったM5Stackの本体が劣化して割れたので、キムワイプのシールで保護 えむふぁいぶ->きむわいぷ と何となく語呂もあっている
16.
Kimwipe Stack キムワイプの箱の展開図は以下にあります。怒られたら消します。 https://bit.ly/3eucfPA
17.
Have a good
time with M5Stack
Download