SlideShare uma empresa Scribd logo
1 de 8
【G6】(できなかった) ライトニングトーク 
「折角だから別のモノも繋いでみようか」 
富永英明(a.k.a. DEKO) 
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。
AE-UM232R があるなら… 
• AE-UM232R の他に10KΩ の半固定抵抗があれば 
Bit Bang Mode でLCD をコントロールできる。 
• 今回使ったLCD はバックライト付きで 
3.3V 駆動のもの(素直に5V のを買っとけばいいのに…)。 
SC1602BBWB-XA-LB-G 
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。2
配線(電源とコントラスト) 
1 3 
DB7 
DB5 
DB3 
DB1 
FT232RL 
R/W はGND に 
落としています 
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。3 
DB6 
DB4 
DB2 
DB0 
Vo 
VDD 
RS 
VSS 
R/W 
E 
GND 
TXD (D0) 
CB0 
DTR# (D4) 
CB1 
RTS# (D2) 
VCC 
VIO 
RESET# 
RXD (D1) 
3V3 
RI# (D7) 
CB3 
GND 
PU1 
DSR# (D5) 
PU2 
DCD# (D6) 
VCC 
CTS# (D3) 
USB 
CB4 
SLD 
CB2 
AE-UM232R 
LCD は3.3V 駆動のものを 
使っています 
VR (10KΩ)
FT232RL 
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。4 
DB6 
DB4 
DB2 
DB0 
Vo 
VDD 
DB7 
DB5 
DB3 
DB1 
RS 
VSS 
R/W 
E 
GND 
TXD (D0) 
CB0 
DTR# (D4) 
CB1 
RTS# (D2) 
VCC 
VIO 
RESET# 
RXD (D1) 
3V3 
RI# (D7) 
CB3 
GND 
PU1 
DSR# (D5) 
PU2 
DCD# (D6) 
VCC 
CTS# (D3) 
USB 
CB4 
SLD 
CB2 
AE-UM232R 
配線(信号線) 
4bit 転送 
モード用の 
接続です
ライブラリは… 
• 『昼夜逆転』工作室さんにC# 用の 
LCD 制御ライブラリが(^o^)/ 
http://jsdiy.web.fc2.com/ft232_2lcd/ 
• Delphi やってりゃC# からの移植なんて楽勝!! 
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。5 
楽勝、楽勝!!
LCD 制御ライブラリ 
(TLCDCtrl) 
FTDI class library for 
Delphi (TFTDIChip) 
D2XX ドライバ 
Windows 
何か 
(用意してない) 
D2XX ドライバ 
OS X 
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。6 
何か 
(用意してない) 
J2XX ドライバ 
android 
Bit Bang 関連を全部イチから書いてみたいけど 
そんな余裕はないんだぜ。
LCD Control デモ 
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。7
CGRAM 
• SC1602B の0x00~0x07 はフォントを書き換える事ができる。 
• 0x08~0x0F は0x00~0x07 と同じになる。 
• 「PCG みたいなもの」と言えば解りやすいか。 
• 定義はDefChar() またはDefCharVertical() で行う。 
LCD.DefChar() LCD.DefCharVertical() 
--------------------- --------------------- 
最大8要素のバイト配列最大5要素のバイト配列 
--------------------- --------------------- 
B[0] ___□■■■□ bit0 ___□■■■□ 
B[1] ___■■■■■ bit1 ___■■■■■ 
B[2] ___■□■□■ bit2 ___■□■□■ 
B[3] ___■■■■■ bit3 ___■■■■■ 
B[4] ___■■■■■ bit4 ___■■■■■ 
B[5] ___■□■□■ bit5 ___■□■□■ 
B[6] ___□□□□□ bit6 ___□□□□□ 
B[7] ___□□□□□ bit7 ___□□□□□ 
B[4] 
B[3] 
B[2] 
B[1] 
B[0] 
Bit0 
Bit1 
Bit2 
Bit3 
Bit4 
本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。8

Mais conteúdo relacionado

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

折角だから別のモノも繋いでみようか

  • 1. 【G6】(できなかった) ライトニングトーク 「折角だから別のモノも繋いでみようか」 富永英明(a.k.a. DEKO) 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。
  • 2. AE-UM232R があるなら… • AE-UM232R の他に10KΩ の半固定抵抗があれば Bit Bang Mode でLCD をコントロールできる。 • 今回使ったLCD はバックライト付きで 3.3V 駆動のもの(素直に5V のを買っとけばいいのに…)。 SC1602BBWB-XA-LB-G 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。2
  • 3. 配線(電源とコントラスト) 1 3 DB7 DB5 DB3 DB1 FT232RL R/W はGND に 落としています 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。3 DB6 DB4 DB2 DB0 Vo VDD RS VSS R/W E GND TXD (D0) CB0 DTR# (D4) CB1 RTS# (D2) VCC VIO RESET# RXD (D1) 3V3 RI# (D7) CB3 GND PU1 DSR# (D5) PU2 DCD# (D6) VCC CTS# (D3) USB CB4 SLD CB2 AE-UM232R LCD は3.3V 駆動のものを 使っています VR (10KΩ)
  • 4. FT232RL 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。4 DB6 DB4 DB2 DB0 Vo VDD DB7 DB5 DB3 DB1 RS VSS R/W E GND TXD (D0) CB0 DTR# (D4) CB1 RTS# (D2) VCC VIO RESET# RXD (D1) 3V3 RI# (D7) CB3 GND PU1 DSR# (D5) PU2 DCD# (D6) VCC CTS# (D3) USB CB4 SLD CB2 AE-UM232R 配線(信号線) 4bit 転送 モード用の 接続です
  • 5. ライブラリは… • 『昼夜逆転』工作室さんにC# 用の LCD 制御ライブラリが(^o^)/ http://jsdiy.web.fc2.com/ft232_2lcd/ • Delphi やってりゃC# からの移植なんて楽勝!! 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。5 楽勝、楽勝!!
  • 6. LCD 制御ライブラリ (TLCDCtrl) FTDI class library for Delphi (TFTDIChip) D2XX ドライバ Windows 何か (用意してない) D2XX ドライバ OS X 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。6 何か (用意してない) J2XX ドライバ android Bit Bang 関連を全部イチから書いてみたいけど そんな余裕はないんだぜ。
  • 7. LCD Control デモ 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。7
  • 8. CGRAM • SC1602B の0x00~0x07 はフォントを書き換える事ができる。 • 0x08~0x0F は0x00~0x07 と同じになる。 • 「PCG みたいなもの」と言えば解りやすいか。 • 定義はDefChar() またはDefCharVertical() で行う。 LCD.DefChar() LCD.DefCharVertical() --------------------- --------------------- 最大8要素のバイト配列最大5要素のバイト配列 --------------------- --------------------- B[0] ___□■■■□ bit0 ___□■■■□ B[1] ___■■■■■ bit1 ___■■■■■ B[2] ___■□■□■ bit2 ___■□■□■ B[3] ___■■■■■ bit3 ___■■■■■ B[4] ___■■■■■ bit4 ___■■■■■ B[5] ___■□■□■ bit5 ___■□■□■ B[6] ___□□□□□ bit6 ___□□□□□ B[7] ___□□□□□ bit7 ___□□□□□ B[4] B[3] B[2] B[1] B[0] Bit0 Bit1 Bit2 Bit3 Bit4 本文書の一部または全部の転載を禁止します。本文書の著作権は、著作者に帰属します。8